Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40536 - portage-2.0.50_pre20 won't work, old version was autocleaned, system is broken
Summary: portage-2.0.50_pre20 won't work, old version was autocleaned, system is broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-05 15:08 UTC by Oli Scheit
Modified: 2004-08-11 14:39 UTC (History)
0 users

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 Oli Scheit 2004-02-05 15:08:15 UTC
Hi there.

It's been about 3 or 4 weeks since my last emerge sync && emerge world.
I ran it today.

It said there's a new version of porage available.
So I did "emerge -uD portage"

It merged 5 packages. One was portage, I believe one was gcc.

The result is that I get this:

 Traceback (most recent call last):
   File "/usr/bin/emerge", line 14, in ?
     import portage
   File "/usr/lib/portage/pym/portage.py", line 6048, in ?
     settings.regenerate() # XXX: Regenerate use after we get a vartree
     -- GLOBAL
   File "/usr/lib/portage/pym/portage.py", line 1384, in regenerate
     self.configdict["auto"]["USE"]=autouse(db[root]["vartree"])
   File "/usr/lib/portage/pym/portage.py", line 1122, in autouse
     myresult=dep_check(mydep,myvartree.dbapi,None,use="no")
   File "/usr/lib/portage/pym/portage.py", line 3301, in dep_check
     mylist=flatten(dep_listcleanup(dep_zapdeps(mysplit,mysplit2)))
   File "/usr/lib/portage/pym/portage.py", line 3044, in dep_zapdeps
     myresult=dep_zapdeps(unreduced[x],reduced[x])
   File "/usr/lib/portage/pym/portage.py", line 3030, in dep_zapdeps
     elif myportapi.match(x):
 AttributeError: 'NoneType' object has no attribute 'match'

whenever I cast the emerge command.
Someone suggested to run the python-updater, but this one calls
portageq, which gives out the same errors again.

So I replaced the line
PORTDIR=`portageq portdir`
by
PORTDIR=/usr/portage

which at least had the result that it said its upgrading some stuff from python 2.2 to 2.3 (IIRC), but nothing really changed.

PLEASE HELP ME!!

thank you!

regards,
Oli
Comment 1 Oli Scheit 2004-02-05 15:34:39 UTC
Seems python was not merged, here's some stuff from the portage log:

Started emerge on: Feb 05, 2004 22:15:28
*** emerge --update --deep portage
>>> emerge (1 of 5) sys-devel/gcc-3.3.2-r6 to /
=== (1 of 5) Cleaning (sys-devel/gcc-3.3.2-r6)
=== (1 of 5) Compiling/Merging (sys-devel/gcc-3.3.2-r6)
=== (1 of 5) Post-Build Cleaning (sys-devel/gcc-3.3.2-r6)
>>> AUTOCLEAN: sys-devel/gcc
=== Unmerging... (sys-devel/gcc-3.3.2-r5)
>>> unmerge success: sys-devel/gcc-3.3.2-r5
::: completed emerge (1 of 5) sys-devel/gcc-3.3.2-r6 to /
>>> emerge (2 of 5) sys-kernel/linux-headers-2.4.22 to /
=== (2 of 5) Cleaning (sys-kernel/linux-headers-2.4.22)
=== (2 of 5) Compiling/Merging (sys-kernel/linux-headers-2.4.22)
=== (2 of 5) Post-Build Cleaning (sys-kernel/linux-headers-2.4.22)
>>> AUTOCLEAN: sys-kernel/linux-headers
=== Unmerging... (sys-kernel/linux-headers-2.4.21-r1)
>>> unmerge success: sys-kernel/linux-headers-2.4.21-r1
::: completed emerge (2 of 5) sys-kernel/linux-headers-2.4.22 to /
>>> emerge (3 of 5) sys-devel/automake-1.8.2 to /
=== (3 of 5) Cleaning (sys-devel/automake-1.8.2)
=== (3 of 5) Compiling/Merging (sys-devel/automake-1.8.2)
=== (3 of 5) Post-Build Cleaning (sys-devel/automake-1.8.2)
>>> AUTOCLEAN: sys-devel/automake
=== Unmerging... (sys-devel/automake-1.7.8)
>>> unmerge success: sys-devel/automake-1.7.8
::: completed emerge (3 of 5) sys-devel/automake-1.8.2 to /
>>> emerge (4 of 5) x11-base/opengl-update-1.6 to /
=== (4 of 5) Cleaning (x11-base/opengl-update-1.6)
=== (4 of 5) Compiling/Merging (x11-base/opengl-update-1.6)
=== (4 of 5) Post-Build Cleaning (x11-base/opengl-update-1.6)
>>> AUTOCLEAN: x11-base/opengl-update
--- AUTOCLEAN: Nothing unmerged.
::: completed emerge (4 of 5) x11-base/opengl-update-1.6 to /
>>> emerge (5 of 5) sys-apps/portage-2.0.50_pre22 to /
=== (5 of 5) Cleaning (sys-apps/portage-2.0.50_pre22)
=== (5 of 5) Compiling/Merging (sys-apps/portage-2.0.50_pre22)
=== (5 of 5) Post-Build Cleaning (sys-apps/portage-2.0.50_pre22)
>>> AUTOCLEAN: sys-apps/portage
=== Unmerging... (sys-apps/portage-2.0.50_pre20)
>>> unmerge success: sys-apps/portage-2.0.50_pre20
::: completed emerge (5 of 5) sys-apps/portage-2.0.50_pre22 to /
*** Finished. Cleaning up...
*** exiting successfully.
*** terminating.

regards
Comment 2 Oli Scheit 2004-02-05 16:37:09 UTC
I now remember, that there was an error when merging portage-2.0.50_pre20.
It could not calculate some counter or something like that.
It said "that is a problem!"
Comment 3 Oli Scheit 2004-02-05 16:38:43 UTC
Another one:
I used the rescue kit for portage, so I'm back to the  2.0.49-r21 version.
Works fine.

regards,
Oli
Comment 4 Brian Harring (RETIRED) gentoo-dev 2004-08-11 14:39:13 UTC
.50_pre20 is rather old, closing (can't see how it is possible w/ .50-r9's code)