Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 202502

Summary: sys-apps/portage-2.1.3.19 doesn't update all slotted versions
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2007-12-16 18:49:05 UTC
At least, this occurs with gentoo-sources. I have "sys-kernel/gentoo-sources" in my /etc/portage/package.keywords but only latest slot is updated with emerge -avuDN world. This is my "eix -I gentoo-sources" output for clearly seeing this behavior:
[U] sys-kernel/gentoo-sources
     Available versions:  
        (2.6.16-r13)    2.6.16-r13
        (2.6.19-r5)     2.6.19-r5
        (2.6.19-r7)     (~)2.6.19-r7
        (2.6.20-r10)    (~)2.6.20-r10
        (2.6.21-r4)     2.6.21-r4
        (2.6.22)        (~)2.6.22
        (2.6.22-r1)     (~)2.6.22-r1
        (2.6.22-r2)     2.6.22-r2
        (2.6.22-r3)     (~)2.6.22-r3
        (2.6.22-r4)     (~)2.6.22-r4
        (2.6.22-r5)     2.6.22-r5
        (2.6.22-r6)     (~)2.6.22-r6
        (2.6.22-r7)     (~)2.6.22-r7
        (2.6.22-r8)     2.6.22-r8
        (2.6.22-r9)     2.6.22-r9
        (2.6.22-r10)    (~)2.6.22-r10
        (2.6.23)        (~)2.6.23
        (2.6.23-r1)     (~)2.6.23-r1
        (2.6.23-r2)     (~)2.6.23-r2
        (2.6.23-r3)     2.6.23-r3
        (2.6.23-r4)     (~)2.6.23-r4
        {build symlink ultra1}
     Installed versions:  2.6.22-r9(2.6.22-r9)(20:48:03 15/10/07)(-build -symlink)
                          2.6.23-r3(2.6.23-r3)(22:00:51 27/11/07)(-build -symlink)
     Homepage:            http://dev.gentoo.org/~dsd/genpatches
     Description:         Full sources including the Gentoo patchset for the 2.6 kernel tree

As can be seen, latest 2.6.22 kernel is not updated, only 2.6.23

My emerge --info:
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sun, 16 Dec 2007 18:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf audiofile avahi bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cups curl daap dbus dga divx4linux djvu dlloader dri dts dvb dvd dvdr dvdread eds encode erandom escreen evo evolution exif fam fbcon ffmpeg flac foomaticdb fortran ftp galago gb gcj gd ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility keyring latex lcms libnotify lm_sensors logrotate mad madwifi midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network networkmanager nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection remote rtc scanner sdl seamonkey session slang slp sockets spell spl sse sse2 sse3 ssl startup-notification svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xattr xcomposite xine xml xml2 xorg xpm 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks a lot

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2007-12-16 18:51:01 UTC
$ emerge -pvuDN gentoo-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/gettext-0.17 [0.16.1-r1] USE="nls -doc -emacs -nocxx" 11,369 kB 
[ebuild  NS   ] sys-kernel/gentoo-sources-2.6.23-r4  USE="-build -symlink" 225 kB 

Total: 2 packages (1 upgrade, 1 in new slot), Size of downloads: 11,593 kB

I was running emerge --sync and seems that gentoo-sources-2.6.23 will be updated, but 2.6.22 keeps untouched

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 18:52:24 UTC
Every single sys-kernel/gentoo-sources version has it's own slot. What exactly do you expect here?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 18:55:28 UTC
And to be clear here, version == ${PF} here; see man ebuild(5)
Comment 4 Pacho Ramos gentoo-dev 2007-12-16 19:08:09 UTC
I expect that "emerge -avuDN world" updates both gentoo-sources installed versions from both slots: sys-kernel/gentoo-sources-2.6.23-r4 and sys-kernel/gentoo-sources-2.6.22-r10

Currently, emerge -avuDN world only wants to upgrade to 2.6.23-r4 leaving old 2.6.22-r9
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 19:15:57 UTC
(In reply to comment #4)
> Currently, emerge -avuDN world only wants to upgrade to 2.6.23-r4 leaving old
> 2.6.22-r9

There's not any "both slots" 2.6.23-r4 is the SLOT (every single kernel revision has its own slot, already told you once).

NOTABUG.
Comment 6 Pacho Ramos gentoo-dev 2007-12-16 19:22:00 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Currently, emerge -avuDN world only wants to upgrade to 2.6.23-r4 leaving old
> > 2.6.22-r9
> 
> There's not any "both slots" 2.6.23-r4 is the SLOT (every single kernel
> revision has its own slot, already told you once).
> 
> NOTABUG.
> 

Ah, sorry, I misunderstood and I tought that there were only a 2.6.22 and 2.6.22 slots from gentoo-sources. Silly me!, Sorry :'(