KH <gentoo-user <at> konstantinhansen.de> writes:

> James Ausmus wrote:

> > 1. Check your disk space, make sure it's not full

Not a problem...

> > 2. As root, do a chown -R portage:portage /var/cache/edb

> add the -c to chown
>        -c, --changes
>               like verbose but report only when a change is made


Many of the files were owned by root:portage

Now they are owned by portage:portage, but that did not 
fix the error:



calculating world dependencies \Traceback (most recent call last)
  File "/usr/bin/emerge", line 6518, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6512, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 5813, in action_build
    mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
  File "/usr/bin/emerge", line 1174, in __init__
    vardb.aux_get(pkg, self._mydbapi_keys))))
  File "/usr/bin/emerge", line 948, in _aux_get_wrapper
    self._portdb.aux_get(pkg, self._portdb_keys)))
  File "/usr/lib/portage/pym/portage.py", line 6552, in aux_get
    try:                                
del self.auxdb[mylocation][mycpv]
  File "/usr/lib/portage/pym/cache/template.py", 
line 82, in __delitem__
    self._delitem(cpv)
  File "/usr/lib/portage/pym/cache/flat_hash.py", 
line 98, in _delitem
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: 
sys-apps/baselayout-1.12.10-r5 is
 corrupt:[Errno 13] Permission denied:
var/cache/edb/dep/usr/portage/sys-apps/baselayout-1.12.10-r5'



The files that had their permissions changed were:

changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-lpd-20070329' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-lpd-20070928' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-cups-20070329' to portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-cups-20070928' to portage:portage

snip>
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-screen-20070329' to
portage:portage
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-screen-20070928' to
portage:portage
chown: cannot access var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20050408': 
Permission denied
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20050626' to portage:portage
chown: cannot access var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20061114': 
Permission denied
changed ownership of var/cache/edb/dep/usr/
portage/sec-policy/selinux-bind-20070329' to portage:portage



Maybe the '/usr/bin/emerge' executable is corrupted. Can I 
just scp over a copy from another similar arch machine?


Any other ideas?

James


-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to