Gentoo Archives: gentoo-alt

From: Rabbe Fogelholm <rabbe@×××××××.se>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] Mock up Linux bootstrap guide
Date: Wed, 12 Sep 2007 17:23:26
Message-Id: 46E81ECB.6050604@bahnhof.se
In Reply to: Re: [gentoo-alt] Mock up Linux bootstrap guide by Fabian Groffen
1 Fabian Groffen wrote:
2 > On 11-09-2007 23:05:56 +0200, Rabbe Fogelholm wrote:
3 >> I decided to make a first shot in an up-to-date Gentoo Linux
4 >> environment; there couldn't be a friendlier environment could it? :-)
5 >>
6 >> Things went fine up to the `emerge --oneshot gawk' step, where I got this:
7 >>
8 >> ------------------------------------------
9 >> Traceback (most recent call last):
10 >> File "/var/tmp/gentoo/usr/bin/emerge", line 12, in ?
11 >> from emerge import *
12 >> File "/var/tmp/gentoo/usr/lib/portage/pym/emerge/__init__.py", line
13 >> 34, in ?
14 >> from portage.const import NEWS_LIB_PATH, CACHE_PATH, PRIVATE_PATH
15 >> ImportError: No module named const
16 >> ------------------------------------------
17 >>
18 >> It seems that the preceding step, which emerges portage, has some
19 >> problem even though it finishes with a zero status.
20 >
21 > Hmmm.... looks like the install image has an older/wrong portage in it.
22 > Can you find out what version of portage it has installed?
23 >
24
25 I tried `emerge --version' in the EPREFIX, but that was broken too and
26 refused to say. The emerge.log had this though:
27
28 1189543663: *** emerge --oneshot --nodeps portage
29 1189543664: >>> emerge (1 of 1) sys-apps/portage-2.2.00.7595 to /
30 1189543664: === (1 of 1) Cleaning
31 (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
32 1189543665: === (1 of 1) Compiling/Merging
33 (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
34 1189543692: >>> AUTOCLEAN: sys-apps/portage
35 1189543692: --- AUTOCLEAN: Nothing unmerged.
36 1189543692: === (1 of 1) Post-Build Cleaning
37 (sys-apps/portage-2.2.00.7595::/usr/tmp/gentoo/usr/portage/sys-apps/portage/portage-2.2.00.7595.ebuild)
38 1189543692: ::: completed emerge (1 of 1) sys-apps/portage-2.2.00.7595 to /
39 1189543692: *** Finished. Cleaning up...
40 1189543693: *** exiting successfully.
41 1189543693: *** terminating.
42
43 --Rabbe
44 --
45 gentoo-alt@g.o mailing list

Replies

Subject Author
Re: [gentoo-alt] Mock up Linux bootstrap guide Fabian Groffen <grobian@g.o>
Re: [gentoo-alt] Mock up Linux bootstrap guide Fabian Groffen <grobian@g.o>