I've noticed when using revdep-rebuild that it will use the .revdep-rebuild.* files in /root, even when those files are potentially months old. Generally, I do something like this: revdep-rebuild -p That often lists vmware, or openoffice-bin on my system, both of which I know are pointless to reinstall. If openoffice-bin is the only one in the list, I don't run revdep-rebuild without -p, and so the .revdep-* files aren't deleted. The problem is that if I come back a month later and run it with -p again, it doesn't scan anything and just uses the .revdep-* files, even though my system could be drastically different from what it was a month ago. The fix for this is simple - just ignore the .revdep-rebuild.* files if they are more than 24 hours old. I've created a patch against the revdep-rebuild that comes with gentoolkit-0.1.36 that checks the time of the files and doesn't use them if they are more than a day old - changing the 1 day timeout is a matter of simply changing the value of the TOO_OLD variable near the beginning. The patch also includes a couple of indenting fixes where if statements weren't indented.
Created attachment 21047 [details, diff] revdep-rebuild patch to check for stale .revdep-rebuild.* files (This is a repeat of the initial bug report, but with wrapped lines): I've noticed when using revdep-rebuild that it will use the .revdep-rebuild.* files in /root, even when those files are potentially months old. Generally, I do something like this: revdep-rebuild -p That often lists vmware, or openoffice-bin on my system, both of which I know are pointless to reinstall. If openoffice-bin is the only one in the list, I don't run revdep-rebuild without -p, and so the .revdep-* files aren't deleted. The problem is that if I come back a month later and run it with -p again, it doesn't scan anything and just uses the .revdep-* files, even though my system could be drastically different from what it was a month ago. The fix for this is simple - just ignore the .revdep-rebuild.* files if they are more than 24 hours old. I've created a patch against the revdep-rebuild that comes with gentoolkit-0.1.36 that checks the time of the files and doesn't use them if they are more than a day old - changing the 1 day timeout is a matter of simply changing the value of the TOO_OLD variable near the beginning. The patch also includes a couple of indenting fixes where if statements weren't indented.
Assigned to non-devs - reassigning so these may be noticed.
Fix is in >gentoolkit-0.2.1_pre4
*** Bug 95274 has been marked as a duplicate of this bug. ***
Fixed in gentoolkit-0.2.1