Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166204 - emerge broken : IOerror / OSerror
Summary: emerge broken : IOerror / OSerror
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 13:57 UTC by genbug
Modified: 2007-02-10 14:21 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 genbug 2007-02-10 13:57:36 UTC
since emerge --sync several days ago cache update fails and any attempt to use emerge is broken.

The original error showed IOerror [error5] now it shows OSerror [error5]


>>> Updating Portage cache:      Traceback (most recent call last):
  File "/usr/bin/emerge", line 5289, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5246, in emerge_main
    action_sync(settings, trees, mtimedb, myopts, myaction)
  File "/usr/bin/emerge", line 3986, in action_sync
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 4081, in action_metadata
    eclass_cache=ec, verbose_instance=noise_maker)
  File "/usr/lib/portage/pym/cache/util.py", line 22, in mirror_cache
    dead_nodes = dict.fromkeys(trg_cache.keys())
  File "/usr/lib/portage/pym/cache/template.py", line 95, in keys
    return tuple(self.iterkeys())
  File "/usr/lib/portage/pym/cache/flat_hash.py", line 110, in iterkeys
    for l in os.listdir(dirs[0]):
OSError: [Errno 5] Input/output error: '/var/cache/edb/dep/usr/portage/new/net-a
nalyzer'

the appearance of "new" in that path suggests to me the breakage is due to a hardcoded use or /usr/portage somewhere. My PORTAGE_DIR=/usr/portage/new seems to be exposing a bug in portage.

I currently have 2.1.2 installed. I cannot update to r9 since emerge is broken by the failed cache update.

thx.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-10 13:59:26 UTC
Check your filesystem and/or HDD, this is not a portage bug.
Comment 2 genbug 2007-02-10 14:21:27 UTC
beg your pardon this was indeed an fs error.