One might think you would not have to be root to extract a list of files that will be downloaded in case of an emerge. ~ % emerge -fpu world Calculating world dependencies ...done! !!! File system problem. (ReadOnly? Out of space?) !!! Perhaps: rm -Rf /var/tmp/portage !!! [Errno 1] Operation not permitted: '/var/tmp/portage' !!! Fetch for /usr/portage/app-emulation/bochs/bochs-1.4.ebuild failed, continuing... !!! File system problem. (ReadOnly? Out of space?) !!! Perhaps: rm -Rf /var/tmp/portage !!! [Errno 1] Operation not permitted: '/var/tmp/portage' 1~ %
The same problem occurs for "emerge -up system" and "emerge -up world" for me as non-root. I don't always want to be root just to see if there are any ebuilds that need updating. I'm running portage-2.0.47-r10 with ACCEPT_KEYWORDS="~x86", I can't remeber exactly which version of portage started these errors but they won't go away. Here is the output of "emerge -up system" stu@gentoo-bear stu $ emerge -up system These are the packages that I would merge, in order: Calculating system dependencies \ aux_get(): (3) Error in sys-libs/cracklib-2.7-r6 ebuild. Check for syntax error or corruption in the ebuild. (--debug) ...done! AS root I don't get the error message, running "emerge -up system --debug" as suggested gives stu@gentoo-bear stu $ emerge -up system --debug These are the packages that I would merge, in order: Calculating system dependencies \ /usr/sbin/ebuild.sh: line 1137: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied /usr/sbin/ebuild.sh: line 1138: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied /usr/sbin/ebuild.sh: line 1139: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied ............. continues until /usr/sbin/ebuild.sh: line 1147: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied /usr/sbin/ebuild.sh: line 1148: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied /usr/sbin/ebuild.sh: line 1149: /var/cache/edb/dep//sys-libs/cracklib-2.7-r6: Permiss ion denied aux_get(): (3) Error in sys-libs/cracklib-2.7-r6 ebuild. Check for syntax error or corruption in the ebuild. (--debug) . ..done! looking at /usr/sbin/ebuild.sh it appears to be creating/updating the dependancy list for sys-libs/cracklib-2.7-r6, however "ls -l /var/cache/edb/dep" shows all directories have drwsrwsr-x root portage, and the files in /var/cache/edb/dep/sys-libs are all -rw-rw-r-- root portage, meaning that my normal user account can't write to these files - note these perms are set in /usr/sbin/ebuild.sh. Also adding userpriv into FEATURES doesn't change the results (or lack of them actually ;) ). Thanks StuBear
You have to be in the portage group. Please read the loud beeping message that happens when you emerge portage.
Thanks for the info. Not to be rude, but I didn't emerge portage, so there were no loud beeping messages to READ! This is a new system from the stage3-x86-1.4_pre20030327.tar.bz2 tarball. It already came with portage-2.0.47-r10. Also there is no mention of "portage group" on http://www.gentoo.org/doc/en/gentoo-x86-install.xml or http://www.gentoo.org/doc/en/faq.xml, can this be added to one of these?? As far as I can see the only palce that says anything about the portage group is that message. Looking at the ebuild for portage I can see the notice - wouldn't this be better as ewarn rather than einfo so that it stands out. p.s. My machine doesn't "beep" as I haven't connected my pc-speaker and I use "visible-bell" for all my terms
Shouldn't one as anon root user be able to emerge -f package to download the source into the current dir..or perhaps a different flag?
This is corrected by telling the user that they aren't in the right groups. portage-2.0.48 will have it.