I have package x11-libs/wxGTK and depclean wants to unmerge it. There are two reasons it shouldn't be unmerging it. 1. It is in RDEPEND for wxpython and I have that merged. 2. It is specifically added into /var/lib/portage/world I will attach output of emerge -p depclean -d and my world file as requested by ferringb My emerge info: Portage 2.0.53_rc5 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-mm1 i686) ================================================================= System uname: 2.6.13-mm1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -mfpmath=sse -ffast-math -ftracer -fomit-frame-pointer -fweb -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -mfpmath=sse -ffast-math -ftracer -fomit-frame-pointer -fweb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib alsa avi bitmap-fonts cdr chroot crypt cups curl dbus divx4linux dvd dvdr emboss encode fam fbcon ffmpeg flac foomaticdb fortran gdbm gif glitz gpm gtk gtk2 imagemagick imlib ithreads jack java javascript jpeg kde kdeenablefinal libwww mad maildir matroska mmx motif mozilla mozinterfaceinfo mozp3p mozsvg mp3 mpeg mplayer mysql ncurses nptl nptlonly nvidia ogg oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline real rtc sdl spell sse sse2 ssl theora threads tiff truetype truetype-fonts type1-fonts userlocales vorbis win32codecs xine xml xml2 xv xvid xvmc zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL
Created attachment 70818 [details] output of emerge -p depclean -d
Created attachment 70820 [details] world world file
You should remove x11-libs/wxGTK from the wourld file since it's not helping anyway. You might do "quickpkg x11-libs/wxGTK", unmerge it, and see if "emerge -p world" tries to remerge it. If so, then this looks like a duplicate of bug 67179.
Do you have x11-libs/wxGTK in package.provided?
I found this same issue. It seems that depclean wants to remove a package if it is listed in both the world file and in package.provided.
yeah, it was in package.provided, if noone has any objections, i'll close this tommorow. That is unless this should still be considered an issue and filed under another name.
I think renaming the bug is better. IMHO I think this is not the correct behaviour but the portage devs can of course disagree with me on this.
It would seem to be correct behaviour to me. Portage is told that a certain package is being managed externally. Portage is asked to remove any unnecessary packages that _it_ has installed. Portage removes the package that it has installed that is now being maintained externally.
logical enough, this one is being closed
(In reply to comment #8) > It would seem to be correct behaviour to me. Portage is told that a certain > package is being managed externally. Portage is asked to remove any > unnecessary packages that _it_ has installed. Portage removes the package that > it has installed that is now being maintained externally. > But portage is also told via the world file that the package is installed with emerge. IMHO the world file should take presedence over the package.provided file. Well I came up with another solution to this problem. betelgeuse@pena ~ $ emerge -Cp xorg-x11 >>> These are the packages that I would unmerge: x11-base/xorg-x11 selected: 7.0.0_rc1 protected: none omitted: none Let's add a reason field: reason: In package.provided Nothing depends on the package: reason: Not in the world file Something depends on the package: reason: Not depended by anything in the world file. And of course reason: Specified on the command line. Well this feature request calls for another bug so this can stay closed if you like so.
yeah, that really doesn't fit this context... if you think it should be changed, add a feature request bug.