| View previous topic :: View next topic |
| Author |
Message |
doro1211 Guru

Joined: 06 Jun 2004 Posts: 303
|
Posted: Sat Jul 19, 2008 3:41 am Post subject: upgrading to python 2.5 and python-updater |
|
|
Ok, so I upgraded to python-2.5. No problem, everything seemed ok. Then I pruned python 2.4. Ok, as expected, that will cause some issues with packages built against python 2.4. So I though, no problem, just run python-updater, and it will fix the problem. I tried this, but it just pauses for about a half a second then returns me to the prompt, having rebuilt nothing. Adding -v (verbose) adds no more info. revdep-rebuild now freaks and finds a ton of packages to rebuild with python 2.5. However, it dies every time on epiphany with an error about libxml2.
Am I not understanding how to use python-updater? I can't help but feel I'm missing some really obvious point and that's why I'm having these issues. On one box, I just reinstalled python 2.4 (slotted) and the problems went away. Is it not a good idea to prune off 2.4 yet, or can I if I'm willing to do some recompiling? |
|
| Back to top |
|
 |
uaeb n00b

Joined: 28 May 2008 Posts: 27
|
Posted: Sat Jul 19, 2008 5:32 am Post subject: |
|
|
| I believe your supposed to run python-updater before pruning the old version of Python that way you'd have a working version of python to do what needs to be done. |
|
| Back to top |
|
 |
pappy_mcfae Watchman


Joined: 27 Dec 2007 Posts: 5517 Location: Dallas
|
|
| Back to top |
|
 |
Neo2 Apprentice

Joined: 25 Sep 2006 Posts: 224 Location: Italy
|
Posted: Sat Jul 19, 2008 7:19 am Post subject: |
|
|
Just enforce the old version with the "-o x.x" switch:
| Code: | fabio@gentoo-node2 ~ $ sudo python-updater -o 2.4
* Starting Python Updater from 2.4 to 2.5 :
* Couldn't find old libpython soname
* Disabling soname check.
* Adding to list: =app-office/dia-0.96.1-r1
* Adding to list: =dev-libs/boost-1.35.0-r1
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild UD] app-portage/portage-utils-0.1.29 [20070504-r3] 0 kB [?=>0]
[ebuild R ] dev-libs/boost-1.35.0-r1 USE="expat icu tools -debug -doc -mpi" 0 kB
[ebuild R ] app-office/dia-0.96.1-r1 USE="cairo doc png python zlib -debug -gnome -gnome-print" 0 kB |
As you can see it will complain about not finding the previous version installed but it should correctly rebuild the packages (I already did it before, don't know why some packages still show up). _________________ Neo2
Unofficial minimal liveCD for x86/amd64 w/reiser4+truecrypt |
|
| Back to top |
|
 |
doro1211 Guru

Joined: 06 Jun 2004 Posts: 303
|
Posted: Sat Jul 19, 2008 7:29 am Post subject: |
|
|
Oh, I tried that too. I tried it with and without 2.4 installed (I have over 10 Gentoo systems, all with this issue, so I experimented in trying it a number of ways). Same deal either way... it just does nothing.
revdep-rebuild does catch the packages that need rebuilding, and so I'm rebuilding those now on one PC (I'll emerge -k on the rest). It doesn't quite work though... it can't seem to figure out some of the packages needing rebuilding. This line worked for me:
FEATURES="-distlocks buildpkg -sandbox" emerge libxml2 libxslt XML-LibXSLT file-roller
which was based on a combination of bugzilla reports on others having this issue, guesswork/intuition, and trial and error. I'm not 100% sure all of those things are needed. The buildpkg and -distlocks I always use, but -sandbox was necessary or the build dies.
Then revdep-rebuild is able to take it from there and rebuild the rest. |
|
| Back to top |
|
 |
|