Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with emerge --metadata and imagemagick compile 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
Acron_0248
n00b
n00b


Joined: 06 Sep 2006
Posts: 50

PostPosted: Thu Feb 08, 2007 5:59 pm    Post subject: Problem with emerge --metadata and imagemagick compile error Reply with quote

Hi there....


I've been around in this forum for some time now and allways have been helpfull for me.


Now, I'm having this troubles with emerge. This is some new installation kernel 2.6.19, fluxbox and common apps like opera, amarok...

The last thing I did, as far as I remember, was upgrade the system (using --update --deep --newuse) but is something that I'd other times and didn't give me this troubles.

I realize the --sync problem after I see that imagemagick didn't install (I don't know if they're related, I could post the imagemagick error also)

The error I'm getting with emerge --sync is this:

Code:
>>> Updating Portage cache:   24%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: dev-libs/djb-0.5.2 is corrupt: dictionary update sequence element #1 has length 1; 2 is required


I have done som researching about this matter but for now I ain't having much luck to find the answer.

If this is already answered here in the forum, I'm sorry for that, I search here, google, bugs and so on with no luck.

Any help will be appreciated



Regards
_________________
Linux User Registered #399288


Last edited by Acron_0248 on Thu Feb 08, 2007 7:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9527
Location: beyond the rim

PostPosted: Thu Feb 08, 2007 7:03 pm    Post subject: Reply with quote

try
Code:
rm -rf /var/cache/edb/dep
emerge --metadata
Back to top
View user's profile Send private message
Acron_0248
n00b
n00b


Joined: 06 Sep 2006
Posts: 50

PostPosted: Thu Feb 08, 2007 7:10 pm    Post subject: Reply with quote

Thanks I really appreciated, I didn't notice you had answered my post but you're right, that did the trick...

After making this post, I'd keep looking on the forum and find that solution in this post

For the imagemagick error I found this post, in my case at least, worked as a solution.

Code:
MAKEOPTS="-j1" emerge imagemagick



I changed the title of the post so can be usefull for reference during search on topics.



The post can be closed :wink:




Regards
_________________
Linux User Registered #399288
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:31 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads in favour of topic 466613 and the above mentioned posts.
_________________
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