1 |
On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote: |
2 |
> I cannot emerge --sync my system anymore, as this brings out the |
3 |
|
4 |
try running `emerge --metadata` it will restore the portage cache |
5 |
in /var/cache/edb/dep |
6 |
|
7 |
Rudmer |
8 |
|
9 |
|
10 |
> following error : |
11 |
> >>> Updating Portage cache: Traceback (most recent call last): |
12 |
> |
13 |
> File "/usr/bin/emerge", line 5530, in ? |
14 |
> retval = emerge_main() |
15 |
> File "/usr/bin/emerge", line 5489, in emerge_main |
16 |
> action_metadata(settings, portdb, myopts) |
17 |
> File "/usr/bin/emerge", line 4300, in action_metadata |
18 |
> eclass_cache=ec, verbose_instance=noise_maker) |
19 |
> File "/usr/lib/portage/pym/cache/util.py", line 22, in mirror_cache |
20 |
> dead_nodes = dict.fromkeys(trg_cache.keys()) |
21 |
> File "/usr/lib/portage/pym/cache/template.py", line 95, in keys |
22 |
> return tuple(self.iterkeys()) |
23 |
> File "/usr/lib/portage/pym/cache/flat_hash.py", line 122, in iterkeys |
24 |
> st = os.lstat(p) |
25 |
> OSError: [Errno 2] No such file or directory: |
26 |
> '/var/cache/edb/dep/usr/portage/net-misc/vmpsd-1.3-r\x12' |
27 |
> |
28 |
> |
29 |
> So, it looks like the problem is with the content of the directory |
30 |
> /var/cache/edb/dep/usr/portage/net-misc/ |
31 |
> |
32 |
> localhost net-misc # cd /var/cache/edb/dep/usr/portage/net-misc/ |
33 |
> localhost net-misc # ls ./ (TAB PRESSED) |
34 |
> asterisk-chan_capi-0.4.^P_pre1 netprofiles)ims-0.1.0134 |
35 |
> stuNnel-4.15 htbinit^I0.8.5 netstat)nat-1.4.7 |
36 |
> suite3230-3.3.2_p1 |
37 |
> icaclient-9^N0-r1 networkianager-0.6.4_pre20061028 |
38 |
> tightvnc-1.^R.9-r4 |
39 |
> iputils)20060512 sipsak-0.9.^Q |
40 |
> vmpsd-1.3-r^R |
41 |
> linUx-identd-1.3-r1 stoje-2.2e |
42 |
> vnc-4.1^N2-r1 |
43 |
> lksctp-Pools-1.0.4 stone-2^N2c |
44 |
> memcached-1^N1.13-r1 streamtuner-0.9^Y.99 |
45 |
> |
46 |
> This shows that the offending file somehow exists (?); but these files |
47 |
> cannot be accessed, as the ls command shows : |
48 |
> localhost net-misc # ls |
49 |
> ls: cannot access vmpsd-1.3-r: No such file or directory |
50 |
> ls: cannot access streamtuner-0.9.99: No such file or directory |
51 |
> ls: cannot access vnc-4.12-⎼1: N⎺ ⎽┤␌ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤ |
52 |
> ┌⎽: ␌▒┼┼⎺├ ▒␌␌␊⎽⎽ ┼␊├⎻⎼⎺°␋┌␊⎽)␋└⎽-0.1.0134: N⎺ ⎽┤␌ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤ |
53 |
> ┌⎽: ␌▒┼┼⎺├ ▒␌␌␊⎽⎽ ┼␊├⎽├▒├)┼▒├-1.4.7: N⎺ ⎽┤␌ °␋┌␊ ⎺⎼ ␍␋⎼␊␌├⎺⎼≤ |
54 |
> <+ more garbage > |
55 |
> |
56 |
> Is my filesystem damaged ? |
57 |
> rm -rf /var/cache/edb/dep/usr/portage/net-misc has no effect on these |
58 |
> problematic files ; I have executed fsck.ext2 on the filesystem, and |
59 |
> this reported no error. |
60 |
> |
61 |
> Many thanks for your helpful suggestions. |
62 |
|
63 |
|
64 |
-- |
65 |
gentoo-user@g.o mailing list |