On my system, I have a mismatch between emerge --update and eix --upgrade for packages with my specific keywords settings: My system is globally set with ACCEPT_KEYWORDS="~amd64" (from /etc/make.conf) but some packages have ~amd64 unset (prefixed with '-') because I don't want unstable versions of them: $ cat /etc/portage/package.keywords sys-devel/gcc -~amd64 sys-kernel/gentoo-sources -~amd64 Perhaps, it is not the right way to do that but eix had had the same result as emerge (which was what I want) until it break some times ago (weeks or months, I don't remember...). I thought it was a temporary problem. Below outputs with gcc and gentoo-sources for example: *GCC: eix -c -e --upgrade gcc [U] sys-devel/gcc (4.4.5(4.4)@02/28/11 -> (~)3.3.6-r1(3.3)!s 3.4.6-r2(3.4)!s 4.1.2(4.1)!s (~)4.2.4-r1(4.2)!s (~)4.3.6(4.3)!s (~)4.4.6(4.4)!s (~)4.5.3(4.5)!s): The GNU Compiler Collection => that's not correct, 4.4.5(4.4) cannot be upgraded to (~)4.4.6(4.4) because it's unstable -------- emerge -pv gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-devel/gcc-4.4.5 USE="fortran gcj gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -graphite (-hardened) (-libffi) -multislot -nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla (-n32%) (-n64%)" 27 kB => correct result => not marked as upgradable => emerge -puv gcc returns no results Idem for gentoo-sources: eix -c -e --upgrade gentoo-sources [U] sys-kernel/gentoo-sources (2.6.38-r6(2.6.38-r6)@05/30/11 2.6.39-r3(2.6.39-r3)@07/18/11 -> 2.6.32-r29(2.6.32-r29)!b!s (~)2.6.32-r32(2.6.32-r32)!b!s (~)2.6.32-r33(2.6.32-r33)!b!s (~)2.6.32-r34(2.6.32-r34)!b!s 2.6.35-r15(2.6.35-r15)!b!s 2.6.36-r8(2.6.36-r8)!b!s 2.6.37-r4(2.6.37-r4)!b!s (~)2.6.37-r6(2.6.37-r6)!b!s 2.6.38-r6(2.6.38-r6)!b!s (~)2.6.38-r7(2.6.38-r7)!b!s (~)2.6.39-r1(2.6.39-r1)!b!s (~)2.6.39-r2(2.6.39-r2)!b!s 2.6.39-r3(2.6.39-r3)!b!s (~)2.6.39-r4(2.6.39-r4)!b!s (~)3.0.0(3.0.0)!b!s (~)3.0.1(3.0.1)!b!s): Full sources including the Gentoo patchset for the 3.0 kernel tree => that's not correct, (2.6.38-r6(2.6.38-r6) and 2.6.32-r29(2.6.32-r29) should not be upgraded to unstable versions --------- emerge -puv gentoo-sources These are the packages that would be merged, in order: Calculating dependencies... done! Total: 0 packages, Size of downloads: 0 kB => correct result => not marked as upgradable ------------- emerge --info Portage 2.2.0_alpha50 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, unavailable, 2.6.38-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.3 Timestamp of tree: Thu, 11 Aug 2011 04:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.5 [disabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.7-r2, 2.7.2-r2, 3.1.4-r2, 3.2-r2 dev-util/ccache: 3.1.5 dev-util/cmake: 2.8.5-r2 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo sunrise java-overlay vmware lim gentooboontoo enlightenment Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 googleearth google-talkplugin PUEL skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /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/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /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" CXXFLAGS="-O2 -pipe -march=native -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en fr" MAKEOPTS="-j7" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/vmware /var/lib/layman/lim /var/lib/layman/gentooboontoo /var/lib/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam ffmpeg firefox flac fontconfig fortran gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk iconv ipv6 jpeg lcms libnotify mad mmx mng modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline samba sdl session smp spell sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype udev unicode usb v4l2 vorbis vpx wav x264 xcb xinerama xml xorg xulrunner xv xvid zlib" 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for the report. When fixing other issues with the stabilisation algorithm (which is rather complex in view of -T), I obviously forgot that -... should also apply to ACCEPT_KEYWORDS. In current eix svn trunk (>=eix-0.22.11), I treat this special case now manually, hoping that this finally fixes most isssues in that #+$% algorithm.
It seems last update has fixed this issue. Thanks Martin.