From: Rudmer van Dijk <rudmer.van.dijk@casema.nl>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Damaged file in portage cache
Date: Thu, 14 Jun 2007 07:59:24 +0200 [thread overview]
Message-ID: <200706140759.24339.rudmer.van.dijk@casema.nl> (raw)
In-Reply-To: <eaa71e3e0706131749y330bba13l648aa8913a018ed4@mail.gmail.com>
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\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.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2007-06-14 6:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200706140759.24339.rudmer.van.dijk@casema.nl \
--to=rudmer.van.dijk@casema.nl \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox