Yep, it rebuilds packages with broken binaries.jsmaye wrote:Running revdep-rebuild yields a number of broken links. I had originally thought that just running revdep-rebuild would fix them, but apparently not - the same errors on consecutive runs show up. Am I wrong in thinking that revdep-rebuild <rebuilds> the dependancies? If not, what does?
Code: Select all
equery belongs <filename>It depends. It will try to fix what it can.jsmaye wrote:Well, now, which is it? I've gotten two contradictory replies.![]()
Does revdep-rebuild fix the errors it finds or do I?
As do I, especially during large updates, or after a particularly nasty --depclean.sageman wrote:Revdep-rebuild will try to re-emerge packages to fix broken binaries. However, if those binaries belong to packages which have alreadly been unmerged, or, packages which no longer are in portage, it will fail.
I use revdep-rebuild to find what is reported as "broken". These "broken" files, I then run through equery belongs, and if they don't belong to anything, I delete them.
I never just run revdep-rebuild, it's always with "--pretend", and I look at the ~/.revdep* files to diagnosis what's going on.
Depends.jsmaye wrote:Does revdep-rebuild fix the errors it finds or do I?