I try to keep things more up-to-date by running emerge world with the -uUD options. qt wants to upgrade from 3.2.3 to 3.2.3-r1, but is pulling in vanilla-sources-2.4.24 as a dependency, even though I already have mm-sources 2.6.1-rc1-r2 installed. emerge -uUpv world shows just the qt upgrade, so it's the -D flag that's causing the problem. Reproducible: Always Steps to Reproduce: 1. emerge -uUDpv world, this shows a variety of packages with vanilla-sources at the top. 2. emerge -uUDpv qt shows just the qt upgrade and the new vanilla-sources package, so the dependancy must be in qt. 3. emerge -uUpv qt shows just the qt upgrade, so it's the -D flag that's causing the problem. Actual Results: These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-kernel/vanilla-sources-2.4.24 -build [ebuild U ] x11-libs/qt-3.2.3-r1 [3.2.3] +cups -nas -postgres +opengl -mysql -odbc +gif -doc Expected Results: Just showed the qt upgrade, without installing the kernel package. This does happen with an emerge -uUpv qt, instead of the emerge -uUDpv qt. zaphod root # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-mm2) ================================================================= System uname: 2.6.1-mm2 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.10 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" 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/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm avi cdr crypt cups dvd encode esd foomaticdb gif gphoto2 gtk gtk2 imap imlib java jpeg mmx mpeg ncurses nls oggvorbis opengl oss pam png readline spell ssl tcpd tiff transcode truetype unicode usb v4l x86 xml2 xv xvid zlib" zaphod root #
this isn't really a bug. it's being pulled into to satisfying one of the virtual dependencies. perhaps virtual/kernel or another...not sure which one really.
Shouldn't mm-sources satisfy virtual-kernel? Any way I can confirm which virtual dependency it is? Or should I just try not to do this? :)
do you have vanilla-sources in /var/cache/edb/virtuals ?
This is an issue with your /var/cache/edb/virtuals file, as SpankY said. Make sure mm-sources is the first one in the list to satisfy virtual/kernel and related in that file.
be assured there are bugs open to fix portage to handle this 'better'