Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40663 - new version portage 2.0.50 fails on "emerge -up world"
Summary: new version portage 2.0.50 fails on "emerge -up world"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 40760 42930 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-06 17:59 UTC by Cedar McKay
Modified: 2004-02-25 16:55 UTC (History)
2 users (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 Cedar McKay 2004-02-06 17:59:46 UTC
After an "emerge sync" there was a notice that a new version of portage was available, and to update that before others. So I did "emerge portage" and things seemed to go smoothly. However, then I did "emerge -up world" and go the following error.


sagan root # emerge -up world

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

Calculating world dependencies \Traceback (most recent call last):
  File "/usr/bin/emerge", line 2513, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1105, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 4673, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4684, in xmatch
    myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 3531, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (net-www/apache-2.0.47) (try adding an '=')"



downgrading to portage-2.0.49-r21 seemed to fix the problem

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



sagan themes # emerge info
Portage 2.0.50 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
===============================================================
==
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.3.10p1
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config 
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb cdr crypt cups encode foomaticdb gdbm gif gpm gtk2 imap 
imlib java jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang spell sse ssl svga 
tcltk tcpd truetype v4l x86 xml2 xmms xv zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-02-06 18:00:58 UTC

*** This bug has been marked as a duplicate of 29856 ***
Comment 2 Cedar McKay 2004-02-06 18:25:23 UTC
I believe that this bug was marked a dup of #29856 in error. That bug is a rambling argument about correct syntax for portage, and what the man page should say. My problem is simple. With 2.0.50 "emerge -up world" fails. This is a basic command, that should just work. Changing to 2.0.49-r21 and everything works as expected.
Comment 3 SpanKY gentoo-dev 2004-02-06 18:33:58 UTC
no, i'm pretty sure marius meant it

yeah it's supposed to work but that doesnt change where the error is coming from
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-02-06 18:51:11 UTC
`grep apache /var/cache/edb/world`
Comment 5 Cedar McKay 2004-02-06 23:32:35 UTC
ahh, I see. adding I had a pinned version of apache, but without the "=" sign. I unpinned it, and everything is dandy. Thanks for the help.
Comment 6 Dale K Dicks 2004-02-07 06:18:06 UTC
I have similar problems after the upgrade as well - I got the failed to update counter problem.
Comment 7 Matthew Daubenspeck 2004-02-07 08:00:36 UTC
I have the same problem after the upgrade, and I do not have any packages pinned.
Comment 8 SpanKY gentoo-dev 2004-02-07 14:19:13 UTC
*** Bug 40760 has been marked as a duplicate of this bug. ***
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2004-02-07 21:35:08 UTC
Then check the files in /etc/portage/ if it exists
Comment 10 Nicholas Jones (RETIRED) gentoo-dev 2004-02-10 23:39:05 UTC
2.0.50-r1 fixes the world file...

any further issues are more than likely due to
bad ebuild deps or a user modification of some kind.

Comment 11 SpanKY gentoo-dev 2004-02-25 16:55:50 UTC
*** Bug 42930 has been marked as a duplicate of this bug. ***