Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Cc: Jarry <mr.jarry@×××××.com>
Subject: Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop?
Date: Tue, 08 Dec 2009 11:07:08
Message-Id: 4B1E3334.20801@optonline.net
In Reply to: Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? by Alan McKinnon
1 Alan McKinnon wrote:
2 > On Monday 07 December 2009 20:10:31 Jarry wrote:
3 >> Hi,
4 >> I update my server quite frequently without any problem, but
5 >> today after running "emerge -uDN world" I got these messages:
6 >>
7 >> -----
8 >>
9 >> !!! existing preserved libs:
10 >> >>> package: sys-libs/e2fsprogs-libs-1.41.9
11 >>
12 >> * - /lib64/libuuid.so
13 >> * used by /bin/mount (sys-apps/util-linux-2.16.1)
14 >> * used by /bin/umount (sys-apps/util-linux-2.16.1)
15 >> * used by /sbin/blkid (sys-apps/util-linux-2.16.1)
16 >> * used by 16 other files
17 >> * - /lib64/libblkid.so
18 >> * used by /bin/mount (sys-apps/util-linux-2.16.1)
19 >> * used by /bin/umount (sys-apps/util-linux-2.16.1)
20 >> * used by /sbin/blkid (sys-apps/util-linux-2.16.1)
21 >> * used by 8 other files
22 >> Use emerge @preserved-rebuild to rebuild packages using these libraries
23 >> -----
24 >>
25 >> So I did run "emerge @preserved-rebuild", but at the end
26 >> of it I got the very same messages. How can I solve this?
27 >
28 >
29 > An old version of e2fsprogs-libs provided some libs that the programs in util-
30 > linux linked to. Portage realised after updating e2fsprogs-libs that these
31 > libs are still in use so have not deleted them until everything using them no
32 > longer does. Sometimes it gets itself confused. Others report that running
33 > emerge @preserved-rebuild multiple times fixes it, but I'm not so sure. It
34 > think it's more a case of the various ld* utils don't do the right thing at
35 > the right time - just yesterday I had b0rked @preserved-rebuild output fix
36 > itself after a reboot with no extra emerging done.
37 >
38 > Try this:
39 >
40 > Run ldd on a few of the listed binaries using old libs, eyeball the output and
41 > apply brainpower, followed by:
42 >
43 > emerge -av1 util-linux
44 > emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs
45 >
46 > revdep-rebuild won't help you here, as the binaries are not broken. It will
47 > only confirm internal consistency once preserved-rebuild appears to have
48 > sorted itself out.
49 >
50 >
51 I have the same problem, but the "emerge -av1 util-linux" has blocking
52 issues with sys-fs/e2fsprogs. Whenever I remove sys-fs stuff I usually
53 regret it.
54
55 dhk

Replies

Subject Author
Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? Alan McKinnon <alan.mckinnon@×××××.com>