View previous topic :: View next topic |
Author |
Message |
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sun Apr 18, 2004 2:57 pm Post subject: Can not Emerge, tried bug # 40831 patch did not work FIXED |
|
|
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 |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Apr 18, 2004 3:29 pm Post subject: |
|
|
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 |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sun Apr 18, 2004 3:47 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
steveb Advocate
Joined: 18 Sep 2002 Posts: 4564
|
Posted: Sun Apr 18, 2004 3:52 pm Post subject: |
|
|
cool |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Sun Apr 18, 2004 3:57 pm Post subject: |
|
|
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 |
|
|
heavyt Guru
Joined: 03 Mar 2003 Posts: 498 Location: Matrix (Washington,DC)
|
Posted: Sun Apr 18, 2004 3:58 pm Post subject: |
|
|
Thanks for the tip. So much to learn. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|