I've just noticed (got bitten with it an hour ago) how sometimes emerge either breaks when emerging new packages, or the package has an error in it, and doesn't update symlinks properly. (In my case libpng.) Whilst the new packages can be fixed, unless you do a complete reinstall/rebuild of your machine regularly, you're likely to have a few obsolete links pointing to files that have been 'emerge clean'ed away, which are likely to bite you at inconvenient times. Perhaps it would be useful to have either an option on `emerge clean` or do it by default, that works similarly to the configuration protection feature, but instead warning at the end when a link has potentially broken. Perhaps a more 'prettied' version of this: find / -xdev -follow 2>&1 >/dev/null |less Or more specifically (and will probably miss a few files) this: foreach $package in @packages_cleaned find / -xdev -iname '*$package*' -follow 2>&1 >/dev/null |less Just a few thoughts. And an incidental "Nice work!" *grin* This portage system is _very_ nifty.
Hrm. Portage 2.0.34 unmerges any dead symlinks it installed along with the package. That's about all we can do :)