On Thu, Nov 12, 2009 at 7:14 AM, Mark Knecht <markkne...@gmail.com> wrote: > On Thu, Nov 12, 2009 at 6:58 AM, Alan McKinnon <alan.mckin...@gmail.com> > wrote: >> On Thursday 12 November 2009 16:43:15 Mark Knecht wrote: >>> So on one machine yesterday I did emerge -DuN @world which then >>> suggested the need for emerge @preserved-rebuild which I did over >>> night. This morning it was finished but suggested the need for a >>> second emerge @preserved-rebuild. As I don't need the machine right >>> now I kicked it off and will check it again later but I'm wondering >>> why in the world it needs to do this twice, compiling 52 packages the >>> first time and 50 packages the second time where most of the packages >>> in the first list were in the second list? >>> >>> Is this setting up for an endless loop? >>> >>> Most of the packages were part of Gnome or XFCE4. >> >> I've been answering this question a lot lately :-) >> >> Almost invariably it's an automagic dependency where the offending package is >> not in DEPEND. If you have been through the cycle at least once, it is safe >> to >> delete /var/lib/portage/preserved_libs_registry and continue on your way. >> >> A later revdep-rebuild will sort out any (highly unlikely) remaining issues >> >> -- >> alan dot mckinnon at gmail dot com > > Thanks Alan. I always tend to do a revdep-rebuild -i anyway. Not sure > if it's required but old habits die hard. > > Cheers, > Mark >
Again, thanks Alan. The second pass through finished up and the same offending package (apparently e2fsprogs-libs ?) was still listed so erasing the preserved_libs_registry file and using revdep-rebuild -i suggests that the machine is clean again. Cheers, Mark >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 122 info files. !!! existing preserved libs: >>> package: sys-libs/e2fsprogs-libs-1.41.9 * - /lib/libblkid.so * used by /bin/mount (sys-apps/util-linux-2.16.1) * used by /bin/umount (sys-apps/util-linux-2.16.1) * used by /sbin/blkid (sys-apps/util-linux-2.16.1) * used by 10 other files * - /lib/libuuid.so * used by /bin/mount (sys-apps/util-linux-2.16.1) * used by /bin/umount (sys-apps/util-linux-2.16.1) * used by /sbin/blkid (sys-apps/util-linux-2.16.1) * used by 362 other files Use emerge @preserved-rebuild to rebuild packages using these libraries gandalf ~ # rm /var/lib/portage/preserved_libs_registry gandalf ~ # revdep-rebuild -ip * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 100% ] * Dynamic linking on your system is consistent... All done. gandalf ~ # equery belongs /lib/libblkid.so [ Searching for file(s) /lib/libblkid.so in *... ] sys-libs/e2fsprogs-libs-1.41.9 (/lib/libblkid.so -> libblkid.so.1) gandalf ~ # equery belongs /lib/libuuid.so [ Searching for file(s) /lib/libuuid.so in *... ] sys-libs/e2fsprogs-libs-1.41.9 (/lib/libuuid.so -> libuuid.so.1) gandalf ~ #