FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 10-21-2008, 04:08 AM
Roy Wright
 
Default preserved lib question

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
 
Old 10-21-2008, 06:04 AM
"Paul Hartman"
 
Default preserved lib question

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
 

Thread Tools




All times are GMT. The time now is 02:01 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org