Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47136 - emerge -Up world throws error
Summary: emerge -Up world throws error
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 24695 47145 47181 47182 47225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-04-07 12:54 UTC by Subodh Shrivastava
Modified: 2005-08-03 01:37 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Subodh Shrivastava 2004-04-07 12:54:10 UTC
When ever i am running the following command i get error

subbu-gentoo root # emerge -Up world
>>> --upgradeonly implies --update... adding --update to options.
 
These are the packages that I would merge, in order:
 
Calculating world dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1135, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 936, in select_dep
    mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,my use=myuse)
  File "/usr/lib/portage/pym/portage.py", line 3292, in dep_check
    mysplit=dep_virtual(mysplit)
  File "/usr/lib/portage/pym/portage.py", line 2952, in dep_virtual
    for x in mysplit:
TypeError: iteration over non-sequence


Reproducible: Always
Steps to Reproduce:
1. emerge -Up world
2.
3.

Actual Results:  
>>> --upgradeonly implies --update... adding --update to options.
 
These are the packages that I would merge, in order:
 
Calculating world dependencies |Traceback (most recent call last):
  File "/usr/bin/emerge", line 2517, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1135, in xcreate
    if not self.create(myk):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 936, in select_dep
    mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,my
use=myuse)
  File "/usr/lib/portage/pym/portage.py", line 3292, in dep_check
    mysplit=dep_virtual(mysplit)
  File "/usr/lib/portage/pym/portage.py", line 2952, in dep_virtual
    for x in mysplit:
TypeError: iteration over non-sequence
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-04-07 14:37:07 UTC
*** Bug 47145 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Sundebo 2004-04-08 03:29:19 UTC
How I solved this:

1) unmasking portage-2.0.50-r4 (adding =sys-apps/portage-2.0.50-r4 to /etc/portage/package.unmask)
2) emerge =portage-2.0.50-r4
3) emerge -p world
4) wait for a while (strange messages may appear)
5) Problem solved.

Can anyone verify that using portage-2.0.50-r4 solves this?
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-08 03:35:13 UTC
The problem has been fixed in -r4.
But -r4 is UNMASKED version now. It includes other fixes and some new features.
You should know that if you use it.
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 04:18:05 UTC
*** Bug 47182 has been marked as a duplicate of this bug. ***
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 04:19:33 UTC
*** Bug 24695 has been marked as a duplicate of this bug. ***
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 04:19:53 UTC
*** Bug 47181 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 09:09:47 UTC
*** Bug 47225 has been marked as a duplicate of this bug. ***
Comment 8 Matt Taylor 2004-04-08 19:30:55 UTC
I got this too after rsyncing last night, but rsyncing today made it go away.
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-07-28 20:19:07 UTC
If you can reproduce this with a stable version of portage, please re-open.
Comment 10 Roel Brook 2005-08-02 17:58:16 UTC
reproduced on sys-apps/portage-2.0.51.22-r2 on 2 different PC's, one ~x86 and
one x86.
Comment 11 Roel Brook 2005-08-02 18:23:35 UTC
Fixed!

After an update of I think, shadow, the default PATH after su'ing was set to
/bin:/usr/bin:/usr/ucb:/usr/local/bin

After adding /usr/sbin to the path variable, portage worked fine again.