public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] preserved lib question
@ 2008-10-21  4:08 Roy Wright
  2008-10-21  6:04 ` Paul Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Roy Wright @ 2008-10-21  4:08 UTC (permalink / raw
  To: gentoo-user

Howdy,

I have some preserved libs that just don't want to go away.  I've ran
emerge @preserved-rebuild several times to no avail.  I think the
problem is with portage not recognizing that one of the libraries is
symbolically linked to the other.  Here they are:

!! existing preserved libs:
>>> package: kde-base/libplasma-4.1.2
 *  - /usr/lib/libplasma.so.2
 *  - /usr/lib/libplasma.so.2.0.0
 *      used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
 *      used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
 *      used by /usr/kde/4.1/bin/ksysguard (kde-base/ksysguard-4.1.2)
 *      used by 82 other files
>>> package: kde-base/libkcompactdisc-4.1.2
 *  - /usr/lib/libkcompactdisc.so.4
 *  - /usr/lib/libkcompactdisc.so.4.1.0
 *      used by /usr/kde/4.1/bin/amarok (media-sound/amarok-1.90-r1)
 *      used by /usr/kde/4.1/bin/kscd (kde-base/kscd-4.1.2)
 *      used by /usr/kde/4.1/lib/kde4/amarok_containment_context.so
(media-sound/amarok-1.90-r1)
 *      used by 28 other files
>>> package: kde-base/libkonq-4.1.2
 *  - /usr/lib/libkonq.so.5
 *  - /usr/lib/libkonq.so.5.1.0
 *      used by /usr/kde/4.1/bin/dolphin (kde-base/dolphin-4.1.2)
 *      used by /usr/kde/4.1/bin/keditbookmarks
(kde-base/keditbookmarks-4.1.2)
 *      used by /usr/kde/4.1/bin/konqueror (kde-base/konqueror-4.1.2)
 *      used by 15 other files
>>> package: kde-base/libkworkspace-4.1.2
 *  - /usr/lib/libkworkspace.so.4
 *  - /usr/lib/libkworkspace.so.4.1.0
 *      used by /usr/kde/4.1/bin/khotkeys (kde-base/khotkeys-4.1.2)
 *      used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
 *      used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
 *      used by 15 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries

 # ls -l /usr/lib/libplasma*
lrwxrwxrwx 1 root root      18 2008-10-20 01:58 /usr/lib/libplasma.so.2
-> libplasma.so.2.0.0
-rwxr-xr-x 1 root root 1563820 2008-10-11 09:39 /usr/lib/libplasma.so.2.0.0
 # ls -l /usr/lib/libkcompactdisc.*
lrwxrwxrwx 1 root root     24 2008-10-20 01:24
/usr/lib/libkcompactdisc.so.4 -> libkcompactdisc.so.4.1.0
-rwxr-xr-x 1 root root 100740 2008-10-11 09:15
/usr/lib/libkcompactdisc.so.4.1.0
 # ls -l /usr/lib/libkonq.*
lrwxrwxrwx 1 root root     16 2008-10-20 01:21 /usr/lib/libkonq.so.5 ->
libkonq.so.5.1.0
-rwxr-xr-x 1 root root 195888 2008-10-11 09:14 /usr/lib/libkonq.so.5.1.0
 # ls -l /usr/lib/libkworkspace.*
lrwxrwxrwx 1 root root    22 2008-10-20 01:21
/usr/lib/libkworkspace.so.4 -> libkworkspace.so.4.1.0
-rwxr-xr-x 1 root root 71620 2008-10-11 09:13
/usr/lib/libkworkspace.so.4.1.0

Any ideas on how to clean this up?

TIA,
Roy




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] preserved lib question
  2008-10-21  4:08 [gentoo-user] preserved lib question Roy Wright
@ 2008-10-21  6:04 ` Paul Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Hartman @ 2008-10-21  6:04 UTC (permalink / raw
  To: gentoo-user

On Mon, Oct 20, 2008 at 11:08 PM, Roy Wright <roy@wright.org> wrote:
> Howdy,
>
> I have some preserved libs that just don't want to go away.  I've ran
> emerge @preserved-rebuild several times to no avail.  I think the
> problem is with portage not recognizing that one of the libraries is
> symbolically linked to the other.  Here they are:
>
> !! existing preserved libs:
>>>> package: kde-base/libplasma-4.1.2
>  *  - /usr/lib/libplasma.so.2
>  *  - /usr/lib/libplasma.so.2.0.0
>  *      used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
>  *      used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
>  *      used by /usr/kde/4.1/bin/ksysguard (kde-base/ksysguard-4.1.2)
>  *      used by 82 other files
>>>> package: kde-base/libkcompactdisc-4.1.2
>  *  - /usr/lib/libkcompactdisc.so.4
>  *  - /usr/lib/libkcompactdisc.so.4.1.0
>  *      used by /usr/kde/4.1/bin/amarok (media-sound/amarok-1.90-r1)
>  *      used by /usr/kde/4.1/bin/kscd (kde-base/kscd-4.1.2)
>  *      used by /usr/kde/4.1/lib/kde4/amarok_containment_context.so
> (media-sound/amarok-1.90-r1)
>  *      used by 28 other files
>>>> package: kde-base/libkonq-4.1.2
>  *  - /usr/lib/libkonq.so.5
>  *  - /usr/lib/libkonq.so.5.1.0
>  *      used by /usr/kde/4.1/bin/dolphin (kde-base/dolphin-4.1.2)
>  *      used by /usr/kde/4.1/bin/keditbookmarks
> (kde-base/keditbookmarks-4.1.2)
>  *      used by /usr/kde/4.1/bin/konqueror (kde-base/konqueror-4.1.2)
>  *      used by 15 other files
>>>> package: kde-base/libkworkspace-4.1.2
>  *  - /usr/lib/libkworkspace.so.4
>  *  - /usr/lib/libkworkspace.so.4.1.0
>  *      used by /usr/kde/4.1/bin/khotkeys (kde-base/khotkeys-4.1.2)
>  *      used by /usr/kde/4.1/bin/krunner (kde-base/krunner-4.1.2)
>  *      used by /usr/kde/4.1/bin/ksmserver (kde-base/ksmserver-4.1.2)
>  *      used by 15 other files
> Use emerge @preserved-rebuild to rebuild packages using these libraries
>
>  # ls -l /usr/lib/libplasma*
> lrwxrwxrwx 1 root root      18 2008-10-20 01:58 /usr/lib/libplasma.so.2
> -> libplasma.so.2.0.0
> -rwxr-xr-x 1 root root 1563820 2008-10-11 09:39 /usr/lib/libplasma.so.2.0.0
>  # ls -l /usr/lib/libkcompactdisc.*
> lrwxrwxrwx 1 root root     24 2008-10-20 01:24
> /usr/lib/libkcompactdisc.so.4 -> libkcompactdisc.so.4.1.0
> -rwxr-xr-x 1 root root 100740 2008-10-11 09:15
> /usr/lib/libkcompactdisc.so.4.1.0
>  # ls -l /usr/lib/libkonq.*
> lrwxrwxrwx 1 root root     16 2008-10-20 01:21 /usr/lib/libkonq.so.5 ->
> libkonq.so.5.1.0
> -rwxr-xr-x 1 root root 195888 2008-10-11 09:14 /usr/lib/libkonq.so.5.1.0
>  # ls -l /usr/lib/libkworkspace.*
> lrwxrwxrwx 1 root root    22 2008-10-20 01:21
> /usr/lib/libkworkspace.so.4 -> libkworkspace.so.4.1.0
> -rwxr-xr-x 1 root root 71620 2008-10-11 09:13
> /usr/lib/libkworkspace.so.4.1.0
>
> Any ideas on how to clean this up?
>
> TIA,
> Roy

Check which files it is protecting:

portageq list_preserved_libs /

Then identify which package they belong to (equery f filename).
Manually delete the protected files, then emerge --oneshot the
packages they came from. That cleaned it up for me when a similar
thing happened a few weeks ago.

Paul



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-21  6:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21  4:08 [gentoo-user] preserved lib question Roy Wright
2008-10-21  6:04 ` Paul Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox