* [gentoo-user] emerge doesn't work after emerge-webrsync
@ 2008-07-29 6:24 zhangweiwu
2008-07-29 6:32 ` Alan McKinnon
0 siblings, 1 reply; 3+ messages in thread
From: zhangweiwu @ 2008-07-29 6:24 UTC (permalink / raw
To: gentoo-user
Hello.
Today I did an emerge-webrsync successfully, and followed the
instruction to have upgraded profile to
default/linux/x86/2008.0/desktop. Then all portage related command
stopped working. Example:
emerson ~ # emerge -av hsqldb
Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 3768, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/bin/emerge", line 3679, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 902, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined
I am completely clueless because search for the error message only gets
3 google results talking about seeming unrelated issues. What
information should I provide to get some help?
I hope this information is useful: the output of emerge-webrsync, the
last a few lines are like following (note I followed exactly the steps
instructed at the bottom to upgrade my profile to
default/linux/x86/2008.0/desktop.)
[..snip..]
deleting xfce-extra/xfce4-xkb/files/digest-xfce4-xkb-0.4.3-r1
deleting xfce-extra/xfce4-xkb/files/
Number of files: 126531
Number of files transferred: 67199
Total file size: 161189139 bytes
Total transferred file size: 118930379 bytes
Literal data: 118930379 bytes
Matched data: 0 bytes
File list size: 3095723
File list generation time: 1.351 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 125231642
Total bytes received: 1592044
sent 125231642 bytes received 1592044 bytes 216978.08 bytes/sec
total size is 161189139 speedup is 1.27
cleaning up
transferring metadata/cache
Performing Global Updates: /usr/portage/profiles/updates/3Q-2004
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
...............................................................................................................................................................................................
Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.....................................................................................................................................................................................................................................................
Performing Global Updates: /usr/portage/profiles/updates/1Q-2007
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.....................
Performing Global Updates: /usr/portage/profiles/updates/2Q-2007
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
..........................
Performing Global Updates: /usr/portage/profiles/updates/3Q-2007
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
........................................
Performing Global Updates: /usr/portage/profiles/updates/4Q-2007
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.................
Performing Global Updates: /usr/portage/profiles/updates/1Q-2008
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
................
Performing Global Updates: /usr/portage/profiles/updates/2Q-2008
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
.....................................
Performing Global Updates: /usr/portage/profiles/updates/3Q-2008
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' @='/var/db move'
s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
............
@@
!!! Your current profile is deprecated and not supported anymore.
!!! Please upgrade to the following profile if possible:
default/linux/x86/2008.0/desktop
To upgrade do the following steps:
# cd /etc/
# rm make.profile
# ln -s ../usr/portage/profiles/default/linux/x86/2008.0/desktop make.profile
>>> Updating Portage cache: 100%
*** Completed websync, please now perform a normal rsync if possible.
Update is current as of the of YYYYMMDD: 20080728
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] emerge doesn't work after emerge-webrsync
2008-07-29 6:24 zhangweiwu
@ 2008-07-29 6:32 ` Alan McKinnon
0 siblings, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2008-07-29 6:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 574 bytes --]
On Tue, Jul 29, 2008 at 8:24 AM, <zhangweiwu@realss.com> wrote:
> Hello.
>
> Today I did an emerge-webrsync successfully, and followed the
> instruction to have upgraded profile to
> default/linux/x86/2008.0/desktop. Then all portage related command
> stopped working.
[snip]
>
> *** Completed websync, please now perform a normal rsync if possible.
> Update is current as of the of YYYYMMDD: 20080728
Did you also do this last step? If that profile still gives trouble, you can
use an earlier one instead and re-sync
--
Alan McKinnon
alan.mckinnon@gmail.com
[-- Attachment #2: Type: text/html, Size: 1137 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] emerge doesn't work after emerge-webrsync
[not found] ` <aUR2y-66B-15@gated-at.bofh.it>
@ 2008-07-31 13:28 ` zhangweiwu
0 siblings, 0 replies; 3+ messages in thread
From: zhangweiwu @ 2008-07-31 13:28 UTC (permalink / raw
To: gentoo-user; +Cc: robomod
Alan McKinnon wrote:
> On Tue, Jul 29, 2008 at 8:24 AM, <zhangweiwu@realss.com
> <mailto:zhangweiwu@realss.com>> wrote:
> *** Completed websync, please now perform a normal rsync if possible.
> Update is current as of the of YYYYMMDD: 20080728
>
>
> Did you also do this last step?
emerson etc # emerge --rsync
Traceback (most recent call last):
File "/usr/bin/emerge", line 4049, in ?
emerge_main()
File "/usr/bin/emerge", line 3768, in emerge_main
settings, trees, mtimedb = load_emerge_config()
File "/usr/bin/emerge", line 3679, in load_emerge_config
trees = portage.create_trees(trees=trees, **kwargs)
File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
config_incrementals=portage_const.INCREMENTALS)
File "/usr/lib/portage/pym/portage.py", line 902, in __init__
addProfile(os.path.realpath(self.profile_path))
File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
raise portage_exception.ParseError(
NameError: global name 'parents_file' is not defined
> If that profile still gives trouble, you
> can use an earlier one instead and re-sync
There are no earlier ones, or at least not any longer:
emerson etc # ls /usr/portage/profiles/default/linux/x86/
2008.0 ChangeLog gcc2 parent vserver
--
Real Softservice
Huateng Tower, Unit 1788
Jia 302 3rd area of Jinsong, Chao Yang
Tel: +86 (10) 8773 0650 ext 603
Mobile: 159 1111 7382
http://www.realss.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-31 13:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <aUQSV-5Qo-3@gated-at.bofh.it>
[not found] ` <aUR2y-66B-15@gated-at.bofh.it>
2008-07-31 13:28 ` [gentoo-user] emerge doesn't work after emerge-webrsync zhangweiwu
2008-07-29 6:24 zhangweiwu
2008-07-29 6:32 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox