Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACCEPT_KEYWORDS="~arch" and depclean
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ibrandt
n00b
n00b


Joined: 13 Sep 2002
Posts: 24

PostPosted: Wed Nov 13, 2002 5:10 pm    Post subject: ACCEPT_KEYWORDS="~arch" and depclean Reply with quote

Not sure if this is a bug or a feature, but depclean does not seem to want to play well with merged unstable packages. I merged shorewall, which depends on iproute, and you can see from the output below that depclean doesn't recognize this dependency. Now if I run depclean with the accept variable, iproute is respected, but fontconfig shows up for removal, and that has tons of major dependencies.


Code:
# emerge -p depclean

[snip...]

>>> These are the packages that I would unmerge:

 media-libs/nas
    selected: 1.5
   protected: none
     omitted: none

 media-sound/lame
    selected: 3.92
   protected: none
     omitted: none

 media-sound/alsa-driver
    selected: 0.9.0_rc2
   protected: none
     omitted: none

 media-libs/alsa-lib
    selected: 0.9.0_rc2
   protected: none
     omitted: none

 sys-apps/iproute
    selected: 20010824-r2
   protected: none
     omitted: none

[snip...]

# ACCEPT_KEYWORDS="~x86" emerge -p depclean

>>> These are the packages that I would unmerge:

 media-libs/nas
    selected: 1.5
   protected: none
     omitted: none

 media-sound/lame
    selected: 3.92
   protected: none
     omitted: none

 media-libs/fontconfig
    selected: 2.0-r3
   protected: none
     omitted:none

 media-sound/alsa-driver
    selected: 0.9.0_rc2
   protected: none
     omitted: none

 media-libs/alsa-lib
    selected: 0.9.0_rc2
   protected: none
     omitted: none

[snip...]
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Wed Nov 13, 2002 7:27 pm    Post subject: Reply with quote

I haven't used the function and it has a HUGE disclaimer, but I just tried it and it would want me to remove glut, while there's a packages on my system that depends on it
Code:
find /var/db/pkg -iname "rdepend" -exec grep -iH glut {} ';'

did find a package called gle depending on virtual/gle.

Also I use a script that compares the installed packages with the packages that would be emerged with emerge -pe world (clean install), and this finds nothing to clean / remove / upgrade. Although I hope depclean takes runtime depends and not build depends into acount (my script doesn't cuase it compares to emerge -p -e world) still it shouldn't remove glut.

But I think it has potential and will work in the future,

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum