Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25105 - emerge fails as root. it does not matter what for a parameter is given.
Summary: emerge fails as root. it does not matter what for a parameter is given.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 25320 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-23 02:31 UTC by Maik Zutz
Modified: 2011-10-30 22:19 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 Maik Zutz 2003-07-23 02:31:20 UTC
bash-2.05b# emerge zip 
 
Performing Global Updates: /usr/portage/profiles/updates/3Q-2003 
(Could take a couple minutes if you have a lot of binary packages.) 
  .='update pass'  *='binary update'  @='/var/db move' 
.Traceback (most recent call last): 
  File "/usr/bin/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 3893, in populate 
    if (not os.path.isdir(self.pkgdir+"/All") and not getbinpkg): 
NameError: global name 'getbinpkg' is not defined
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-23 03:03:13 UTC
which portage version?
Comment 2 Maik Zutz 2003-07-23 03:07:24 UTC
made as user: 
emerge search portage 
 
*  sys-apps/portage 
      Latest version available: 2.0.48-r5 
      Latest version installed: 2.0.48-r4 
      Size of downloaded files: 222 kB 
      Homepage:    http://www.gentoo.org 
      Description: Portage ports system 
 
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2003-07-23 09:58:40 UTC
update to -r5, it is fixed there (use "ebuild /usr/portage/sys-apps/portage/portage-2.0.48-r5.ebuild merge")
Comment 4 Blu3 2003-07-23 10:44:04 UTC
a bit hard to do when all emerge functions fail ;)
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-07-23 18:51:16 UTC
Use a rescue portage.
/usr/portage/sys-apps/portage/files/README.rescue
Comment 6 SpanKY gentoo-dev 2003-07-26 11:17:40 UTC
*** Bug 25320 has been marked as a duplicate of this bug. ***
Comment 7 Markus Nigbur (RETIRED) gentoo-dev 2003-11-19 06:13:51 UTC
See comment #3