View previous topic :: View next topic |
Author |
Message |
chronophobic Apprentice
Joined: 07 Mar 2005 Posts: 237 Location: Sofia, Bulgaria
|
Posted: Wed Jan 18, 2006 5:00 pm Post subject: emerge <anything> gives weird error |
|
|
Code: | # emerge whatever
Performing Global Updates: /usr/portage/profiles/updates/1Q-2006
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
........Traceback (most recent call last):
File "/usr/bin/emerge", line 10, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 6897, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 6795, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
File "/usr/lib/portage/pym/portage.py", line 4311, in move_ent
origmatches=self.match(origcp,use_cache=0)
File "/usr/lib/portage/pym/portage.py", line 4457, in match
return match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
File "/usr/lib/portage/pym/portage.py", line 3762, in match_from_list
raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (dev-perl/DateTime-0.2901) (try adding an '=')"
|
After I type emerge <anything> , even --info and such, I get that error message. This happened after a --sync (I guess, I'm not exactly sure what caused it, perhaps it wasn't the sync but rather one of the regular emerge -uDN world, I remember baselayout and some other crucial packages were in the last one I did...). Any suggestions as to how I might fix that? Do I have to re-emerge portage (from a livecd, I guess) or do I have to mess in some way with some of the profiles? I'm not sure if /usr/bin/emerge got corrupted in some way, or the portage.py, but by the looks of it it seems like it's not portage's fault but rather some mess with the profiles. I'm waiting for suggestions before I do anything as I don't want to screw things worse than they are now (everything else works fine btw). _________________ Confutatis maledictis, flammis acribus addictis! |
|
Back to top |
|
|
at240 l33t
Joined: 12 Aug 2005 Posts: 603 Location: UK
|
Posted: Wed Jan 18, 2006 5:09 pm Post subject: |
|
|
This came up on the email list today. I think the solution was to delete 1Q-2006 file and re sync, but I am not sure so don't do that until someone else confirms. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Jan 18, 2006 5:43 pm Post subject: |
|
|
Sticky posts are generally sticky for a reason. emerge: KeyError (dev-perl/DateTime-0.2901).
Moved from Portage & Programming to Duplicate Threads. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|
|
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
|
|