With 'emerge -DNu world' portage doesn't catch all dependencies. Example: emerge -pvDNu world These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] x11-terms/xterm-250 [249] USE="truetype unicode -Xaw3d -toolbar" 869 kB [ebuild U ] net-ftp/proftpd-1.3.3_rc2 [1.3.3_rc1-r1] USE="acl authfile caps ctrls ipv6 ldap ncurses nls pam ssl tcpd -ban -case -clamav -deflate -doc -exec -hardened -ident -ifsession -kerberos -mysql -postgres -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -softquota -trace -vroot -xinetd" 4,040 kB Total: 2 packages (2 upgrades), Size of downloads: 4,908 kB and emerge -ep world | awk ' $2!="R" {print}' These are the packages that would be merged, in order: Calculating dependencies ..... done! [ebuild U ] x11-terms/xterm-250 [249] [ebuild U ] dev-python/pycxx-6.1.1 [6.1.0] [ebuild U ] net-ftp/proftpd-1.3.3_rc2 [1.3.3_rc1-r1] I don't have other updates for the moment but it appears with other packages too. Reproducible: Always emerge --info Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31.4-fglrx x86_64) ================================================================= System uname: Linux-2.6.31.4-fglrx-x86_64-AMD_Opteron-tm-_Processor_252-with-gentoo-2.0.1 Timestamp of tree: Mon, 26 Oct 2009 16:30:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.3, 3.1.1-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/initng/daemon /etc/initng/net /etc/initng/system /etc/pam.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/src/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde-testing /usr/local/portage/layman/qting-edge /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac accessibility acl acpi akonadi alsa amd64 amr amrnb amrwb aspell audiofile authfile avi bash-completion berkdb boost bzip2 bzlib cairo calendar caps cdda cdparanoia cdr chipcard chm cisco cleartype cli consolekit cracklib crypt css cups cvs dbus dirac djvu dlloader dri dts dv dvd dvdr dvdread encode enscript exif exiv2 fastcgi ffmpeg fftw flac fortran gcc-libffi gcj gd gdbm gif gimp git glitz gmp gnuplot gpm graphite graphviz hal hbci htmlhandbook http iconv idl idle ieee1394 imagemagick inotify ipv6 isdnlog java java5 java6 jikes jpeg kde kdehiddenvisibility kdepim kipi lame lapack latex lcms ldap lensfun libnotify libsamplerate live lm_sensors logrotate lucene lzma lzo mad matroska mjpeg mmap mmx mmxext mng modules mp2 mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses network networkmanager nfs nls nolvm1 nptl nptlonly nsplugin obex ogg oggvorbis openal openexr opengl openmp optimized-qmake pam patch pcre pdf perl pic plasma png pnm podofo policykit posix postscript pppd profiledbootstrap python python3 pyx qt qt3 qt3support qt4 quicktime readline redeyes redland reflection rss rtc samba samplerate sasl scanner schroedinger sdl semantic-desktop sendfile session silvercity slang smime smp sndfile snmp soundtouch sox speex spell spl sqlite sse sse2 ssl subversion svg sysfs taglib tcpd tetex theora threads thumbnail tiff tk trayicon truetype unicode usb userlocales v4l v4l2 vorbis vorbis-psy webkit x264 xattr xcb xcomposite xext xhtml xine xml xml2 xmp xorg xscreensaver xulrunner xv xvid yv12 zeroconf zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
What gives "emerge -p --depclean" ? What gives "emerge -DNu world --with-bdeps=y" ?
(In reply to comment #1) > What gives "emerge -p --depclean" ? emerge -p --depclean * Always study the list of packages to be cleaned for any obvious * mistakes. Packages that are part of the world set will always * be kept. They can be manually added to this set with * `emerge --noreplace <atom>`. Packages that are listed in * package.provided (see portage(5)) will be removed by * depclean, even if they are part of the world set. * * As a safety measure, depclean will not remove any packages * unless *all* required dependencies have been resolved. As a * consequence, it is often necessary to run `emerge --update * --newuse --deep @system @world` prior to depclean. Calculating dependencies... done! >>> No packages selected for removal by depclean >>> To see reverse dependencies, use --verbose Packages installed: 902 Packages in world: 156 Packages in system: 50 Required packages: 902 Number to remove: 0 > What gives "emerge -DNu world --with-bdeps=y" ? emerge -pvDNu world --with-bdeps=y These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] dev-python/pycxx-6.1.1 [6.1.0] USE="-doc -examples" 0 kB [ebuild U ] x11-terms/xterm-250 [249] USE="truetype unicode -Xaw3d -toolbar" 0 kB [ebuild U ] net-ftp/proftpd-1.3.3_rc2 [1.3.3_rc1-r1] USE="acl authfile caps ctrls ipv6 ldap ncurses nls pam ssl tcpd -ban -case -clamav -deflate -doc -exec -hardened -ident -ifsession -kerberos -mysql -postgres -radius -ratio -readme -rewrite (-selinux) -sftp -shaper -sitemisc -softquota -trace -vroot -xinetd" 4,040 kB Total: 3 packages (3 upgrades), Size of downloads: 4,040 kB Ok, now its pulled in. It's a little irritating, since without some packages won't be updated over a long time. And it's also a little confusing to the --deep option.
One can argue for both --mith-bdeps=y and =n. If you want y you could put it in your EMERGE_DEFAULT_OPTS.