


Code: Select all
emerge sync
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 '=')"

Code: Select all
move =dev-perl/DateTime-0.2901 =dev-perl/DateTime-0.29.01Code: Select all
move dev-perl/DateTime-0.2901 dev-perl/DateTime-0.29.01Code: Select all
slotmove dev-util/gambas 0 1
move dev-libs/wefts dev-cpp/libwefts
move dev-libs/mxmlplus dev-cpp/libmxmlplus
slotmove =gnome-extra/libgtkhtml-2* 1 2
slotmove =gnome-extra/gtkhtml-1* 0 1
move gnome-extra/libgtkhtml gnome-extra/gtkhtml
move dev-util/screem app-editors/screem


Genone wrote:Fixed it in the tree, should hit rsync in the next hour, you'll have to remove /usr/portage/profiles/updates/1Q-2006 manually though before syncing.
Will kick the dev who did that hard

Be kindjstubbs wrote:In the file /usr/portage/profiles/updates/1Q-2006 remove the line:
move dev-perl/DateTime-0.2901 dev-perl/DateTime-0.29.01
Forwarding the bug to the person responsible now.
I agree, only a small tap is necessary.dufeu wrote:Genone wrote:Fixed it in the tree, should hit rsync in the next hour, you'll have to remove /usr/portage/profiles/updates/1Q-2006 manually though before syncing.
Will kick the dev who did that hard
No need to kick the dev hard. Finding the fix in the Forums within 60 seconds of encountering it makes up for alot. Just kick the responsible dev a little bit. ;-D
Aint that the truth --- make that 3-4 patches from WU within as many weeks just to finally get it right, with 20 reboots each time.mattjgalloway wrote:Yes I must say this is a complete testament to the fact that open source software works. This would have taken a closed source OS like Windows about a week to fix.
Hats off to the devs.mattjgalloway wrote: You Gentoo devs updated the mirrors within a few minutes of finding the bug. I'm impressed.

So deleting the line is the correct fix? It seems to have worked here.Genone wrote:FYI: It is not a typo, adding a = will make the error message go away, however that entry would still broken and not work.
The dev simply assumed that something works and didn't do any research while what he intended defintely doesn't work.
Yes. Adding a = in front doesn't break anything, that entry will simply not work as intended (which doesn't have any implications in this case)agent_jdh wrote:So deleting the line is the correct fix? It seems to have worked here.Genone wrote:FYI: It is not a typo, adding a = will make the error message go away, however that entry would still broken and not work.
The dev simply assumed that something works and didn't do any research while what he intended defintely doesn't work.
It did have that kind of feel to it. As a programmer in a dead legacy language, I understand the pitfalls of assumptions. You know: been there, done that, have the T-shirt/scars to prove it.Genone wrote:The dev simply assumed t ...
