Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95204 - Two different invocations of emerge show different version od servletapi installed
Summary: Two different invocations of emerge show different version od servletapi inst...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-06 05:26 UTC by Kamil Gornik
Modified: 2005-06-06 05:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Gornik 2005-06-06 05:26:03 UTC
/home/heimat> emerge -s servletapi
Searching...
[ Results for search key : servletapi ]
[ Applications found : 1 ]

*  dev-java/servletapi
      Latest version available: 2.4-r2
      Latest version installed: 2.4-r2
      Size of downloaded files: 3,560 kB
      Homepage:    http://jakarta.apache.org/
      Description: Servlet API 5 from jakarta.apache.org
      License:     Apache-1.1


------------------------
/home/heimat> emerge -Dupv world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] mail-client/evolution-2.2.1.1 [2.0.4] +crypt -debug +doc
+gstreamer +ipv6 -kerberos -ldap +mono +mozilla -nntp -pda +spell +ssl 0 kB
[ebuild     U ] dev-java/servletapi-2.3-r2 [2.3-r1] +doc -jikes -source 0 kB
 -- cut --

Reproducible: Always
Steps to Reproduce:
1.emerge -s servletapi
2.emerge -Dupv world
3.

Actual Results:  
after emerge -s servletapi I see 2.4-r2 istalled
after emerge -Dupv world i see 2.3-r2 istalled

Expected Results:  
one version istalled

System uname: 2.6.11-gentoo-r5 i686 mobile AMD Athlon(tm) XP-M 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 11:38:12)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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="-O2 -mcpu=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl http://src.gentoo.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzlib cdr cpdflib crypt
cups curl curlwrappers db2 dbase divx4linux doc dvd dvdread eds emboss encode
esd exif expat fam ffmpeg flac foomaticdb fortran freetds ftp gd gdbm gif gnome
gphoto2 gpm gstreamer gtk gtk2 imap imlib innodb ipv6 java javascript jpeg junit
kde libg++ libwww mad maildir mbox mikmod mime mono motif mozilla mp3 mpeg mssql
mysql mysqli ncurses nls odbc ogg oggvorbis opengl oss pam pcmcia pcntl pcre
pdflib perl php png posix python qt quicktime readline samba sdl sharedext
sharedmem slang sockets softmmu spell ssl svg svga tcltk tcpd tetex threads tidy
tiff tokenizer truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts
vorbis xine xml xml2 xmms xpm xv xvid zlib linguas_pl userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 05:31:48 UTC
This is a correct behaviour - those package versions are slotted. 

'emerge -s' shows righly the _latest_ installed version, while 'emerge -Dupv'
shows the version that is going to be upgraded.
Comment 2 Kamil Gornik 2005-06-06 05:37:14 UTC
But see:
Latest version installed: 2.4-r2 
                          ^^^^^^

[ebuild     U ] dev-java/servletapi-2.3-r2 [2.3-r1] +doc -jikes -source 0 kB 
                                            ^^^^^^

Do I have 2.4-r2 or 2.3-r1 then istalled now?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 05:39:28 UTC
(In reply to comment #2)
> Do I have 2.4-r2 or 2.3-r1 then istalled now?

You have both of them - that's what SLOTS are used for. Do 'emerge -Cpv
dev-java/servletapi' and see for yourself.