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

Bug 69589

Summary: emerge problem comparing versions and showing upgrade / downgrade status
Product: Gentoo Linux Reporter: Bernd Waibel <waebbl>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernd Waibel 2004-10-31 02:49:48 UTC
after my daily portage sync tomorrow, emerge wants to upgrade the following
packages

gwenhwyfar portage # emerge -puvD world

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

Calculating world dependencies ...done!
[ebuild     U ] app-forensics/chkrootkit-0.44 [0.43-r4] -debug 37 kB 
[ebuild     U ] media-gfx/imagemagick-6.1.0.1 [6.0.7.1] +X +cups -debug +graphviz +jbig +jpeg +lcms +mpeg +perl +png +tiff +truetype +wmf +xml2 4,429 kB 
[ebuild     U ] app-portage/gentoolkit-0.2.0_pre8-r1 [0.2.0_pre8] 0 kB 
[ebuild     U ] games-action/tuxkart-0.4.0 [0.2.0] 4,816 kB 
[ebuild     U ] app-arch/cabextract-1.1 [1.0] 183 kB 
[ebuild     U ] media-libs/gd-2.0.30 [2.0.28] +X +jpeg +png +truetype 569 kB 
[ebuild     U ] x11-misc/xchm-0.9.4 [0.9.3] +doc 390 kB 

Total size of downloads: 10,426 kB


If you look at the second entry (imagemagick) portage wants to upgrade
imagemagick (it display the U flag between the brackets) , but according 
to the version numbers it displays, this is a downgrade from v. 6.1.0.1 
to v. 6.0.7.1.

There may something wrong with the comparison of version numbers within
portage, or the display of the upgrade/downgrade flags.


Reproducible: Always
Steps to Reproduce:
1. emerge -u world
2.
3.

Actual Results:  
portage wants to upgrade imagemagick, which would actually a downgrade

Expected Results:  
portage should either leave the particular package alone, or should
display the downgrade flag within the brackets.


gwenhwyfar portage # emerge info
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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="-march=pentium4 -O3 -fforce-addr -mfpmath=sse -mmmx -msse -msse2 -Wall"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache collision-protect distlocks fixpackages
nostrip sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib accessibility acl acpi aim alsa apache2 arts audiofile avi bcmath
berkdb bindist bitmap-fonts bonobo bzlib caps cdr cjk crypt cscope ctype cups
curl curlwrappers dbase dbx dedicated dga directfb divx4linux doc dvd dvdr emacs
encode esd ethereal evo exif f77 fam fbcon fdftk fftw flac flash foomaticdb ftp
gb gd gdbm ggi gif ginac gmp gnome gnutls gpm gps gstreamer gtk gtk2 gtkhtml
guile iconv icq imagemagick imlib jabber jack java jikes joystick jpeg junit kde
ladcca lcms libgda libwww mad maildir mcal mhash mikmod mime ming mmap mmx mng
motif mozilla mpeg mpi msn mysql nas ncurses netcdf nls nptl odbc offensive
oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic pie plotutils
png posix ppds python qhull qt quicktime readline samba sdl session shared slang
slp soap sockets speex spell sqlite sse ssl svg svga sysvipc tcltk tcpd tetex
theora threads tiff truetype unicode usb videos wddx wmf wxwindows x86 xine xml2
xmlrpc xmms xosd xpm xsl xv xvid yahoo zlib"
Comment 1 Michiel de Bruijne 2004-10-31 04:53:31 UTC
The number between the brackets is the version that is installed [6.0.7.1], the number after the packagename is the version portage wants to install (6.1.0.1). 6.1.0.1 is a higher version then 6.0.7.1 so the U-flag is correct.

Please close this bug as invalid.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-10-31 22:29:57 UTC
ok
Comment 3 Bernd Waibel 2004-11-01 08:39:31 UTC
oh uh, sorry, you are definitely right...

i must be somehow confused when writing this

sorry for wasting anybody's time