Summary: | revdep-rebuild take packages out of the world file | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Romary Sonrier <romary.sonrier> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge sl, then check world file, then emerge --oneshot sl, then check world file again. |
Description
Romary Sonrier
2005-08-13 13:38:55 UTC
Revdep-rebuild is used to rebuild currently installed programs when they are missing dependent libaries. --oneshot is used because if it is not used, all the dependencies that were broken get added to /var/lib/portage/world. This is bad, because it causes emerge --depclean to not function properly. All of those dependencies would have to be removed by hand, which defeats the whole point of portage not adding dependencies to the world file. Furthermore, if pkgA is installed ( emerge pkgA ) and then it is installed again with --oneshot ( emerge --oneshot pkgA ) then that package is not removed from / var/lib/portage/world, as illustrated by the attachmenet I will attach in a moment. Feel free to duplicate the behavior and if yours differs, to re-open the bug. Created attachment 65874 [details]
emerge sl, then check world file, then emerge --oneshot sl, then check world file again.
This should be correct behavior. Your are right, --onshot doesn't change worlde file... |