Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12127 - IOError: [Errno 22] Invalid argument
Summary: IOError: [Errno 22] Invalid argument
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-13 18:40 UTC by Matthew Kennedy (RETIRED)
Modified: 2011-10-30 22: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 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-13 18:40:31 UTC
I seem to get this every now and then. Started happening after the last portage
upgrade:

sys-apps/portage-2.0.45-r4

Its not much to go on. Let me know if I can provide more information.

In this example, I had just re-emerged ExtUtils-MakeMaker

>>> Regenerating /etc/ld.so.cache...
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages ...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1672, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 1195, in unmerge
    slotmap[myslot][localtree.dbapi.cpv_counter(mypkg)]=mypkg
  File "/usr/lib/python2.2/site-packages/portage.py", line 2554, in cpv_counter
    counter=long(cfile.readline())
IOError: [Errno 22] Invalid argument
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-14 00:08:22 UTC
never mind... the cause was just a run-of-the-mill ext3 filesystem corruption :(