Many thanks for your kind answers.

I have tried to emerge --metadata, too, and the result is just the same.

localhost ~ # emerge --metadata

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'


I have manually deleted a lot of files from  /var/cache/edb/dep, but
the offending ones can  neither be removed nor renamed. (Was I all
right, in manually butchering /var/cache/edb/dep ?) The fact that the
remaining files contain strange characters is puzzling, indeed.


I thought some wise list member might correct me in the way I use
portage, but I am getting to think that the problem is with the file
system, more than with portage ?
I'll report a bug (Gentoo bug ?) , if this is more appropriate.
Here is my emerge --info, anyhow :

localhost ~ # emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-3.4.6,
glibc-2.5-r2, 2.6.17-rt5 i686)
=================================================================
System uname: 2.6.17-rt5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 14 Jun 2007 00:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.modulix.net/gentoo/ "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio
/usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb bitmap-fonts cairo cdr cli
cracklib crypt cups dbus dri dssi dvd dvdr dvdread eds emboss encode
evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2
guile hal howl iconv ipv6 isdnlog jack jackmidi java jpeg kde kerberos
lash ldap libg++ mad midi mikmod mozbranding mp3 mpeg mudflap ncurses
nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png
pppd python qt3 qt3support qt4 quicktime readline reflection ruby sdl
session sndfile soundtouch spell spl sse sse2 ssl svg tcpd tiff
truetype truetype-fonts type1-fonts unicode vorbis vst win32codecs x86
xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat
linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS





On 6/14/07, Rudmer van Dijk <[EMAIL PROTECTED]> wrote:
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


���z���(��&j)b�   b�

Reply via email to