On my system 'emerge depclean' doesn't want to do anything thou I thought my system was clean. But I was wrong. Updating python today brang up the following message: If you have just upgraded from python-2.2.x you will need to run: /usr/sbin/python-updater So I did it and the updater found a pdflib package version where no ebuild exists. Lost output of this unfortunately, but here is the output of etcat: gandalf root # etcat -v pdflib [ Results for search key : pdflib ] [ Candidate applications found : 1 ] Only printing found installed programs. * media-libs/pdflib : [ I] 5.0.2 (5) And here is the output of emerge: gandalf root # emerge -Cp =media-libs/pdflib-4.0.3-r1 >>> These are the packages that I would unmerge: media-libs/pdflib selected: 4.0.3-r1 protected: none omitted: 5.0.2 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. This means there was a package version 4.0.3-r1 installed and no ebuild exists anymore. And now I don't know how many packages exist somewhere on my system where the ebuild has gone. I assume that this is again a problem with SLOT handling since otherwise the package would have been updated to a newer version, right? I think 'emerge depclean' should find such installed packages and remove them since no packages can depend on non-existing ebuilds, can they? Reproducible: Always Steps to Reproduce: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.10 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j 3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.68.1/gentoo-portage" USE="X Xaw3d aalib acl alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups curl divx4linux dvd emacs encode esd flac flash foomaticdb gd gdbm ggi gif gmp gnome gphoto2 gpm gtk gtk2 gtkhtml guile icq imagemagick imlib java jpeg kde lcms ldap leim libg++ libwww mad maildir mikmod mmx motif mozilla mpeg mysql nas ncurses nls nocardbus odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png ppds python qt quicktime readline samba sasl scanner sdl slang speex spell ssl svga tcltk tcpd tetex theora tiff truetype unicode usb wmf wxwindows x86 xml xml2 xmms xv xvid zlib"
*** This bug has been marked as a duplicate of 51412 ***