Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83638 - fixpackages gives me a traceback.
Summary: fixpackages gives me a traceback.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-28 22:07 UTC by Alec Warner
Modified: 2005-03-07 18:11 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 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-02-28 22:07:24 UTC
kyoto All # fixpackages


Performing Global Updates: /usr/portage/profiles/updates/3Q-2002
(Could take a couple of minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
........................................................................................Traceback (most recent call last):
  File "/usr/sbin/fixpackages", line 10, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6444, in ?
    do_upgrade(mykey)
  File "/usr/lib/portage/pym/portage.py", line 6342, in do_upgrade
    db["/"]["bintree"].update_ents(myupd,settings["PORTAGE_TMPDIR"]+"/tbz2")
  File "/usr/lib/portage/pym/portage.py", line 4670, in update_ents
    tbz2path=self.getname(mycpv)
  File "/usr/lib/portage/pym/portage.py", line 4780, in getname
    mysplit=pkgname.split("/")
AttributeError: 'list' object has no attribute 'split'

Contrary to the getportageversion in emerge info I'm using HEAD.

kyoto bin # emerge info
Portage 20041207 (selinux/2004.1/x86, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-hardened-r3 i686)
=================================================================
System uname: 2.6.10-hardened-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc: No such file or directory [disabled]
ccache: No such file or directory [enabled]
Autoconf: sys-devel/autoconf-2.13,sys-devel/autoconf-2.59-r6
Automake: sys-devel/automake-1.8.5-r3,sys-devel/automake-1.5,sys-devel/automake-1.7.9-r1,sys-devel/automake-1.6.3,sys-devel/automake-1.4_p6,sys-devel/automake-1.9.4
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.10-r4
Python:   dev-lang/python-2.3.4-r1  [2.3.4 (#1, Feb 16 2005, 23:00:21)]
ACCEPT_KEYWORDS="x86"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache confcache digest distlocks parallel-fetch sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo ftp://gentoo.chem.wisc.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 avi bash-completion berkdb bmp canna caps cdr cjk crypt curl dvd dvdr dvdread encode esd ethereal fam gdbm gif gtk gtk2 imagemagick imap imlib kde lm_sensors mad maildir matroska mmx mono motif mp3 mysql ncurses nis nls nptl offensive oggvorbis openal opengl pam perl png posix python qt readline sdl selinux sse ssl svg svga tcpd threads tiff truetype wxwindows x86 xml2 xmms xv zlib"
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-03-07 18:11:33 UTC
SOmeone changed the cp_all database call to return a nested list instead of just one.  fixed InCVS according to Genone after some heckling on IRC :)