Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65611 - Non-root users receive "Corruption detected when reading key" messages on emerge -pv package
Summary: Non-root users receive "Corruption detected when reading key" messages on eme...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-27 17:47 UTC by Mike C. Fletcher
Modified: 2004-09-27 20:35 UTC (History)
0 users

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 Mike C. Fletcher 2004-09-27 17:47:54 UTC
mcfletch@raistlin:~/pylive/cinemon$ emerge -pv pyxml

*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.


These are the packages that I would merge, in order:

Calculating dependencies  auxdb exception: [/usr/portage::dev-python/pyxml-0.8.3]: "Corruption detected when reading key 'pyxml-0.8.3'"


!!! Problem in dev-python/pyxml dependencies.
!!! [Errno 13] Permission denied: '/var/cache/edb/dep//usr/portage/dev-python/pyxml-0.8.3.portage_lockfile' exceptions
mcfletch@raistlin:~/pylive/cinemon$ su
Password:
root@raistlin:/home/mcfletch/pylive/cinemon$ emerge -pv pyxml

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] dev-python/pyxml-0.8.2  0 kB

Total size of downloads: 0 kB

Reproducible: Always
Steps to Reproduce:
1. run "emerge -pv packagename" as non-root/non-portage user


Actual Results:  
Error reported.

Expected Results:  
Allowed the pretend installation to continue, reporting emerge plan (as done
with previous versions).

Portage 2.0.51_rc6 (default-amd64-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.7-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.6-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/mcfletch/portagedev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bitmap-fonts cdr crypt dvd encode
esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww
mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam
pdflib perl png postgres python qt quicktime readline sdl slang spell ssl tcltk
tcpd truetype xml2 xmms xprint xv zlib"
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-09-27 18:58:55 UTC
how is this an issue? the user isn't in the portage group and doesn't have access to files owned by the portage group...nothing odd here. There is even a warning telling you why you get the error and how to correct it.
Comment 2 Mike C. Fletcher 2004-09-27 19:08:03 UTC
Certainly, there's a warning, but it means that non-portage users can't easily check what is involved in installing a new piece of software, or find the dependencies that are needed for a package (whereas before they were able to do so).

Oh well, feel free to mark it closed if you like, doesn't really affect me on my single-user machine, just seemed like it would be something people on multi-user machines would want.
Comment 3 Joe McCann (RETIRED) gentoo-dev 2004-09-27 20:35:06 UTC
If they are non portage users, what does it really matter to them. The information is mostly useful to those wanting to install packages via portage, which they need the permissions for anyways.