View previous topic :: View next topic |
Author |
Message |
ibrandt n00b
Joined: 13 Sep 2002 Posts: 24
|
Posted: Wed Nov 13, 2002 5:10 pm Post subject: ACCEPT_KEYWORDS="~arch" and depclean |
|
|
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 |
|
|
lx Veteran
Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Wed Nov 13, 2002 7:27 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|