After building a new kernel I need to remerge lm_sensors and nvidia-kernel, so I tell emerge AUTOCLEAN="no" to keep the existing instances for other kernel intact. This has stopped working. Even with AUTOCLEAN="no" in /etc/make.conf, all previous versions are "Safely unmerged" after the merge. This means I can't boot into any kernel other that the last one used and have a working system, without having to remerge lm_sensors and nvidia-kernel. # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.22_pre2-gss i686 AMD Athlon(tm) XP 1600+ GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex aalib svga ggi tcltk java guile mysql postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr acpi doc dvd innodb maildir mbox moznocompose moznoirc moznomail nocardbus odbc samba scanner sse tiff usb wmf -crypt -gnome" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 " CXXFLAGS="-O3 -mcpu=athlon-xp -march=athlon-xp -pipe -O3 " ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j1" AUTOCLEAN="no" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache notitles"
the kernel module issue has been resolved using a different way in 2.0.50 (/lib/modules won't be deleted on cleans/unmerges). Also from what I can tell AUTOCLEAN only triggers the cleaning of other packages than currently being merged. Nick, can you elaborate ?
AUTOCLEAN is now always performed, the variable isn't used anymore.