I always wondered why you cant do "emerge -p" as user (but "emerge -s" works). So i checked /usr/bin/emerge and hacked one line so that it works for me. This does not mean that it has to work for every gentoo pc out there - i'm quite a python n00b (this was my first line). Anyways, here is my modification. Line 109 - replace the current line with: if os.getuid()!=0 and ("--help" not in myopts) and ("--version" not in myopts) and ("search"!=myaction) and ("--pretend" not in myopts): Hope this is useful for you, -phoen][x-
Emerge -p and -s will now work for root or anyone in the "wheel" group. (as of Portage 2.0.8)