Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can not Emerge, tried bug # 40831 patch did not work FIXED
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
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Apr 18, 2004 2:57 pm    Post subject: Can not Emerge, tried bug # 40831 patch did not work FIXED Reply with quote

When I try to to use emerge I get the following



Code:

bash-2.05b# emerge
Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6394, in ?
    for y in db["/"]["porttree"].dbapi.xmatch("match-all", x):
  File "/usr/lib/portage/pym/portage.py", line 4705, in xmatch
    myval=match_from_list(mydep,self.cp_list(mykey))
  File "/usr/lib/portage/pym/portage.py", line 3539, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (x11-base/xfree-4.4.0) (try adding an '=')"

I think this started to happen after I emerged sysfsutils.
I tried the patch that is posted on bug #40831 but It did not help. I also tried to chroot in but I get the same error message (that emerge gives!) when I #env-update.

Man I am lost on this one, help please. :?


Last edited by heavyt on Sun Apr 18, 2004 3:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Apr 18, 2004 3:29 pm    Post subject: Reply with quote

i think you have one or serval packages in /var wich are not okay. you could try to run /usr/lib/portage/bin/fix-db.py to fix the problem.

is it possible, that you post the output of:
Code:
find /var/db/pkg/ -type d


cheers

SteveB
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Apr 18, 2004 3:47 pm    Post subject: Reply with quote

steveb wrote:
i think you have one or serval packages in /var wich are not okay. you could try to run /usr/lib/portage/bin/fix-db.py to fix the problem.

is it possible, that you post the output of:
Code:
find /var/db/pkg/ -type d


cheers

SteveB


Thanks, I think I found the problem! I had made a file /etc/portage/package.unmask to unmask a package. Got rid of the file now it works. :D
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sun Apr 18, 2004 3:52 pm    Post subject: Reply with quote

cool ;)
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Sun Apr 18, 2004 3:57 pm    Post subject: Reply with quote

The problem was that you were probably pinning the unmask to a specific version, like "category/package-0.1". If you want to do that now, you must do this, "=category/package-0.1".
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
heavyt
Guru
Guru


Joined: 03 Mar 2003
Posts: 498
Location: Matrix (Washington,DC)

PostPosted: Sun Apr 18, 2004 3:58 pm    Post subject: Reply with quote

Thanks for the tip. So much to learn. :)
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Aug 06, 2004 2:32 pm    Post subject: Reply with quote

Moved to from Portage & Programming, please see this sticky topic:

https://forums.gentoo.org/viewtopic.php?t=136184
_________________
Search | Read | Answer | Report | Strip
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