Summary: | revdep-rebuild -X doesn't only pass name (also passes version) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Joe Millenbach <jmillenbach> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kanelxake |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Joe Millenbach
2006-05-28 22:46:47 UTC
Not a bug, this is the correct behaviour, and has always been as far as I can recall. '-X' implies installing the best available version of that package, but it will still emerge by version number regardless of whether '-X' is used or not. Example: I have games-emulation/xmame-0.102 built with +arts, but has since broken when kde-base/arts was unmerged. # revdep-rebuild -p -v All prepared. Starting rebuild... emerge --oneshot -p -v =games-emulation/xmame-0.102 # revdep-rebuild -X -p -v All prepared. Starting rebuild... emerge --oneshot -p -v =games-emulation/xmame-0.105 To further illustrate, your command line "emerge --oneshot =pmount-0.9.9" as returned by "revdep-rebuild -X" is correct. revdep-rebuild has chosen to install the latest/best version of pmount, in this case 0.9.9 (as unmasked by you). Then why are they listed as synonyms if they aren't? "# revdep-rebuild --help Usage: /usr/bin/revdep-rebuild [OPTIONS] [--] [EMERGE_OPTIONS] Broken reverse dependency rebuilder. -X, --package-names Emerge based on package names, not exact versions ..." (In reply to comment #2) > Then why are they listed as synonyms if they aren't? Eh? What's listed as synonyms? The text I had included above was from the tool's own --help. It lists both options on the same line with a single description of "Emerge based on package names, not exact versions". The behavior that you are seeing is correct. revdep-rebuild by default tries to re-emerge the exact version that is installed. When you use -X or --package-names, it internally uses portage to determine the best version available based upon the package name. Once it determines the best version, it explicity uses that version for the emerge command. *** Bug 168218 has been marked as a duplicate of this bug. *** |