View previous topic :: View next topic |
Author |
Message |
swingarm l33t
Joined: 08 Jun 2002 Posts: 627 Location: Northern Colorado
|
Posted: Sun Mar 16, 2003 8:30 pm Post subject: Depclean Problem |
|
|
First look here for a setup of my problem. Now
or
Code: |
emerge --depclean -p
|
gives me these results:
Code: |
bash-2.05b# emerge -p depclean
*** WARNING *** : DEPCLEAN CAN SERIOUSLY IMPAIR YOUR SYSTEM. USE CAUTION.
*** WARNING *** : (Cancel: CONTROL-C) -- ALWAYS VERIFY ALL PACKAGES IN THE
*** WARNING *** : CANDIDATE LIST FOR SANITY BEFORE ALLOWING DEPCLEAN TO
*** WARNING *** : UNMERGE ANY PACKAGES.
*** WARNING *** :
*** WARNING *** : USE FLAGS MAY HAVE AN EXTREME EFFECT ON THE OUTPUT.
*** WARNING *** : SOME LIBRARIES MAY BE USED BY PACKAGES BUT ARE NOT
*** WARNING *** : CONSIDERED TO BE A DEPEND DUE TO USE FLAG SETTINGS.
*** WARNING *** :
*** WARNING *** : Packages in the list that are desired may be added
*** WARNING *** : directly to the world file to cause them to be ignored
*** WARNING *** : by declean and maintained in the future. BREAKAGES DUE
*** WARNING *** : TO UNMERGING AN IN-USE LIBRARIES MAY BE REPAIRED BY
*** WARNING *** : MERGING *** THE PACKAGE THAT COMPLAINS *** ABOUT THE
*** WARNING *** : MISSING LIBRARY.
Calculating depclean dependencies ... done!
>>> These are the packages that I would unmerge:
media-libs/mpeg-lib
selected: 1.3.1-r1
protected: none
omitted: none
media-gfx/gimp
selected: 1.2.3-r3
protected: none
omitted: none
dev-perl/XML-Writer
selected: 0.4-r2
protected: none
omitted: none
net-print/foomatic
selected: 2.0.0
protected: none
omitted: none
media-gfx/gimp-print
selected: 4.2.4
protected: none
omitted: none
x11-libs/fltk
selected: 1.1.2-r1
protected: none
omitted: none
net-www/mplayerplug-in
selected: 0.40
protected: none
omitted: none
dev-perl/Parse-RecDescent
selected: 1.80-r3
protected: none
omitted: none
app-misc/lirc
selected: 0.6.5
protected: none
omitted: none
media-libs/flac
selected: 1.0.4
protected: none
omitted: none
sys-apps/lm_sensors
selected: 2.6.5
protected: none
omitted: none
sys-apps/usbutils
selected: 0.11
protected: none
omitted: none
net-www/mozilla
selected: 1.3_beta
protected: none
omitted: none
dev-perl/ExtUtils-F77
selected: 1.14-r1
protected: none
omitted: none
net-www/epiphany-cvs
selected: 0.4.2.99-r1
protected: none
omitted: none
media-libs/libdvdnav
selected: 0.1.3
protected: none
omitted: none
media-libs/compface
selected: 1.4
protected: none
omitted: none
net-libs/openslp
selected: 1.0.9a
protected: none
omitted: none
net-firewall/shorewall
selected: 1.3.14
protected: none
omitted: none
net-www/galeon-cvs
selected: 20020908
protected: none
omitted: none
dev-perl/XML-Parser
selected: 2.31-r1
protected: none
omitted: none
dev-perl/gtk-perl
selected: 0.7008-r9
protected: none
omitted: none
gnome-base/gnome-print
selected: 0.35-r3
protected: none
omitted: none
media-sound/jack-audio-connection-kit
selected: 0.34.0-r2
protected: none
omitted: none
dev-python/pexpect
selected: 0.94
protected: none
omitted: none
media-libs/libsndfile
selected: 1.0.4
protected: none
omitted: none
media-video/kmplayer
selected: 0.7.2
protected: none
omitted: none
sys-apps/iproute
selected: 20010824-r2
protected: none
omitted: none
net-irc/xchat
selected: 2.0.1
protected: none
omitted: none
media-libs/ladspa-sdk
selected: 1.12
protected: none
omitted: none
media-sound/juk
selected: 1.0_p1
protected: none
omitted: none
sys-apps/hotplug
selected: 20020401-r1
protected: none
omitted: none
sys-apps/pciutils
selected: 2.1.10-r1
protected: none
omitted: none
dev-perl/PDL
selected: 2.3.2-r2
protected: none
omitted: none
>>> Packages in red are slated for removal.
>>> Packages in green will not be removed.
Packages installed: 389
Packages in world: 60
Packages in system: 73
Unique package names: 359
Required packages: 373
Number to remove: 34
|
Maybe I'm missing something here but it picked XChat(I use), Mozilla(I use), and mplayerplug-in(I use). Why did it pick programs that I'm currently using? I don't know why it tagged those(and others I don't immediately recognize) as unused deps. |
|
Back to top |
|
|
morbuz n00b
Joined: 27 Dec 2002 Posts: 9 Location: Norway
|
Posted: Sun Mar 16, 2003 9:23 pm Post subject: |
|
|
Because that what it's supposed to do, it shows you all pacakges not any other pacakages depend on.
If you don't want to unmerge them then don't |
|
Back to top |
|
|
Sven Vermeulen Retired Dev
Joined: 29 Aug 2002 Posts: 1345 Location: Mechelen, Belgium
|
Posted: Mon Mar 17, 2003 7:17 am Post subject: |
|
|
No, no, no, no, no... depclean will check all installed packages and see if they are mentioned in the world-file. If a package does, then it will *not* list it. If a package is a member of the dependency tree of another package that is listed in the world-file, then it will also *not* list it.
In other words, if depclean shows packages that you don't want removed, enter them in the world-file (/var/cache/edb/world). |
|
Back to top |
|
|
swingarm l33t
Joined: 08 Jun 2002 Posts: 627 Location: Northern Colorado
|
Posted: Mon Mar 17, 2003 7:34 am Post subject: |
|
|
Enter them manually? I'm thinking there has to be a better way to do this. |
|
Back to top |
|
|
greg_g Retired Dev
Joined: 02 Mar 2003 Posts: 180
|
Posted: Mon Mar 17, 2003 11:29 am Post subject: |
|
|
try
Code: | ACCEPT_KEYWORDS="~x86" emerge depclean -p |
as i suppose you're running unstable packages.
Otherwise depclean will consider only dependancies to the stable version of the installed packages. |
|
Back to top |
|
|
Attis SH n00b
Joined: 23 Feb 2003 Posts: 62 Location: Budapest, Hungary
|
Posted: Mon Mar 17, 2003 10:25 pm Post subject: |
|
|
swingarm wrote: | Enter them manually? I'm thinking there has to be a better way to do this. |
You have to add one or two lines to a simple text file. Do you really need a better way?
Anyway, the two lines to add to the file /var/cache/edb/world are:
Code: | net-www/mozilla
net-irc/xchat |
|
|
Back to top |
|
|
|