Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

Portage munged

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

Portage munged

  • Quote

Post by sgtrock » Sat Jan 21, 2006 1:21 am

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:
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:
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
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Sat Jan 21, 2006 1:29 am

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
Top
th0th696
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Wed Dec 08, 2004 11:35 pm
Contact:
Contact th0th696
Website

Not just perl package unmasks

  • Quote

Post by th0th696 » Sat Jan 21, 2006 3:56 am

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: Select all

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
Top
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

  • Quote

Post by sgtrock » Sat Jan 21, 2006 4:42 am

Here's what's in /etc/portage:
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 $
jim@sgtrock /etc/portage $ cat package.unmask
>=app-office/openoffice-bin-1.9.122
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:
Top
Section_8
l33t
l33t
User avatar
Posts: 637
Joined: Sat May 22, 2004 5:20 am

  • Quote

Post by Section_8 » Sat Jan 21, 2006 5:00 am

http://forums.gentoo.org/viewtopic-t-42 ... ight-.html
Top
sgtrock
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 87
Joined: Fri Feb 21, 2003 2:46 pm

  • Quote

Post by sgtrock » Sat Jan 21, 2006 6:45 am

TY!
Top
Earthwings
Bodhisattva
Bodhisattva
User avatar
Posts: 7753
Joined: Mon Apr 14, 2003 8:13 pm
Location: Germany

  • Quote

Post by Earthwings » Sat Jan 21, 2006 9:22 am

Moved from Portage & Programming to Duplicate Threads, see the thread linked by Section_8.
KDE
Top
Post Reply

7 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic