View previous topic :: View next topic |
Author |
Message |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Wed Jan 10, 2007 8:20 pm Post subject: [CLOSED] Emerge throwing up errors. |
|
|
Have tried to use emerge this evening to upgrade a couple of apps and got this error:
Code: | 0 ~ # emerge emerge
Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys |
Has anyone else had a similar issue upgrading packages?
Last edited by trossachs on Sat Jul 21, 2007 7:27 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 10, 2007 8:23 pm Post subject: |
|
|
try again _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
adekoba Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/53592988048c08c385bc52.png)
Joined: 06 Oct 2006 Posts: 129
|
Posted: Wed Jan 10, 2007 8:42 pm Post subject: |
|
|
i have the same problem, probably something wrong with the ebuild _________________ website |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Wed Jan 10, 2007 8:47 pm Post subject: |
|
|
I just on 2 systems fine
Code: | emerge --sync && emerge portage && etc-update |
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Thu Jan 11, 2007 1:56 pm Post subject: |
|
|
Already tried:
and
with no success |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Thu Jan 11, 2007 9:22 pm Post subject: |
|
|
did you re-emerge portage ? _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Fri Jan 12, 2007 4:51 am Post subject: |
|
|
Yes and get this error:
Code: | Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Fri Jan 12, 2007 1:58 pm Post subject: |
|
|
Code: | rm -rf /var/cache/edb/dep/* && emerge --sync && emerge portage |
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Fri Jan 12, 2007 3:07 pm Post subject: |
|
|
Thanks dcoats, I ran your script as instructed and received the following reply:
Code: | * An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please run 'emerge portage' and then update ALL of your
* configuration files.
* To update portage, run 'emerge portage'.
Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Fri Jan 12, 2007 6:10 pm Post subject: |
|
|
you can't ? _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Fri Jan 12, 2007 7:32 pm Post subject: |
|
|
When I do, I get this error:
Code: | Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Mon Jan 15, 2007 9:46 pm Post subject: |
|
|
Mmmmmmmmmmm, I get these errors now:
Code: | Parse Error reading PROVIDE and USE in '/var/db/pkg/net-www/mod_ssl-2.8.25-r10'
Exception: keys
Parse Error reading PROVIDE and USE in '/var/db/pkg/sys-cluster/heartbeat-1.2.3-r1'
Exception: keys
Parse Error reading PROVIDE and USE in '/var/db/pkg/app-antivirus/clamav-0.88.7-r2'
Exception: keys
Parse Error reading PROVIDE and USE in '/var/db/pkg/app-antivirus/f-prot-4.6.5'
Exception: keys
Parse Error reading PROVIDE and USE in '/var/db/pkg/app-antivirus/bitdefender-console-7.0.1-r1'
Exception: keys
|
... and quite a few other printed errors using the same format but with other packages.
I then emerge portage and get this:
Code: | Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys
|
However, when I "emerge -s portage" this is the installed and available version print out:
Code: |
sys-apps/portage
Latest version available: 2.1.2
Latest version installed: 2.1.2_rc4-r6
Size of files: 357 kB
Homepage: http://www.gentoo.org/proj/en/portage/index.xml
Description: The Portage Package Management System. The primary package management and distribution system for Gentoo.
License: GPL-2 |
Really weird, why have I been able to install a version which supposedly has not been released yet? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Mon Jan 15, 2007 9:54 pm Post subject: |
|
|
I don't know, I don't see it avaliable right now either.
Quote: |
gentoo ~ # eix sys-apps/portage
* sys-apps/portage
Available versions: 2.0.51.22-r3 2.1-r2 2.1.1-r1 2.1.1-r2 2.1.2_rc4-r7 2.1.2_rc4-r8
Installed: 2.1.2_rc4-r8
Homepage: http://www.gentoo.org/proj/en/portage/index.xml
Description: The Portage Package Management System. The primary package management and distribution system for Gentoo.
|
can you Code: | echo sys-apps/portage ~x86 >> /etc/portage/package.keywords && emerge portage |
_________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trossachs Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Marvel/Marvel_-_Zangief.gif)
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Mon Jan 15, 2007 11:10 pm Post subject: |
|
|
Print:
Code: | Calculating dependencies
Traceback (most recent call last):
File "/usr/bin/emerge", line 5266, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5261, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4585, in action_build
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner)
File "/usr/bin/emerge", line 976, in __init__
trees[myroot]["porttree"].dbapi)
File "/usr/bin/emerge", line 739, in __init__
metadata = dict(izip(mykeys, real_dbapi.aux_get(cpv, mykeys)))
File "/usr/lib/portage/pym/portage.py", line 5140, in aux_get
mydata.update(izip(aux_keys, self._aux_get(mycpv, aux_keys)))
AttributeError: keys |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Dan Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 25 Oct 2005 Posts: 1302
|
Posted: Tue Jan 16, 2007 5:15 pm Post subject: |
|
|
If you search this forum for Quote: | AttributeError: keys | you will find a few posts on it and they mention most of what i have already mentioned to you. But you should go through them yourself. _________________ - Failure is not an option. It's bundled with your software. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|