Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10423 - Broke all portage-related stuff :'-(
Summary: Broke all portage-related stuff :'-(
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-08 03:03 UTC by Rigo
Modified: 2011-10-30 22:17 UTC (History)
1 user (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 Rigo 2002-11-08 03:03:03 UTC
I don't know if it was > 40 config-files I rushed through way too quick, or the
crash while compiling glibc, but everything portage-related is broken now :'-(

Even env-update doesn't work anymore now, giving me this:

Traceback (most recent call last):
  File "/usr/sbin/env-update", line 3, in ?
    import portage
  File "/usr/lib/python2.2/site-packages/portage.py", line 4040, in ?
    mtimedb["old"]=grabints(root+"var/cache/edb/mtimes")
  File "/usr/lib/python2.2/site-packages/portage.py", line 449, in grabints
    newdict[myline[0]]=string.atoi(myline[1])
  File "/usr/lib/python2.2/string.py", line 220, in atoi
    return _int(s, base)
ValueError: invalid literal for int():
PATH='/usr/local/bin:/opt/bin:/opt/modeltech/bin:/opt/intel/compiler60/ia32/bin:/opt/ICAClient:/opt/opera/bin:/opt/rar/bin:/opt/RealPlayer8:/usr/X11R6/bin:/opt/eclipse:/opt/sun-jdk-1.4.1_rc1/bin:/opt/


It looks like my PATH-variable is too big to handle ?


Regards, Rigo
Comment 1 SpanKY gentoo-dev 2002-11-08 17:26:35 UTC
cd / 
tar -jxvf /usr/portage/sys-apps/portage/files/portage-rescue-2.0.43-x86.tbz2 
Comment 2 Rigo 2002-11-09 03:21:44 UTC
Thanks for the tip Vapier (Very good to know the rescue-file is there =), but it
doesn't work...When I use python direct (and import portage) it isn't working
too (Could it be the _ or . in PATH ?

Rigo
Comment 3 SpanKY gentoo-dev 2002-11-09 03:40:35 UTC
well try setting your PATH to a 'sane' value and then running emerge ... 
 
by 'sane' i mean: 
export PATH="/sbin:/bin:/usr/sbin:/usr/bin" 
Comment 4 Rigo 2002-11-09 04:07:41 UTC
It seems that portage's using a different 'version' of PATH then I do :(

echo $PATH gives a correct (sane =) setting though...

Rigo
Comment 5 SpanKY gentoo-dev 2002-11-09 04:32:21 UTC
so setting the path to a 'sane' value did not fix the problem ? 
Comment 6 Rigo 2002-11-09 08:05:30 UTC
Nope....I found out it reads the PATH in var/cache/edb/mtimes, and then crashes.

Changing the PATH-variable overthere gives me the same error....
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2002-11-10 03:19:35 UTC
delete it.
Post your whole path, if it's still a problem. (Line wrap it too)
Comment 8 Rigo 2002-11-11 04:49:51 UTC
Sigh, that I didn't try that before....


Thanx a lot,


Rigo