public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Damaged file in portage cache
@ 2007-06-14  0:49 Jean-Baptiste Mestelan
  2007-06-14  4:59 ` Philip Webb
  2007-06-14  5:59 ` Rudmer van Dijk
  0 siblings, 2 replies; 10+ messages in thread
From: Jean-Baptiste Mestelan @ 2007-06-14  0:49 UTC (permalink / raw
  To: gentoo-user

Hello.

I cannot emerge --sync my system anymore, as this brings out the
following error :
>>> Updating Portage cache:      Traceback (most recent call last):
  File "/usr/bin/emerge", line 5530, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5489, in emerge_main
    action_metadata(settings, portdb, myopts)
  File "/usr/bin/emerge", line 4300, 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 122, in iterkeys
    st = os.lstat(p)
OSError: [Errno 2] No such file or directory:
'/var/cache/edb/dep/usr/portage/net-misc/vmpsd-1.3-r\x12'


So, it looks like the problem is with the content of the directory
/var/cache/edb/dep/usr/portage/net-misc/

localhost net-misc # cd /var/cache/edb/dep/usr/portage/net-misc/
localhost net-misc # ls ./ (TAB PRESSED)
asterisk-chan_capi-0.4.^P_pre1    netprofiles)ims-0.1.0134          stuNnel-4.15
htbinit^I0.8.5                    netstat)nat-1.4.7
suite3230-3.3.2_p1
icaclient-9^N0-r1                 networkianager-0.6.4_pre20061028
tightvnc-1.^R.9-r4
iputils)20060512                  sipsak-0.9.^Q
vmpsd-1.3-r^R
linUx-identd-1.3-r1               stoje-2.2e
vnc-4.1^N2-r1
lksctp-Pools-1.0.4                stone-2^N2c
memcached-1^N1.13-r1              streamtuner-0.9^Y.99

This shows that the offending file somehow exists (?); but these files
cannot be accessed, as the ls command shows :
localhost net-misc # ls
ls: cannot access vmpsd-1.3-r\x12: No such file or directory
ls: cannot access streamtuner-0.9\x19.99: No such file or directory
ls: cannot access vnc-4.12-⎼1: N⎺ ⎽┤␌␤ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤
┌⎽: ␌▒┼┼⎺├ ▒␌␌␊⎽⎽ ┼␊├⎻⎼⎺°␋┌␊⎽)␋└⎽-0.1.0134: N⎺ ⎽┤␌␤ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤
┌⎽: ␌▒┼┼⎺├ ▒␌␌␊⎽⎽ ┼␊├⎽├▒├)┼▒├-1.4.7: N⎺ ⎽┤␌␤ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤
<+ more garbage >

Is my filesystem damaged ?
rm -rf /var/cache/edb/dep/usr/portage/net-misc has no effect on these
problematic files ; I have executed fsck.ext2 on the filesystem, and
this reported no error.

Many thanks for your helpful suggestions.

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

end of thread, other threads:[~2007-06-14 14:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-14  0:49 [gentoo-user] Damaged file in portage cache Jean-Baptiste Mestelan
2007-06-14  4:59 ` Philip Webb
2007-06-14  7:19   ` Kent Fredric
2007-06-14  5:59 ` Rudmer van Dijk
2007-06-14  8:42   ` Jean-Baptiste Mestelan
2007-06-14  9:00     ` Rudmer van Dijk
2007-06-14 12:27       ` Jean-Baptiste Mestelan
2007-06-14 13:28         ` Rudmer van Dijk
2007-06-14 13:10     ` Alex Schuster
2007-06-14 13:59       ` Jean-Baptiste Mestelan

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