On Friday 30 December 2005 14:27, Robert Persson wrote:
> I ran emerge sync earlier this evening and I got the following at the end
> of the output:
>
> 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 now get the same error messages when I try to emerge anything, including
> portage. In other words portage is completely broken.
>
> What should I do?

One of your /etc/portage/package.* files contains an invalid atom. By the look 
of the traceback, you have a line with just a "*" perhaps?

--
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list

Reply via email to