Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Cannot remove preserved lib /lib64/libblkid.so
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
acheron2
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2007
Posts: 106

PostPosted: Sun Dec 13, 2009 5:52 am    Post subject: [solved]Cannot remove preserved lib /lib64/libblkid.so Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum