My machine has Emacs 21.3-r2 installed. A few minutes ago, I sync'ed my portage tree, and now I see this: | peti:~# emerge -pu emacs | | These are the packages that I would merge, in order: | | Calculating dependencies ...done! | [ebuild U ] media-libs/libpng-1.2.7 [1.2.5-r8] | [ebuild U ] sys-libs/ncurses-5.4-r5 [5.4-r1] | [ebuild U ] x11-base/xfree-4.3.0-r7 [4.3.0-r6] | [ebuild N ] app-editors/emacs-21.3-r3 Apparently, emerge doesn't recognize that the previous Emacs version is installed -- or why doesn't it want to "update" the package? Reproducible: Always Steps to Reproduce: Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3) ================================================================= System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache notitles sandbox strict userpriv" GENTOO_MIRRORS="http://gentoo.inode.at/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X Xaw3d altcolors apm avi berkdb bitmap-fonts bonobo caps crypt curl dga divx4linux doc dvd dvdr dvdread emacs encode ethereal foomaticdb gcl gdbm gif gtk gtk2 gtkhtml guile hardened idea imlib ipv6 javascript jpeg leim libg++ libwww mad mbox mikmod milter mmx moznocompose moznoirc moznomail moznoxft mpeg ncurses opengl oss pam pdflib perl plotutils png python quicktime rage128 readline spell ssl tetex threads tiff truetype x86 xml xml2 xprint xv zlib"
different slots.
Is there a reason why the ebuilds use different slots from one minor revision to another? Where can I see this in the ebuild file? All I can tell is that both versions have SLOT="0" set.
Same here... Here is what etcat says: hinrichs root # etcat -v emacs [ Results for search key : emacs ] [ Candidate applications found : 6 ] Only printing found installed programs. * app-editors/emacs : [M~ ] 18.59 (1) [ ] 21.1-r4 (0) [ ] 21.2-r2 (0) [ I] 21.3-r2 (0) [ ] 21.3-r3 (0) [M~ ] 21.3-r4 (21.3) Meens portage has same slots for both the old and the new version. So why does emerge want to install the new version?
etcat doesn't handle SLOT correctly. SLOT can be changed by /usr/portage/profiles/updates/*, but for whatever reason this doesn't seem to work :( All of those should be in the same SLOT="21.3". I'll try to fix it.
should be fixed now... if it's still broken, please reopen.