acheron2 Tux's lil' helper
Joined: 17 Jan 2007 Posts: 106
|
Posted: Sun Dec 13, 2009 5:52 am Post subject: [solved]Cannot remove preserved lib /lib64/libblkid.so |
|
|
After an update several preserved libraries were left. Since rebuilding the respective programs caused several errors at first, I launched rebuilds manually. After all the problematic packages (openoffice, virtualbox, etc.) were dealt with, only 2 seemed to have remained:
Code: | # emerge -pv @preserved-rebuild
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/util-linux-2.16.1 USE="crypt nls perl slang unicode -loop-aes -old-linux (-selinux) (-uclibc)" 0 kB
[ebuild R ] sys-fs/e2fsprogs-1.41.9 USE="nls" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
|
I re-ran it without --pretend. Both packages were re-emerged. But in the end I got:
Code: |
!!! existing preserved libs:
>>> package: sys-libs/e2fsprogs-libs-1.41.9
* - /lib64/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 8 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
|
And next emerge -v @preserved-rebuild results in reemerging of the same two packages.
What's wrong? Why does portage keep this library? What should I do to reinstall sys-apps/util-linux and sys-fs/e2fsprogs correctly?
Portage version 2.2_rc58.
Update: Got the answer from forum.gentoo.ru. Looks like sys-apps/util-linux and sys-fs/e2fsprogs build against preserved version of /lib64/libblkid.so rather than a new one. There are multiple closed entries in bugzilla for earlier versions.
As http://www.gentoo.org/proj/en/portage/doc/faq.xml#doc_chap1_sect5 suggests, I solved the problem with Code: | emerge -C sys-libs/e2fsprogs-libs && emerge -v1 sys-apps/util-linux sys-libs/e2fsprogs-libs sys-fs/e2fsprogs |
|
|