1 |
On Wednesday 12 October 2005 07:39, Dave Nebinger wrote: |
2 |
> On Wednesday 12 October 2005 12:58 am, Francesco Talamona wrote: |
3 |
> > Yesterday, after python update (dev-lang/python-2.4.1-r1), emerge |
4 |
> > refused to work, I had to comment both lines in |
5 |
> > /etc/portage/modules and reemerge dev-python/python-cdb. |
6 |
> > |
7 |
> > It wasn't a stopper, but it worth mention. |
8 |
> |
9 |
> That was the part I mentioned earlier. I think if you caught the |
10 |
> note to run python-updater after the python upgrade it would have |
11 |
> covered this. |
12 |
I missed both your point and the note during emerge :-) |
13 |
|
14 |
> Basically what happens is that, without running python-updater, |
15 |
> you've got a number of python packages installed in |
16 |
> /usr/lib/python-2.3/site-packages (or something like that). |
17 |
> |
18 |
> After the python 2.4 upgrade, those packages are no longer available, |
19 |
> as 2.4 is looking for them in /usr/lib/python-2.4/site-packages (or |
20 |
> whatever). |
21 |
> |
22 |
> Running python-updater is supposed to get those old guys moved from |
23 |
> 2.3 to 2.4 so everything works. |
24 |
> |
25 |
> Unfortunately if that message about running python-updater floats by |
26 |
> in the middle of updating a bunch of packages it is easy to miss, and |
27 |
> before you know it you think your system is majorly screwed. |
28 |
Luckily I wasn't scared and recovered my system in 3 minutes. I was |
29 |
checking what packages would be installed with a new program when |
30 |
emerge stopped to work; in the meantime in another shell world update |
31 |
was still running happily. It was very easy to find out the guilty |
32 |
one :-) |
33 |
|
34 |
Now python-updater is running, it found a lot to do... |
35 |
|
36 |
> I posted a message to gentoo-dev asking for an enhancement to portage |
37 |
> that would collect the messages generated in the pkg_postinstall |
38 |
> phase and re-report them after all packages have completed. |
39 |
> Fortunately it is already an enhancement that is on the list, but |
40 |
> it's not clear when it will be released. In the meantime I'm going |
41 |
> to check out ENOTICE |
42 |
> http://dev.gentoo.org/~eldad/ to see if it will work as a short-term |
43 |
> solution. |
44 |
This matter is a long lasting request, IMHO it is come the time for |
45 |
Gentoo to make this evolutive step. I saw other source-based distros |
46 |
making an HTML file of compiler output long ago: when you install |
47 |
something only important messages are outputted, all the details are |
48 |
easily readable with a browser. But it is just one of the several |
49 |
possible ways to manage this important feature. |
50 |
|
51 |
Ciao |
52 |
Francesco |
53 |
|
54 |
-- |
55 |
Linux Version 2.6.12-gentoo-r9, Compiled #2 Wed Aug 24 18:43:16 CEST |
56 |
2005 |
57 |
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4308.99 Bogomips Total |
58 |
aemaeth |
59 |
-- |
60 |
gentoo-user@g.o mailing list |