Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19876 - emerge fails when trying emerge -f world after emerge rsync
Summary: emerge fails when trying emerge -f world after emerge rsync
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 06:58 UTC by Vova
Modified: 2011-10-30 22:18 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 Vova 2003-04-24 06:58:23 UTC
Hi
The problem is that i cant update my system.
I type:
emerge -up world
narrow root # emerge -up world

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

Calculating world dependencies ...done!
[ebuild    U ] dev-util/dialog-0.9_beta20030308-r1 [0.9_beta20030308]
[ebuild    U ] app-admin/gentoolkit-0.1.19-r5 [0.1.19-r3]
[ebuild    U ] x11-base/xfree-4.3.0-r2 [4.3.0-r1]
[ebuild    U ] x11-libs/qt-3.1.2-r3 [3.1.0-r3]
[ebuild    U ] media-libs/id3lib-3.8.3-r1 [3.8.3]
[ebuild    U ] media-sound/mpg123-0.59r-r2 [0.59r-r1]
[ebuild    U ] app-cdr/k3b-0.8.1-r1 [0.8.1]
[ebuild    U ] media-video/nvidia-kernel-1.0.4349-r2 [1.0.4349-r1]
[ebuild    U ] net-irc/xchat-2.0.2 [2.0.1]
[ebuild    U ] media-libs/svgalib-1.9.17-r1 [1.4.3-r4]
[ebuild    U ] app-emulation/dosemu-1.1.4.15 [1.1.4]

narrow root #
then emerge -f world and...
narrow root # emerge -f world
Calculating world dependencies ...done!
>>> emerge (1 of 7) app-admin/gentoolkit-0.1.19-r5 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1862, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1098, in merge
    y=portage.portdb.findname(x[2])
  File "/usr/lib/python2.2/site-packages/portage.py", line 3032, in findname
    return self.root+"/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"
TypeError: unsubscriptable object
narrow root #
This is my problem.

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

Actual Results:  
Nothing helps me.


narrow root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm
berkdb slang readline arts svga tcltk java guile X sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis opengl mozilla cdr scanner qt kde -motif iptables
mplayer -openoffice -openoffice-bin gkrellm licq cups -gnome -gtk"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

narrow root #
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-04-27 16:58:06 UTC
Can you apply the following patch and paste the error message
it provides?

http://gentoo.twobit.net/portage/portage-2.0.48_pre2-findname.diff

cd /usr/lib/python2.2/site-packages
patch < /path/to/portage-2.0.48_pre2-findname.diff
emerge -f world
Comment 2 Vova 2003-04-28 03:58:25 UTC
Big Thanks. It seems to be working now.
Comment 3 paleck 2003-04-30 18:01:48 UTC
Hi,

I followed the same steps as the other person and got the same errors.  Applied the patch and still got the errors.  I am pasting them below.

trippedwire root # emerge -f world
Calculating world dependencies ...done!
>>> emerge (1 of 68) sys-apps/man-pages-1.56 to /
>>> emerge (2 of 68) sys-libs/zlib-1.1.4-r1 to /
>>> emerge (3 of 68) x11-themes/gnome-themes-2.2.1 to /
>>> emerge (4 of 68) x11-themes/gnome-icon-theme-1.0.2 to /
>>> emerge (5 of 68) sys-devel/autoconf-2.57-r1 to /
>>> emerge (6 of 68) sys-devel/automake-1.7.2 to /
>>> emerge (7 of 68) media-libs/alsa-lib-0.9.2 to /
>>> emerge (8 of 68) media-sound/alsa-utils-0.9.2 to /
>>> emerge (9 of 68) media-libs/alsa-oss-0.9.1 to /
>>> emerge (10 of 68) sys-apps/findutils-4.1.7-r4 to /
>>> emerge (11 of 68) sys-apps/modutils-2.4.25 to /
>>> emerge (12 of 68) sys-apps/file-4.02 to /
>>> emerge (13 of 68) media-libs/libungif-4.1.0.1b to /
>>> emerge (14 of 68) app-editors/emacs-21.3-r1 to /
>>> emerge (15 of 68) sys-apps/procps-3.1.8 to /
>>> emerge (16 of 68) app-emulation/xmame-0.62.2-r1 to /
>>> emerge (17 of 68) sys-apps/man-1.5l-r2 to /
>>> emerge (18 of 68) kde-base/kdelibs-3.1.1a to /
ssl
alsa
cups
x86
>>> emerge (19 of 68) kde-base/kdegraphics-3.1.1a-r1 to /
>>> emerge (20 of 68) kde-base/kdebase-3.1.1a to /
pam
motif
encode
cups
oggvorbis
opengl
ssl
pam
java
>>> emerge (21 of 68) kde-base/kde-3.1.1a to /
>>> emerge (22 of 68) dev-lang/perl-5.8.0-r10 to /
>>> emerge (23 of 68) app-admin/gkrellm-2.1.9 to /
>>> emerge (24 of 68) sys-apps/help2man-1.29 to /
>>> emerge (25 of 68) sys-apps/diffutils-2.8.4-r3 to /
>>> emerge (26 of 68) sys-apps/gawk-3.1.2-r3 to /
>>> emerge (27 of 68) sys-apps/gzip-1.3.3-r1 to /
>>> emerge (28 of 68) sys-apps/sed-4.0.7 to /
>>> emerge (29 of 68) media-libs/fontconfig-2.1-r1 to /
>>> emerge (30 of 68) media-libs/freetype-2.1.4 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1862, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1098, in merge
    y=portage.portdb.findname(x[2])
  File "/usr/lib/python2.2/site-packages/portage.py", line 3032, in findname
    return self.root+"/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"
TypeError: unsubscriptable object


trippedwire root # emerge --version
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)


trippedwire root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts bonobo svga tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-05-01 18:08:32 UTC
Paleck: Can you try it again please? I don't think you successfully applied
the patch. It should have interupted the traceback and provided debug.

Or even better... Use portage-2.0.48_pre5 or better.

You'll have to unmask it in package.mask though. It should be in stable
around by Wednesday.