Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] preserved lib question
Date: Tue, 21 Oct 2008 06:04:11
Message-Id: 58965d8a0810202304v1481b25cr8c277a648e7d6a8d@mail.gmail.com
In Reply to: [gentoo-user] preserved lib question by Roy Wright
1 On Mon, Oct 20, 2008 at 11:08 PM, Roy Wright <roy@××××××.org> wrote:
2 > Howdy,
3 >
4 > I have some preserved libs that just don't want to go away. I've ran
5 > emerge @preserved-rebuild several times to no avail. I think the
6 > problem is with portage not recognizing that one of the libraries is
7 > symbolically linked to the other. Here they are:
8 >
9 > !! existing preserved libs:
10 >>>> package: kde-base/libplasma-4.1.2
11 > * - /usr/lib/libplasma.so.2
12 > * - /usr/lib/libplasma.so.2.0.0
13 > * used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
14 > * used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
15 > * used by /usr/kde/4.1/bin/ksysguard (kde-base/ksysguard-4.1.2)
16 > * used by 82 other files
17 >>>> package: kde-base/libkcompactdisc-4.1.2
18 > * - /usr/lib/libkcompactdisc.so.4
19 > * - /usr/lib/libkcompactdisc.so.4.1.0
20 > * used by /usr/kde/4.1/bin/amarok (media-sound/amarok-1.90-r1)
21 > * used by /usr/kde/4.1/bin/kscd (kde-base/kscd-4.1.2)
22 > * used by /usr/kde/4.1/lib/kde4/amarok_containment_context.so
23 > (media-sound/amarok-1.90-r1)
24 > * used by 28 other files
25 >>>> package: kde-base/libkonq-4.1.2
26 > * - /usr/lib/libkonq.so.5
27 > * - /usr/lib/libkonq.so.5.1.0
28 > * used by /usr/kde/4.1/bin/dolphin (kde-base/dolphin-4.1.2)
29 > * used by /usr/kde/4.1/bin/keditbookmarks
30 > (kde-base/keditbookmarks-4.1.2)
31 > * used by /usr/kde/4.1/bin/konqueror (kde-base/konqueror-4.1.2)
32 > * used by 15 other files
33 >>>> package: kde-base/libkworkspace-4.1.2
34 > * - /usr/lib/libkworkspace.so.4
35 > * - /usr/lib/libkworkspace.so.4.1.0
36 > * used by /usr/kde/4.1/bin/khotkeys (kde-base/khotkeys-4.1.2)
37 > * used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
38 > * used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
39 > * used by 15 other files
40 > Use emerge @preserved-rebuild to rebuild packages using these libraries
41 >
42 > # ls -l /usr/lib/libplasma*
43 > lrwxrwxrwx 1 root root 18 2008-10-20 01:58 /usr/lib/libplasma.so.2
44 > -> libplasma.so.2.0.0
45 > -rwxr-xr-x 1 root root 1563820 2008-10-11 09:39 /usr/lib/libplasma.so.2.0.0
46 > # ls -l /usr/lib/libkcompactdisc.*
47 > lrwxrwxrwx 1 root root 24 2008-10-20 01:24
48 > /usr/lib/libkcompactdisc.so.4 -> libkcompactdisc.so.4.1.0
49 > -rwxr-xr-x 1 root root 100740 2008-10-11 09:15
50 > /usr/lib/libkcompactdisc.so.4.1.0
51 > # ls -l /usr/lib/libkonq.*
52 > lrwxrwxrwx 1 root root 16 2008-10-20 01:21 /usr/lib/libkonq.so.5 ->
53 > libkonq.so.5.1.0
54 > -rwxr-xr-x 1 root root 195888 2008-10-11 09:14 /usr/lib/libkonq.so.5.1.0
55 > # ls -l /usr/lib/libkworkspace.*
56 > lrwxrwxrwx 1 root root 22 2008-10-20 01:21
57 > /usr/lib/libkworkspace.so.4 -> libkworkspace.so.4.1.0
58 > -rwxr-xr-x 1 root root 71620 2008-10-11 09:13
59 > /usr/lib/libkworkspace.so.4.1.0
60 >
61 > Any ideas on how to clean this up?
62 >
63 > TIA,
64 > Roy
65
66 Check which files it is protecting:
67
68 portageq list_preserved_libs /
69
70 Then identify which package they belong to (equery f filename).
71 Manually delete the protected files, then emerge --oneshot the
72 packages they came from. That cleaned it up for me when a similar
73 thing happened a few weeks ago.
74
75 Paul