Gentoo Archives: gentoo-user

From: Rudmer van Dijk <rudmer.van.dijk@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Damaged file in portage cache
Date: Thu, 14 Jun 2007 09:10:39
Message-Id: 200706141100.47328.rudmer.van.dijk@casema.nl
In Reply to: Re: [gentoo-user] Damaged file in portage cache by Jean-Baptiste Mestelan
1 On Thursday 14 June 2007, Jean-Baptiste Mestelan wrote:
2 > Many thanks for your kind answers.
3 >
4 > I have tried to emerge --metadata, too, and the result is just the same.
5 >
6 > localhost ~ # emerge --metadata
7 >
8 > >>> Updating Portage cache: Traceback (most recent call last):
9 >
10 > File "/usr/bin/emerge", line 5530, in ?
11 > retval = emerge_main()
12 > File "/usr/bin/emerge", line 5489, in emerge_main
13 > action_metadata(settings, portdb, myopts)
14 > File "/usr/bin/emerge", line 4300, in action_metadata
15 > eclass_cache=ec, verbose_instance=noise_maker)
16 > File "/usr/lib/portage/pym/cache/util.py", line 22, in mirror_cache
17 > dead_nodes = dict.fromkeys(trg_cache.keys())
18 > File "/usr/lib/portage/pym/cache/template.py", line 95, in keys
19 > return tuple(self.iterkeys())
20 > File "/usr/lib/portage/pym/cache/flat_hash.py", line 122, in iterkeys
21 > st = os.lstat(p)
22 > OSError: [Errno 2] No such file or directory:
23 > '/var/cache/edb/dep/usr/portage/net-misc/vmpsd-1.3-r\x12'
24 >
25 > I have manually deleted a lot of files from /var/cache/edb/dep, but
26 > the offending ones can neither be removed nor renamed. (Was I all
27 > right, in manually butchering /var/cache/edb/dep ?) The fact that the
28 > remaining files contain strange characters is puzzling, indeed.
29 >
30 > I thought some wise list member might correct me in the way I use
31 > portage, but I am getting to think that the problem is with the file
32 > system, more than with portage ?
33
34 hmm, then it really looks like your filesystem is screwed...
35
36 what filesystem are you using?
37 and have you tried to do a fsck on it?
38
39
40 > I'll report a bug (Gentoo bug ?) , if this is more appropriate.
41
42 I don't think it is useful, the problem is clearly not in portage but on your
43 filesystem. on the other hand if your filesystem is damaged through use of
44 portage...
45
46
47 > Here is my emerge --info, anyhow :
48 <snip>
49 > gentoo-user@g.o mailing list
50 >
51 > éí¢‹¬z¸žÚ(¢¸&j)bž b²
52
53 hmm, this is not suppost to be there...
54
55
56 you really should be backing up your valuable data and checking your
57 haddrive/filesystem for errors.
58
59
60 Rudmer
61 --
62 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Damaged file in portage cache Jean-Baptiste Mestelan <mestelan@×××××.com>