Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge --sync fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Mon Feb 11, 2008 3:24 pm    Post subject: Emerge --sync fails Reply with quote

Quote:
>>> Updating Portage cache: 42%Traceback (most recent call last):
File "/usr/bin/emerge", line 6474, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 6429, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
File "/usr/bin/emerge", line 4942, in action_sync
action_metadata(settings, portdb, myopts)
File "/usr/bin/emerge", line 5036, in action_metadata
eclass_cache=ec, verbose_instance=noise_maker)
File "/usr/lib/portage/pym/cache/util.py", line 31, in mirror_cache
try: entry = src_cache[x]
File "/usr/lib/portage/pym/cache/metadata.py", line 32, in __getitem__
return flat_hash.database.__getitem__(self, cpv)
File "/usr/lib/portage/pym/cache/flat_hash.py", line 28, in __getitem__
d = self._parse_data(myf, cpv)
File "/usr/lib/portage/pym/cache/metadata.py", line 39, in _parse_data
d = flat_hash.database._parse_data(self, data, cpv)
File "/usr/lib/portage/pym/cache/flat_hash.py", line 46, in _parse_data
raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: dev-util/pida-0.5.1 is corrupt: dictionary update sequence element #0 has length 1; 2 is required


It does the same after a emerge --metadata :cry:
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2460
Location: 異世界

PostPosted: Mon Feb 11, 2008 5:19 pm    Post subject: Reply with quote

Run:
Code:
rm -fr /var/cache/edb/dep
emerge --regen


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Wed Feb 13, 2008 10:30 am    Post subject: Reply with quote

Arfrever wrote:
Run:
Code:
rm -fr /var/cache/edb/dep
emerge --regen


Perduodu linkėjimus
Arfrever


The same. It stops at 42%.

Quote:
Number of files: 124349
Number of files transferred: 64
Total file size: 154279098 bytes
Total transferred file size: 592264 bytes
Literal data: 592264 bytes
Matched data: 0 bytes
File list size: 3012597
File list generation time: 187.687 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 47203
Total bytes received: 3654058

sent 47203 bytes received 3654058 bytes 12697.29 bytes/sec
total size is 154279098 speedup is 41.68

>>> Updating Portage cache: 42%Traceback (most recent call last):
File "/usr/bin/emerge", line 6474, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 6429, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
File "/usr/bin/emerge", line 4942, in action_sync
action_metadata(settings, portdb, myopts)
File "/usr/bin/emerge", line 5036, in action_metadata
eclass_cache=ec, verbose_instance=noise_maker)
File "/usr/lib/portage/pym/cache/util.py", line 31, in mirror_cache
try: entry = src_cache[x]
File "/usr/lib/portage/pym/cache/metadata.py", line 32, in __getitem__
return flat_hash.database.__getitem__(self, cpv)
File "/usr/lib/portage/pym/cache/flat_hash.py", line 28, in __getitem__
d = self._parse_data(myf, cpv)
File "/usr/lib/portage/pym/cache/metadata.py", line 39, in _parse_data
d = flat_hash.database._parse_data(self, data, cpv)
File "/usr/lib/portage/pym/cache/flat_hash.py", line 46, in _parse_data
raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: dev-util/pida-0.5.1 is corrupt: dictionary u
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2460
Location: 異世界

PostPosted: Wed Feb 13, 2008 12:49 pm    Post subject: Reply with quote

Run:
Code:
rm -fr /usr/portage/metadata/cache/dev-util/pida*


Also post the output of:
Code:
emerge --info


Perduodu linkėjimus
Arfrever
Back to top
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Wed Feb 13, 2008 12:57 pm    Post subject: Reply with quote

Arfrever wrote:
Run:
Code:
rm -fr /usr/portage/metadata/cache/dev-util/pida*


Also post the output of:
Code:
emerge --info


Perduodu linkėjimus
Arfrever


Tried already, it does the same.
Quote:

# emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) D CPU 3.00GHz
Timestamp of tree: Wed, 13 Feb 2008 11:30:06 +0000
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -msse -msse2 -mmmx -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -funroll-loops -msse -msse2 -mmmx -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.romnet.org/gentoo/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi apache2 apm berkdb bitmap-fonts bzlib cgi cli cracklib crypt cups dri flash fortran ftp gd gdbm gif gpm icc iconv imap ipv6 isdnlog javascript jpeg ldap mailwrapper midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php png posix pppd python readline reflection session snmp soap sockets sox spamassassin spl sse sse2 ssl symlink tcpd threads tiff truetype truetype-fonts type1-fonts unicode vhosts x86 xml xorg 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Thu Feb 14, 2008 3:16 pm    Post subject: Reply with quote

Can anyone provide more help, please?
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Thu Feb 14, 2008 3:54 pm    Post subject: Reply with quote

Try deleting the whole metadata chache and sync again. This issue is known as bug 196680 and ought to be fixed...
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Raposatul
n00b
n00b


Joined: 25 Sep 2007
Posts: 53

PostPosted: Mon Feb 18, 2008 8:16 am    Post subject: Reply with quote

Carlo wrote:
Try deleting the whole metadata chache and sync again. This issue is known as bug 196680 and ought to be fixed...


Thanks a lot, tried already that and it's not working... :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum