public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] emerge --sync fails with CacheCorruption
@ 2007-10-23  1:11 Grant
  2007-10-23  1:31 ` Zac Medico
  0 siblings, 1 reply; 3+ messages in thread
From: Grant @ 2007-10-23  1:11 UTC (permalink / raw
  To: Gentoo mailing list

Whenever I try to emerge --sync my laptop it fails like this:

>>> Updating Portage cache:   18%Traceback (most recent call last):
  File "/usr/bin/emerge", line 6474, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 6429, in emerge_main
    action_sync(settings, trees, mtimedb, myopts, myaction)
  File "/usr/bin/emerge", line 4942, in action_sync
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 5036, in action_metadata
    eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 31, in mirror_cache
    try:        entry = src_cache[x]
  File "/usr/lib/portage/pym/cache/metadata.py", line 32, in __getitem__
    return flat_hash.database.__getitem__(self, cpv)
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 38, in __getitem__
    raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
[Errno 5] Input/output error

I thought it was disc space but I have plenty.

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge --sync fails with CacheCorruption
  2007-10-23  1:11 [gentoo-user] emerge --sync fails with CacheCorruption Grant
@ 2007-10-23  1:31 ` Zac Medico
  2007-10-23 13:31   ` Grant
  0 siblings, 1 reply; 3+ messages in thread
From: Zac Medico @ 2007-10-23  1:31 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Grant wrote:
>   File "/usr/lib/portage/pym/cache/util.py", line 31, in mirror_cache
>     try:        entry = src_cache[x]
>   File "/usr/lib/portage/pym/cache/metadata.py", line 32, in __getitem__
>     return flat_hash.database.__getitem__(self, cpv)
>   File "/usr/lib/portage/pym/cache/flat_hash.py", line 38, in __getitem__
>     raise cache_errors.CacheCorruption(cpv, e)
> cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
> [Errno 5] Input/output error

http://bugs.gentoo.org/show_bug.cgi?id=196680

It is a bug in portage, but it's also abnormal to receive an
Input/output error in that case, so you should probably run fsck on
that filesystem.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHHU7//ejvha5XGaMRAncHAKDOKb1mCZRZwppLJDrzUyGAf3wmFACg2COt
6A3aSb7i3ZWOdGgj/slVk0Y=
=vZAK
-----END PGP SIGNATURE-----
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] emerge --sync fails with CacheCorruption
  2007-10-23  1:31 ` Zac Medico
@ 2007-10-23 13:31   ` Grant
  0 siblings, 0 replies; 3+ messages in thread
From: Grant @ 2007-10-23 13:31 UTC (permalink / raw
  To: gentoo-user

> >   File "/usr/lib/portage/pym/cache/util.py", line 31, in mirror_cache
> >     try:        entry = src_cache[x]
> >   File "/usr/lib/portage/pym/cache/metadata.py", line 32, in __getitem__
> >     return flat_hash.database.__getitem__(self, cpv)
> >   File "/usr/lib/portage/pym/cache/flat_hash.py", line 38, in __getitem__
> >     raise cache_errors.CacheCorruption(cpv, e)
> > cache.cache_errors.CacheCorruption: dev-games/ode-0.8 is corrupt:
> > [Errno 5] Input/output error
>
> http://bugs.gentoo.org/show_bug.cgi?id=196680
>
> It is a bug in portage, but it's also abnormal to receive an
> Input/output error in that case, so you should probably run fsck on
> that filesystem.

Fixed, thanks Zac!

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-23 13:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-23  1:11 [gentoo-user] emerge --sync fails with CacheCorruption Grant
2007-10-23  1:31 ` Zac Medico
2007-10-23 13:31   ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox