Summary: | depclean cleans away package that are both in the world file and in package.provided | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Joe Kappus <joe> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | VERIFIED INVALID | ||
Severity: | major | CC: | betelgeuse |
Priority: | Highest | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output of emerge -p depclean -d
world |
Description
Joe Kappus
2005-10-16 14:52:20 UTC
Created attachment 70818 [details]
output of emerge -p depclean -d
Created attachment 70820 [details]
world
world file
You should remove x11-libs/wxGTK from the wourld file since it's not helping anyway. You might do "quickpkg x11-libs/wxGTK", unmerge it, and see if "emerge -p world" tries to remerge it. If so, then this looks like a duplicate of bug 67179. Do you have x11-libs/wxGTK in package.provided? I found this same issue. It seems that depclean wants to remove a package if it is listed in both the world file and in package.provided. yeah, it was in package.provided, if noone has any objections, i'll close this tommorow. That is unless this should still be considered an issue and filed under another name. I think renaming the bug is better. IMHO I think this is not the correct behaviour but the portage devs can of course disagree with me on this. It would seem to be correct behaviour to me. Portage is told that a certain package is being managed externally. Portage is asked to remove any unnecessary packages that _it_ has installed. Portage removes the package that it has installed that is now being maintained externally. logical enough, this one is being closed (In reply to comment #8) > It would seem to be correct behaviour to me. Portage is told that a certain > package is being managed externally. Portage is asked to remove any > unnecessary packages that _it_ has installed. Portage removes the package that > it has installed that is now being maintained externally. > But portage is also told via the world file that the package is installed with emerge. IMHO the world file should take presedence over the package.provided file. Well I came up with another solution to this problem. betelgeuse@pena ~ $ emerge -Cp xorg-x11 >>> These are the packages that I would unmerge: x11-base/xorg-x11 selected: 7.0.0_rc1 protected: none omitted: none Let's add a reason field: reason: In package.provided Nothing depends on the package: reason: Not in the world file Something depends on the package: reason: Not depended by anything in the world file. And of course reason: Specified on the command line. Well this feature request calls for another bug so this can stay closed if you like so. yeah, that really doesn't fit this context... if you think it should be changed, add a feature request bug. |