Emerge update deep newuse shows nothing, but depclean complains about missing deps. # emerge -uDNpv world These are the packages that would be merged, in order: Calculating world dependencies... done! Total size of downloads: 0 kB # emerge -p --depclean *** WARNING *** Depclean may break link level dependencies. Thus, it is *** WARNING *** recommended to use a tool such as `revdep-rebuild` (from *** WARNING *** app-portage/gentoolkit) in order to detect such breakage. *** WARNING *** *** WARNING *** Also study the list of packages to be cleaned for any obvious *** WARNING *** mistakes. Packages that are part of the world set will always *** WARNING *** be kept. They can be manually added to this set with *** WARNING *** `emerge --noreplace <atom>`. *** WARNING *** *** WARNING *** As a safety measure, depclean will not remove any packages *** WARNING *** unless *all* required dependencies have been resolved. As a *** WARNING *** consequence, it is often necessary to run *** WARNING *** `emerge --update --deep world` prior to depclean. Calculating dependencies... done! Dependencies could not be completely resolved due to the following required packages not being installed: >=dev-php/mod_php-4.1.2-r5 required by www-apps/gallery-1.4.4_p6 =x11-libs/qt-3.3.4-r8 required by kde-base/kdelibs-3.4.3-r1 ~kde-base/arts-1.2.2 required by kde-base/kdelibs-3.2.2-r1 virtual/glibc required by media-libs/xvid-0.9.1 >=app-admin/fam-2.6.10 required by kde-base/kdelibs-3.2.2-r1 Have you forgotten to run `emerge --update --deep world` prior to depclean? # emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.6 Last Sync: Sun, 12 Nov 2006 01:00:03 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="pt_BR en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext 7zip X alsa apache2 bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo cddb cdr cli cracklib crypt cups dbus divx4linux djvu dlloader dri dvd dvdr elibc_glibc emboss esd fam firefox flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv innodb input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog javascript jpeg jpeg2k kdeenablefinal kdexdeltas kernel_linux lcms libg++ linguas_en linguas_pt_BR logrotate mad matroska mmx mmx2 mmxext mng mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oscar pam pcre perl php png ppds pppd python qt4 quicktime readline reflection rtc ruby samba sasl sdl session spl sse ssl tcpd threads truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vhosts video_cards_radeon vorbis win32codecs xinetd xml xorg xosd xprint xv xvid xvmc yv12 zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Uh... no wonder it fails, mod_php has been removed ages ago, so if anything depends on it for you then you should unmerge it. Ditto for the horribly outdated kdelibs/fam/arts versions.
(In reply to comment #0) > >=dev-php/mod_php-4.1.2-r5 required by www-apps/gallery-1.4.4_p6 > =x11-libs/qt-3.3.4-r8 required by kde-base/kdelibs-3.4.3-r1 > ~kde-base/arts-1.2.2 required by kde-base/kdelibs-3.2.2-r1 > virtual/glibc required by media-libs/xvid-0.9.1 > >=app-admin/fam-2.6.10 required by kde-base/kdelibs-3.2.2-r1 You need to update or simply unmerge those packages that are listed on the right side. For example, there's no reason for you to have kdelibs-3.2.2-r1 or kdelibs-3.4.3-r1 installed (they're no longer in the portage tree). The latest stable version is currently 3.5.2-r6. Anyway, I'll update the depclean messages to be more informative for cases like this.
It's not fixed yet..
In svn r5023 I've updated to message to notify the user that it may be necessary to manually uninstalled packages that no longer exist in the portage tree.
This has been released in 2.1.2_rc1-r7.