Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29435 - Portage confused by binary packages
Summary: Portage confused by binary packages
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-23 08:26 UTC by Paul Slinski
Modified: 2011-10-30 22:20 UTC (History)
1 user (show)

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 Paul Slinski 2003-09-23 08:26:37 UTC
Unable to update workstations with binary packages exclusively.

I have 4 workstations that I've been updating via binary packages only. But
latley when I attempt to upgrade the system/world packages portage either fails
or does the wrong thing.

Example 1, the output of a standard upgrade operation:
perry root # emerge -pu system
 
These are the packages that I would merge, in order:
 
Calculating system dependencies ...done!
[ebuild     U ] sys-apps/baselayout-1.8.6.10-r1 [1.8.6.10]
[ebuild     U ] net-misc/dhcpcd-1.3.22_p4-r1 [1.3.22_p4]
[ebuild     U ] sys-devel/binutils-2.14.90.0.6-r3 [2.14.90.0.6-r1]
[ebuild     U ] app-editors/vim-core-6.2-r4 [6.2-r3]
[ebuild     U ] app-editors/vim-6.2-r3 [6.2-r2]
[ebuild     U ] sys-apps/coreutils-5.0-r4 [5.0-r3]
[ebuild     U ] sys-apps/file-4.03 [4.02]
[ebuild     U ] sys-apps/man-1.5m [1.5l-r6]
[ebuild     U ] sys-apps/procps-3.1.12 [3.1.11]
[ebuild     U ] sys-apps/psmisc-21.2-r4 [21.2-r3]
[ebuild     U ] sys-apps/which-2.16 [2.14]
[ebuild     U ] dev-libs/openssl-0.9.7b-r2 [0.9.6j]
[ebuild     U ] net-mail/ssmtp-2.60.4 [2.60.3]
[ebuild  N    ] app-admin/skey-1.1.5
[ebuild     U ] net-misc/openssh-3.7.1_p1-r1 [3.6.1_p2-r2]
[ebuild     U ] sys-fs/devfsd-1.3.25-r5 [1.3.25-r4]

That is to be expected. But we don't build on the workstations, so we attempt to
install packages like so:
perry root # emerge -puk system
 
These are the packages that I would merge, in order:
 
Calculating system dependencies ...done!
[binary   R   ] sys-apps/portage-2.0.49-r5
[binary     U ] sys-apps/baselayout-1.8.6.10-r1 [1.8.6.10]
[binary     U ] net-misc/dhcpcd-1.3.22_p4-r1 [1.3.22_p4]
[binary   R   ] sys-devel/gettext-0.11.5-r1
[binary     U ] sys-devel/binutils-2.14.90.0.6-r3 [2.14.90.0.6-r1]
[binary   R   ] dev-lang/python-2.2.3-r1
[binary   R   ] sys-libs/ncurses-5.3-r4
[ebuild     U ] app-editors/vim-core-6.2-r4 [6.2-r3]
[ebuild     U ] app-editors/vim-6.2-r3 [6.2-r2]
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2073, in ?
    mydepgraph.display(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1058, in display
    if (myoldslot==mynewslot) and portage.pkgcmp(portage.pkgsplit(x[2]),
portage.pkgsplit(myoldbest)) < 0:
  File "/usr/lib/python2.2/site-packages/portage.py", line 2252, in pkgcmp
    r1=string.atoi(pkg1[2][1:])
  File "/usr/lib/python2.2/string.py", line 225, in atoi
    return _int(s, base)
ValueError: invalid literal for int(): r1

That, of course, is not what's supposed to happen. So I try with individual
package names like so:
perry root # emerge -puk baselayout dhcpcd binutils vim-core vim coreutils file
man procps psmisc which openssl ssmtp skey openssh devfsd
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[binary   R   ] sys-apps/portage-2.0.49-r5
[binary     U ] sys-apps/baselayout-1.8.6.10-r1 [1.8.6.10]
[binary     U ] net-misc/dhcpcd-1.3.22_p4-r1 [1.3.22_p4]
[binary   R   ] sys-devel/gettext-0.11.5-r1
[binary     U ] sys-devel/binutils-2.14.90.0.6-r3 [2.14.90.0.6-r1]
[binary   R   ] sys-libs/ncurses-5.3-r4
[ebuild     U ] app-editors/vim-core-6.2-r4 [6.2-r3]
[binary   R   ] dev-lang/python-2.2.3-r1
[ebuild     U ] app-editors/vim-6.2-r3 [6.2-r2]
[binary     U ] sys-apps/coreutils-5.0-r4 [5.0-r3]
[binary     U ] sys-apps/file-4.03 [4.02]
[binary   R   ] sys-apps/groff-1.18.1-r3
[binary     U ] sys-apps/man-1.5m [1.5l-r6]
[binary     U ] sys-apps/procps-3.1.12 [3.1.11]
[binary     U ] sys-apps/psmisc-21.2-r4 [21.2-r3]
[binary   R   ] sys-apps/texinfo-4.6
[binary     U ] sys-apps/which-2.16 [2.14]
[binary     U ] dev-libs/openssl-0.9.7b-r2 [0.9.6j]
[binary   R   ] net-mail/mailbase-0.00-r6
[binary     U ] net-mail/ssmtp-2.60.4 [2.60.3]
[binary  N    ] app-admin/skey-1.1.5
[binary   R   ] sys-apps/shadow-4.0.3-r7
[binary     U ] net-misc/openssh-3.7.1_p1-r1 [3.6.1_p2-r2]
[binary     U ] sys-fs/devfsd-1.3.25-r5 [1.3.25-r4]

What's with all the re-installs?

I'm not sure what's happening here, I've deleted many uneeded packages from my
binary directory and still the same result. Hopefully someone has some insight.



Reproducible: Always
Steps to Reproduce:
1. Build packages on seperate machine
2. Attempt to upgrade 2nd machine via emerge -puk system
3. Fail




Portage 2.0.49-r5 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-ck6)
=================================================================
System uname: 2.4.20-ck6 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/mnt/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox strict"
GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://adelie.polymtl.ca/
http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/
ftp://cs.ubishops.ca/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/mnt/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.10.198/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk
java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome
gtk qt kde motif opengl mozilla ldap cdr scanner acpi acpi4linux amd apache2
artswrappersuid autofs cjk clamav curl dga dnd dvb dvd emacs evo faad fbcon
fbdev fltk gb gd gnomedb gtk2 imagemagick imap innodb ipv6 jack jack-tmpfs jikes
junit ladcca mbox mcal mdb memlimit milter mozaccess mozcalendar mozp3p mozsvg
mozxmlterm mpi oav oci8 odbc offensive pda pic ppds samba skey snmp sox sse tiff
transcode type1 usb v4l vim-with-x wmf X509 xface xfs xinerama xml xosd xvid"
Comment 1 Scott Beck 2003-10-07 08:04:51 UTC
I can confirm the brokage
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-12-24 12:53:36 UTC
This should be resolved in current releases.