On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote: > I cannot emerge --sync my system anymore, as this brings out the
try running `emerge --metadata` it will restore the portage cache in /var/cache/edb/dep Rudmer > 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: No such file or directory > ls: cannot access streamtuner-0.9.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. -- [EMAIL PROTECTED] mailing list