View previous topic :: View next topic |
Author |
Message |
tonne n00b
Joined: 18 Jul 2003 Posts: 7 Location: Sachsen
|
Posted: Fri Jul 18, 2003 10:16 pm Post subject: NameError: global name ´getbinpkg´ is not defined. |
|
|
Hallo,
Hab ein Probleme mit dem "bootstrap" Prozess: Nach aufrufen des bootstrap-Shellscripts was noch ohne Probleme bis zu dem Punkt "Configuring environment..." gelangt, erhalte ich dann folgende Meldung:
Quote: |
Performing Global Updates: /usr/share/profiles/updates/1Q-2003
(could take a couple of minutes, if you have a lot of binary packages.)
.=´update pass´ *=´binary update´ @=´/var/db update´
.Traceback (most recent call last):
Bisher noch nichts aussergewöhnliches, doch jetzt:
File "/usr/sbin/emerge", line 13, in ?
import portage
File "/usr/lib/python2.2/site-packages/portage.py", line 5032, in ? do_upgrade(mykey)
File "/usr/lib/python2.2/site-packages/portage.py", line 4966, in ? do_upgrade db["/"]["bintree"].move_ent(mysplit)
File "/usr/lib/python2.2/site-packages/portage.py", line 3814, in ? move_ent self.populate()
File "/usr/lib/python2.2/site-packages/portage.py", line 3891, in ? populate if (not os.path.isdir(self.pkgdir) and not getbinpkg):
NameError: global name ´getbinpkg´is not defined.
|
Dann springt er zurück in die Shell.
Hoffe ihr könnt mir helfen, musste nämlich die ganze (Fehler-)Meldung abtippseln (pipen/umleiten funzte nicht).
Cheers,
/dev/null |
|
Back to top |
|
|
kali n00b
Joined: 30 Sep 2002 Posts: 39 Location: Rome, Italy
|
Posted: Sat Jul 19, 2003 2:48 am Post subject: |
|
|
Code: | ebuild /usr/portage/sys-apps/portage/portage-2.0.49_pre11.ebuild merge |
worked for me |
|
Back to top |
|
|
tonne n00b
Joined: 18 Jul 2003 Posts: 7 Location: Sachsen
|
Posted: Sat Jul 19, 2003 8:39 am Post subject: |
|
|
Thank you very much! |
|
Back to top |
|
|
azote Guru
Joined: 17 Sep 2002 Posts: 415
|
Posted: Sat Jul 19, 2003 3:55 pm Post subject: |
|
|
add an 's' to the end of the "getbinpkg" in lines 3891 and 3893 of /usr/lib/python2.2/site-packages/portage.py, so it reads "getbinpkgs" _________________ contact me -> azote@mail.i2p
What do you want to emerge today?
if you think that a person is normal, it is because you do not know them well |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9538 Location: beyond the rim
|
Posted: Sat Jul 19, 2003 11:53 pm Post subject: |
|
|
It's fixed in 2.0.48-r5 (it is the only reason -r5 exists ) |
|
Back to top |
|
|
ts77 Apprentice
Joined: 23 Mar 2003 Posts: 200 Location: Berlin, Germany
|
Posted: Mon Jul 21, 2003 3:36 pm Post subject: |
|
|
ärgerlich wenn man deswegen r5 nicht mal installieren konnte .
Aber mit den hiesigen Tipps klappt es ja glücklicherweise.
Thx to all. |
|
Back to top |
|
|
|