Summary: | revdep-rebuild doesn't rebuild when it should | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Blu3 <david+gentoo.org> |
Component: | [OLD] Core system | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | patrizio.bassi |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Blu3
2004-01-02 08:30:39 UTC
Further discovery in this process.. I've found that the lost links belong files of packages that gentoo thinks aren't installed anymore. So far I've found two messed up sets. PostgreSQL is installed and it's current libraries are 3.1, but there are 3.0 files remaining. qpkg doesn't list any dupes for pgsql so these appear to be orphaned. I've manually removed them. Next, exif-gtk which exif is linked with. The libraries and headers are installed, but gentoo thinks that exif-gtk isn't installed. I'm rebuilding exif and exif-gtk now. Does somebody have some tools or methods to find and remove or rebuild all of these orphans? to be honest, if what you say is the case (all the files have been orphaned), then from a portage stand point, there aint much you can do just rm them and/or re-emerge them and move on ;) I've come across a -lot- of files in the last few hours that have been orphaned from old packages or packages that I know -I- installed but gentoo thinks they aren't installed. A few idle questions that should be addressed for system integrity. a) how are files becoming orphaned? b) how are packages becoming lost? c) how can these files and packages be identified as 'broken' for re-inclusion or removal? If there exists a hidden problem in the system, we should try to keep an eye out for it now to identify and fix it. As more time goes by, the system will just get more complex and make such things harder to find and fix. Do any of the developers have scripts or tools for going through the whole system and doing integrity checks? Verifying: a) databases b) existing files that appear orphaned c) non-existing files that should be on the system d) packages that should be removed or reinstalled qpkg in gentoolkit will do a md5 check on installed files portage wont uninstall a file if it has changed md5s or mtimes *** Bug 100207 has been marked as a duplicate of this bug. *** Closing CANTFIX, we can't rebuild something portage has no knowledge about (e.g. orphaned files) and removal of cruft is not revdep-rebuild's task. |