Summary: | emerge sync has left emerge unusable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Persson <ireneshusband> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Robert Persson
2005-12-29 22:54:36 UTC
After running emerge sync today emerge has been completely broken. Not even emerge --help works. Every time I tried to run emerge I got the message: Performing Global Updates: /usr/portage/profiles/updates/4Q-2005 (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/bin/emerge", line 10, in ? import portage File "/usr/lib/portage/pym/portage.py", line 7480, in ? do_upgrade(mykey) File "/usr/lib/portage/pym/portage.py", line 7385, in do_upgrade key=dep_getkey(line.split()[0]) File "/usr/lib/portage/pym/portage.py", line 3609, in dep_getkey if mydep[-1]=="*": IndexError: string index out of range I tried using portage-rescue but I ended up with error messages identical to the one above except for the line numbers (due to the different portage version used). I tried moving /usr/portage out of the way and I was then able to run emerge sync again, but once a new /usr/portage had been created I got the same problem as before. I tried running python-updater, but this relies on emerge and therefore failed. It seems that what the error messages were trying to tell me was that I had the invalid atom "* media-video/mpeg4ip" in my /etc/portage/package.mask (it should have been "# media-video/mpeg4ip"). |