Gentoo Archives: gentoo-user

From: Alan McKinnon <alan@××××××××××××××××.za>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] portage update problem
Date: Thu, 06 Sep 2007 17:47:44
Message-Id: 200709061923.58241.alan@linuxholdings.co.za
In Reply to: [gentoo-user] portage update problem by Rafael Barrera Oro
1 On Thursday 06 September 2007, Rafael Barrera Oro wrote:
2 > Hello, just installed from gentoo LiveCd 2006.0
3 >
4 > after an emerge --sync, i upgraded portage, everything was running
5 > smooth until the unmerging of the previous portage version started,
6 > this ended abruptly with the error:
7 >
8 > *[portage-2.0.54] bash: /usr/lib/portage/bin/ebuild.sh: No such file
9 > or directory
10
11
12 Hmm, I don't seem to have ever seen that one before.
13
14 If you don't get help anywhere else, what could possibly solve it is to:
15
16 build a binpackage from the livecd and store it somewhere
17 emerge -k this to your real system
18
19 Hopefully this will give you a working portage. Then,
20 upgrade portage incrementally, say from 2.0.x to 2.2.1.x to 2.1.2.x to
21 2.1.3.x, taking not of all notices printed to the console and doing the
22 appropriate thing at each step.
23
24 This is a brute force approach that you should use only if no-one else
25 tells you exactly what's going on. I myself have done several installs
26 since June this year off a 2006.0 CD, and each time portage was a bit
27 tricky, but never the error you are experiencing.
28
29 Good luck
30
31 alan
32
33
34 >
35 >
36 > *after that, whenever i invoke the emerge command in any manner,
37 > emerge package, emerge sync, etc i get:
38 >
39 > Traceback (most recent call last):
40 > File "/usr/bin/emerge", line 37, in ?
41 > from output import blue, bold, colorize, darkblue, darkgreen,
42 > darkred, green, \
43 > ImportError: cannot import name colorize
44 >
45 > i am really baffled by this, and since what is failing its portage
46 > itself i am really power less to solve this since i am a little short
47 > of ideas
48 >
49 > i cry to you all for help
50 >
51 > thanks in advance
52 >
53 > Rafael
54
55
56
57 --
58 Optimists say the glass is half full,
59 Pessimists say the glass is half empty,
60 Developers say wtf is the glass twice as big as it needs to be?
61
62 Alan McKinnon
63 alan at linuxholdings dot co dot za
64 +27 82, double three seven, one nine three five
65 --
66 gentoo-user@g.o mailing list