Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage munged
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
sgtrock
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 87

PostPosted: Sat Jan 21, 2006 1:21 am    Post subject: Portage munged Reply with quote

Hi, all. I did the gcc upgrade to 3.4 over Xmas break. Since then I've installed a few packages successfully. A couple of days ago portage began failing completely. Here is the error message that I get:
Quote:

sgtrock ~ # emerge --info


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 '=')"
sgtrock ~ #


Same error when I try a sync:
Quote:
sgtrock ~ # 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 '=')"


Any thoughts on what I should try?

TIA
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Sat Jan 21, 2006 1:29 am    Post subject: Reply with quote

Do you have dev-perl/DateTime-0.2901 in one of the /etc/portage/package.* files? Check that operators are set appropriately, i.e. it is prefixed with a "=" there. Post it here if in doubt.
_________________
KDE
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Sat Jan 21, 2006 3:56 am    Post subject: Not just perl package unmasks Reply with quote

Same thing here. Same error and same upgrade over Xmas. But I'm not sure it was actually that upgrade that broke the system. Like sgtrock, I have compiled packages since then, it seems something in the past week has broken things.

Code:
darth ~ # cat /etc/portage/*
app-admin/eselect ~x86
app-admin/eselect-opengl ~x86
media-video/nvidia-kernel ~x86
media-video/nvidia-glx ~x86
sci-mathematics/scilab ~x86
=media-video/nvidia-kernel-1.0.6629
=media-video/nvidia-glx-1.0.6629
sys-libs/glibc userlocales
cat: /etc/portage/sets: Is a directory
darth ~ # grep e /etc/portage/*
/etc/portage/package.keywords:app-admin/eselect ~x86
/etc/portage/package.keywords:app-admin/eselect-opengl ~x86
/etc/portage/package.keywords:media-video/nvidia-kernel ~x86
/etc/portage/package.keywords:media-video/nvidia-glx ~x86
/etc/portage/package.keywords:sci-mathematics/scilab ~x86
/etc/portage/package.mask:=media-video/nvidia-kernel-1.0.6629
/etc/portage/package.mask:=media-video/nvidia-glx-1.0.6629
/etc/portage/package.use:sys-libs/glibc userlocales


I dont think it's an added package keyword or anything similar
Back to top
View user's profile Send private message
sgtrock
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 87

PostPosted: Sat Jan 21, 2006 4:42 am    Post subject: Reply with quote

Here's what's in /etc/portage:

Quote:
jim@sgtrock /etc/portage $ cat package.keywords
app-office/planner ~x86
dev-util/eclipse-pydev-bin ~x86
www-client/mozilla-firefox ~x86
>=app-office/openoffice-bin-1.9.122
>=games-fps/quake1-2.40-r1 -*
jim@sgtrock /etc/portage $



Quote:
jim@sgtrock /etc/portage $ cat package.unmask
>=app-office/openoffice-bin-1.9.122


Quote:
jim@sgtrock /etc/portage $ cat package.use
sys-libs/glibc nptl

There is nothing in /etc/portage/sets. Any other ideas? I'd love to hear some, as I'm more than a little perplixed and perpizzled. :oops:
Back to top
View user's profile Send private message
Section_8
Guru
Guru


Joined: 22 May 2004
Posts: 566
Location: Arlington, TX, US

PostPosted: Sat Jan 21, 2006 5:00 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-424160-start-0-postdays-0-postorder-asc-highlight-.html
Back to top
View user's profile Send private message
sgtrock
Tux's lil' helper
Tux's lil' helper


Joined: 21 Feb 2003
Posts: 87

PostPosted: Sat Jan 21, 2006 6:45 am    Post subject: Reply with quote

TY!
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Karlsruhe, Germany

PostPosted: Sat Jan 21, 2006 9:22 am    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, see the thread linked by Section_8.
_________________
KDE
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