Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"emerge -s" not working as user
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Mon Nov 25, 2002 4:54 pm    Post subject: "emerge -s" not working as user Reply with quote

I noticed the problem after i upgraded to the latest baselayout.
"emerge -s" does not work for non-root users anymore. I get the following error message:
Code:

$ emerge -s foo
portage initialization: your system doesn't have a "wheel" group.
Please fix this so that Portage can operate correctly (It's normally GID 10)
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2, in ?
    import os,sys,portage,xpak,string,re,commands,time,threading,shutil
  File "/usr/lib/python2.2/site-packages/portage.py", line 4098, in ?
    os.chown(cachedir,uid,wheelgid)
NameError: global name 'wheelgid' is not defined


The group wheel exists and has GID 10. Furthermore my user is member of this group (su works).
Code:

# cat /etc/group | grep wheel
wheel::10:root,dek,tv

Any ideas?
_________________
Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20054

PostPosted: Mon Nov 25, 2002 7:04 pm    Post subject: Reply with quote

Did you change the /etc/group file after updating baselayout? Do you have any ._cfg????_* files left in /etc ?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Mon Nov 25, 2002 7:46 pm    Post subject: Reply with quote

I kept my old /etc/group and removed ._cfg????_group. There are no more new configfiles in /etc left.

I extracted the new group file again and compared it with my current one.
The group "portage::250:portage" was missing. So i added the line. But it makes no difference, emerge gives the same error.
_________________
Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music.
Back to top
View user's profile Send private message
dek
l33t
l33t


Joined: 16 May 2002
Posts: 657
Location: Germany

PostPosted: Sat Dec 07, 2002 6:44 pm    Post subject: Reply with quote

Problem solved. For some reason /etc/group was only readable to root. 8O
_________________
Computer games don't affect kids. I mean if Pacman affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum