public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] either emerge or portage is completely broken
@ 2005-12-30  5:27 Robert Persson
  2005-12-30  6:31 ` Jason Stubbs
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Persson @ 2005-12-30  5:27 UTC (permalink / raw
  To: gentoo-user

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?

Many thanks
Robert
-- 
Robert Persson
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] either emerge or portage is completely broken
  2005-12-30  5:27 [gentoo-user] either emerge or portage is completely broken Robert Persson
@ 2005-12-30  6:31 ` Jason Stubbs
  2005-12-30  7:10   ` Robert Persson
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Stubbs @ 2005-12-30  6:31 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] either emerge or portage is completely broken
  2005-12-30  6:31 ` Jason Stubbs
@ 2005-12-30  7:10   ` Robert Persson
  0 siblings, 0 replies; 3+ messages in thread
From: Robert Persson @ 2005-12-30  7:10 UTC (permalink / raw
  To: gentoo-user

On December 29, 2005 10:31 pm Jason Stubbs was like:

> 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

That was it! Thanks!

I had a line reading "* media-video/mpeg4ip" in /etc/portage/package.mask

Robert
-- 
Robert Persson

"Don't use nuclear weapons to troubleshoot faults."
(US Air Force Instruction 91-111, 1 Oct 1997)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-30  7:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-30  5:27 [gentoo-user] either emerge or portage is completely broken Robert Persson
2005-12-30  6:31 ` Jason Stubbs
2005-12-30  7:10   ` Robert Persson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox