Gentoo Archives: gentoo-user

From: zhangweiwu@××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] emerge doesn't work after emerge-webrsync
Date: Tue, 29 Jul 2008 06:24:33
Message-Id: 488EB78E.1090808@realss.com
1 Hello.
2
3 Today I did an emerge-webrsync successfully, and followed the
4 instruction to have upgraded profile to
5 default/linux/x86/2008.0/desktop. Then all portage related command
6 stopped working. Example:
7
8 emerson ~ # emerge -av hsqldb
9 Traceback (most recent call last):
10 File "/usr/bin/emerge", line 4049, in ?
11 emerge_main()
12 File "/usr/bin/emerge", line 3768, in emerge_main
13 settings, trees, mtimedb = load_emerge_config()
14 File "/usr/bin/emerge", line 3679, in load_emerge_config
15 trees = portage.create_trees(trees=trees, **kwargs)
16 File "/usr/lib/portage/pym/portage.py", line 6780, in create_trees
17 config_incrementals=portage_const.INCREMENTALS)
18 File "/usr/lib/portage/pym/portage.py", line 902, in __init__
19 addProfile(os.path.realpath(self.profile_path))
20 File "/usr/lib/portage/pym/portage.py", line 889, in addProfile
21 raise portage_exception.ParseError(
22 NameError: global name 'parents_file' is not defined
23
24
25 I am completely clueless because search for the error message only gets
26 3 google results talking about seeming unrelated issues. What
27 information should I provide to get some help?
28
29 I hope this information is useful: the output of emerge-webrsync, the
30 last a few lines are like following (note I followed exactly the steps
31 instructed at the bottom to upgrade my profile to
32 default/linux/x86/2008.0/desktop.)
33
34 [..snip..]
35 deleting xfce-extra/xfce4-xkb/files/digest-xfce4-xkb-0.4.3-r1
36 deleting xfce-extra/xfce4-xkb/files/
37
38 Number of files: 126531
39 Number of files transferred: 67199
40 Total file size: 161189139 bytes
41 Total transferred file size: 118930379 bytes
42 Literal data: 118930379 bytes
43 Matched data: 0 bytes
44 File list size: 3095723
45 File list generation time: 1.351 seconds
46 File list transfer time: 0.000 seconds
47 Total bytes sent: 125231642
48 Total bytes received: 1592044
49
50 sent 125231642 bytes received 1592044 bytes 216978.08 bytes/sec
51 total size is 161189139 speedup is 1.27
52 cleaning up
53 transferring metadata/cache
54
55
56 Performing Global Updates: /usr/portage/profiles/updates/3Q-2004
57 (Could take a couple of minutes if you have a lot of binary packages.)
58 .='update pass' *='binary update' @='/var/db move'
59 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
60 ...............................................................................................................................................................................................
61
62
63 Performing Global Updates: /usr/portage/profiles/updates/1Q-2005
64 (Could take a couple of minutes if you have a lot of binary packages.)
65 .='update pass' *='binary update' @='/var/db move'
66 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
67 .....................................................................................................................................................................................................................................................
68
69
70 Performing Global Updates: /usr/portage/profiles/updates/1Q-2007
71 (Could take a couple of minutes if you have a lot of binary packages.)
72 .='update pass' *='binary update' @='/var/db move'
73 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
74 .....................
75
76
77 Performing Global Updates: /usr/portage/profiles/updates/2Q-2007
78 (Could take a couple of minutes if you have a lot of binary packages.)
79 .='update pass' *='binary update' @='/var/db move'
80 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
81 ..........................
82
83
84 Performing Global Updates: /usr/portage/profiles/updates/3Q-2007
85 (Could take a couple of minutes if you have a lot of binary packages.)
86 .='update pass' *='binary update' @='/var/db move'
87 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
88 ........................................
89
90
91 Performing Global Updates: /usr/portage/profiles/updates/4Q-2007
92 (Could take a couple of minutes if you have a lot of binary packages.)
93 .='update pass' *='binary update' @='/var/db move'
94 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
95 .................
96
97
98 Performing Global Updates: /usr/portage/profiles/updates/1Q-2008
99 (Could take a couple of minutes if you have a lot of binary packages.)
100 .='update pass' *='binary update' @='/var/db move'
101 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
102 ................
103
104
105 Performing Global Updates: /usr/portage/profiles/updates/2Q-2008
106 (Could take a couple of minutes if you have a lot of binary packages.)
107 .='update pass' *='binary update' @='/var/db move'
108 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
109 .....................................
110
111
112 Performing Global Updates: /usr/portage/profiles/updates/3Q-2008
113 (Could take a couple of minutes if you have a lot of binary packages.)
114 .='update pass' *='binary update' @='/var/db move'
115 s='/var/db SLOT move' S='binary SLOT move' p='update /etc/portage/package.*'
116 ............
117 @@
118
119
120 !!! Your current profile is deprecated and not supported anymore.
121 !!! Please upgrade to the following profile if possible:
122 default/linux/x86/2008.0/desktop
123
124 To upgrade do the following steps:
125 # cd /etc/
126 # rm make.profile
127 # ln -s ../usr/portage/profiles/default/linux/x86/2008.0/desktop make.profile
128
129
130
131 >>> Updating Portage cache: 100%
132
133 *** Completed websync, please now perform a normal rsync if possible.
134 Update is current as of the of YYYYMMDD: 20080728

Replies

Subject Author
Re: [gentoo-user] emerge doesn't work after emerge-webrsync Alan McKinnon <alan.mckinnon@×××××.com>