Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge --sync gives weird error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
nido
n00b
n00b


Joined: 02 Aug 2006
Posts: 8
Location: Netherlands

PostPosted: Tue Jan 16, 2007 10:26 pm    Post subject: [solved] emerge --sync gives weird error Reply with quote

I get a weird error when I do emerge --sync. I tried to update portage and sync again; but I now have the same timestamp; so I'll know tomorrow if this has `automatically' resolved. Anyway; I still wanted you to see it so you can see it in case it is't sudden problem with portage

I just did emerge -vauDN yesterday. The day before yesterday portage worked perfectly. It looks as if the sync completes but has some weird problem somewhere afterwards.

Portage version:
[ebuild R ] sys-apps/portage-2.1.1-r2 USE="-build -doc (-selinux)" LINGUAS="-pl" 0 kB

emerge --sync:

...
deleting x11-misc/eosd/

Number of files: 145353
Number of files transferred: 2866
Total file size: 159066986 bytes
Total transferred file size: 7237631 bytes
Literal data: 7237631 bytes
Matched data: 0 bytes
File list size: 3387343
File list generation time: 13.614 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 69295
Total bytes received: 10766182

sent 69295 bytes received 10766182 bytes 202532.28 bytes/sec
total size is 159066986 speedup is 14.68

>>> Updating Portage cache: Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 4006, in emerge_main
action_sync(settings, trees, mtimedb, myopts, myaction)
File "/usr/bin/emerge", line 2924, in action_sync
action_metadata(settings, portdb, myopts)
File "/usr/bin/emerge", line 3019, in action_metadata
eclass_cache=ec, verbose_instance=noise_maker)
File "/usr/lib/portage/pym/cache/util.py", line 47, in mirror_cache
if trg and not write_it:
File "/usr/lib/python2.4/UserDict.py", line 170, in __len__
return len(self.keys())
File "/usr/lib/portage/pym/cache/mappings.py", line 54, in keys
return list(self.__iter__())
File "/usr/lib/portage/pym/cache/mappings.py", line 48, in __iter__
for k in self.orig.iterkeys():
File "/usr/lib/python2.4/UserDict.py", line 103, in iterkeys
return self.__iter__()
File "/usr/lib/portage/pym/cache/mappings.py", line 83, in __iter__
return iter(self.keys())
File "/usr/lib/portage/pym/cache/mappings.py", line 87, in keys
self.d.update(self.pull())
File "/usr/lib/portage/pym/cache/flat_hash.py", line 29, in callit
return args[0](*args[1:]+args2)
File "/usr/lib/portage/pym/cache/flat_hash.py", line 47, in _pull
raise cache_errors.CacheCorruption(cpv, e)
cache.cache_errors.CacheCorruption: app-accessibility/SphinxTrain-0.9.1-r1 is co
rrupt: dictionary update sequence element #0 has length 1; 2 is required
_________________
Kind regards,

Nido Media


Last edited by nido on Wed Jan 17, 2007 9:51 am; edited 1 time in total
Back to top
View user's profile Send private message
krigav
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2005
Posts: 121

PostPosted: Tue Jan 16, 2007 10:56 pm    Post subject: Reply with quote

Try this:

Code:
rm -rf /var/cache/edb/* && emerge --metadata

_________________
There are no dumb questions, just dumb answers. So please help users that are new to linux/gentoo by answering unanswered questions.
Back to top
View user's profile Send private message
nido
n00b
n00b


Joined: 02 Aug 2006
Posts: 8
Location: Netherlands

PostPosted: Wed Jan 17, 2007 9:50 am    Post subject: Reply with quote

Yay. It worked.

Thanks
_________________
Kind regards,

Nido Media
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Sat Feb 10, 2007 11:29 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of topic 466613.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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