I don't know why, but --skip-first option is doing some things strange. For example: emerge -uDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-print/foo2zjs-20081129 USE="cups -foomaticdb usb" FOO2ZJS_DEVICES="-hp1000% -hp1005% hp1018 -hp1020% -hp1215% -hp1500% -hp1600% -hp2600n% -hpp1005% -hpp1006% -hpp1007% -hpp1008% -hpp1505% -km2200% -km2300% -km2430% -km2480% -km2490% -km2530% -kmcpwl% -lm500% -oki3200% -oki3300% -oki3400% -oki3530% -oki5100% -oki5200% -oki5500% -oki5600% -oki5800% -sa2160% -sa300% -sa315% -sa3160% -xp6110% -xp6115%" 69 kB [ebuild U ] dev-vcs/git-1.7.4.1 [1.7.4] USE="bash-completion blksha1 -cgi curl -cvs -doc -emacs -gtk iconv perl (-ppcsha1) python -subversion threads -tk webdav -xinetd" 0 kB [ebuild N ] gnome-base/gnome-keyring-2.32.1 USE="-debug -doc pam -test" 0 kB [ebuild N ] gnome-base/libgnome-keyring-2.32.0 USE="-debug -doc -test" 0 kB [ebuild N ] net-libs/libsoup-gnome-2.32.2 USE="-debug -doc (-introspection)" 0 kB [ebuild N ] gnome-base/gvfs-1.6.6-r1 USE="-archive avahi bash-completion bluetooth -cdda -doc -fuse gdu -gnome -gnome-keyring -gphoto2 -hal http -iphone -samba udev" 0 kB Saying NO, and running: emerge -uDN world --skip-first These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-libs/qt-dbus-4.7.1 USE="(-aqua) -debug exceptions -pch" 206,806 kB [ebuild R ] x11-libs/qt-gui-4.7.1-r1 USE="accessibility (-aqua) cups dbus -debug -egl exceptions glib mng -nas -nis -pch private-headers qt3support raster tiff -trace xinerama" 0 kB [ebuild R ] kde-base/kdelibs-4.6.0-r1 USE="-3dnow acl alsa (-altivec) (-aqua) -bindist bzip2 -debug -doc fam handbook jpeg2k (-kdeenablefinal) (-kdeprefix) -kerberos -lzma mmx nls openexr opengl policykit semantic-desktop spell sse sse2 ssl -test udev -zeroconf" 12,611 kB That was en emerge I cancelled some minutes ago! It should emerge world BUT foo2zjs, and not the completelly different package list! Using portage-2.2.0_alpha23 on a full ~amd64 system. Reproducible: Always
Created attachment 262297 [details] emerge --info
This --skipfirst option implies --resume, so we need to make sure that's clear in the documentation and make it bails out if there are any unused arguments (in your example, "world" was the unused argument). Apparently, what you really wanted was the --exclude option.