Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Specific key requires an operator (dev-perl/DateTime-0.2901)
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
SubSolar
n00b
n00b


Joined: 26 Feb 2006
Posts: 1

PostPosted: Sun Feb 26, 2006 12:53 am    Post subject: Specific key requires an operator (dev-perl/DateTime-0.2901) Reply with quote

I have two gentoo servers at different locations that I hardly touch. I just have emerge sync and emerge -u world run automatically on them through crontab so I figure I don't have to check on them much. Today I went to use them but everyone time I run an emerge command I get the following error:

root:~# emerge


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 7480, in ?
do_upgrade(mykey)
File "/usr/lib/portage/pym/portage.py", line 7372, in do_upgrade
db["/"]["vartree"].dbapi.move_ent(mysplit)
File "/usr/lib/portage/pym/portage.py", line 4683, in move_ent
origmatches=self.match(origcp,use_cache=0)
File "/usr/lib/portage/pym/portage.py", line 4829, in match
return match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
File "/usr/lib/portage/pym/portage.py", line 4134, 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 '=')"


I've tried python-updater and fixpackages but it doesn't seem to work. I get this same error on both servers. I don't seem to have "DateTime" located in any files in /etc. Any ideas?
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sun Feb 26, 2006 5:49 am    Post subject: Reply with quote

Looks like a tree breakage. Have you tried resyncing?
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
zmedico
Developer
Developer


Joined: 02 Jan 2004
Posts: 337
Location: California USA

PostPosted: Sun Feb 26, 2006 6:58 am    Post subject: Reply with quote

Yes, tree breakage. It was an invalid update.

Bug 119352
https://forums.gentoo.org/viewtopic-t-424160-highlight-.html

Code:
PORTDIR=$(portageq envvar PORTDIR)
rm ${PORTDIR}/profiles/updates/1Q-2006
emerge --sync

_________________
Zac
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun Feb 26, 2006 9:05 am    Post subject: Reply with quote

Please follow up to the thread referenced above. Thanks zmedico!

Moved from Portage & Programming to Duplicate Threads.
_________________
No-one's more important than the earthworm.
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