public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: James <wireless@tampabay.rr.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user]  Re: emerge error
Date: Wed, 23 Jan 2008 16:03:54 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080123T154802-683@post.gmane.org> (raw)
In-Reply-To: 4796EFAA.2090300@konstantinhansen.de

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	other threads:[~2008-01-23 16:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  3:08 [gentoo-user] emerge error James
2008-01-23  5:58 ` James Ausmus
2008-01-23  7:41   ` KH
2008-01-23 16:03     ` James [this message]
2008-01-23 16:13       ` [gentoo-user] " James Ausmus
2008-01-23 16:29         ` James
2008-01-23 16:39           ` James
2008-01-23 16:49             ` Neil Bothwick
2008-01-23 18:33               ` James
2008-01-23 19:37                 ` Neil Bothwick
2008-01-23 20:08                   ` James
2008-01-23 23:32                     ` Neil Bothwick
2008-01-24  3:33                       ` Hal Martin
2008-01-24 13:46                       ` James
2008-01-24 20:07                         ` Neil Bothwick
2008-01-25  1:34                           ` James
2008-01-24  5:12             ` Joseph
2008-01-23 16:31       ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20080123T154802-683@post.gmane.org \
    --to=wireless@tampabay.rr.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox