public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] emerge broken
@ 2002-06-13 22:13 lang
  2002-06-13 23:11 ` Lars Pechan
  0 siblings, 1 reply; 2+ messages in thread
From: lang @ 2002-06-13 22:13 UTC (permalink / raw
  To: gentoo-dev

OK, no one has been able to offer a solution to my problem with emerge
erroring out with:

>>> Merging sys-apps/portage-1.9.13 to /
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1242, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 619, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File
"/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py",line 1102, in doebuild
    return
merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])  File
"/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py",line 1354, in merge
    mylink.merge(pkgloc,infloc,myroot,myebuild)
  File
"/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py",line 3180, in merge
    self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File
"/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/portage.py",line 2858, in treewalk
    packagecounter=long(globalcounterfile.readline())
ValueError: invalid literal for long():


With any package I try to emerge. I really don't want to reinstall, just
don't have a lot of time. Does anyone know offhand if untarring the stage3
tarball over my current / directory will do evil things to my system? It's
just a shot in the dark, but I'm thinking it might get things in working
order, then re emerge the handfull of apps that I use. Any comments on this
plan?





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

* Re: [gentoo-dev] emerge broken
  2002-06-13 22:13 [gentoo-dev] emerge broken lang
@ 2002-06-13 23:11 ` Lars Pechan
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Pechan @ 2002-06-13 23:11 UTC (permalink / raw
  To: gentoo-dev

This, unfortunately, is not an uncommon problem: 
http://bugs.gentoo.org/show_bug.cgi?id=1829

Should get you up and running again. I also remember seeing a post offering a 
script to recreate the counter file with the correct number of packages in 
it. 

HTH

/Lasse

On Fri, 14 Jun 2002 10:13, lang@tharin.com wrote:
> OK, no one has been able to offer a solution to my problem with emerge
>
> erroring out with:
> >>> Merging sys-apps/portage-1.9.13 to /
>
> Traceback (most recent call last):
>   File "/usr/bin/emerge", line 1242, in ?
>     mydepgraph.merge(mydepgraph.altlist())
>   File "/usr/bin/emerge", line 619, in merge
>     retval=portage.doebuild(y,"merge",myroot,edebug)
>   File
> "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/por
>tage.py",line 1102, in doebuild return
> merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"
>]+"/build-info",myroot,myebuild=settings["EBUILD"])  File
> "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/por
>tage.py",line 1354, in merge mylink.merge(pkgloc,infloc,myroot,myebuild)
>   File
> "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/por
>tage.py",line 3180, in merge
> self.treewalk(mergeroot,myroot,inforoot,myebuild)
>   File
> "/var/tmp/portage/portage-1.9.13/image//usr/lib/python2.2/site-packages/por
>tage.py",line 2858, in treewalk
> packagecounter=long(globalcounterfile.readline())
> ValueError: invalid literal for long():
>
>
> With any package I try to emerge. I really don't want to reinstall, just
> don't have a lot of time. Does anyone know offhand if untarring the stage3
> tarball over my current / directory will do evil things to my system? It's
> just a shot in the dark, but I'm thinking it might get things in working
> order, then re emerge the handfull of apps that I use. Any comments on this
> plan?
>
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev



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

end of thread, other threads:[~2002-06-13 23:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-13 22:13 [gentoo-dev] emerge broken lang
2002-06-13 23:11 ` Lars Pechan

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