HowTo:PostInstall:Python

De Luispa

Updates de Python

Si has actualizado Python tienes que recordar ejecutar "phyton-updater". Por ejemplo, en mi caso, recientemente se instaló la versión 2.6

Mon Aug  3 12:39:19 2009 >>> dev-lang/python-2.6.2-r1

Si se te olvida entonces te puedes encontrar con errores posteriores. Por ejemplo, al instalar algún paquete el proceso de compilación falla y la razón podría ser que todavía quedan referencias a la instalaciónd e Python anterior.

  • La solución es sencilla, primero ejecutamos python-updater
# python-updater
* Starting Python Updater from 2.5 to 2.6 :
*   Adding to list: dev-libs/boost:0
*     check: manual [Added to list manually, see CHECKS in manpage for more information.]
*   Adding to list: x11-libs/vte:0
*     check: manual [Added to list manually, see CHECKS in manpage for more information.]
*   Adding to list: app-emulation/virtualbox-bin:0
*   Adding to list: app-office/dia:0
*     check: manual [Added to list manually, see CHECKS in manpage for more information.]
* emerge -vD1 dev-libs/boost:0 x11-libs/vte:0 app-emulation/virtualbox-bin:0 app-office/dia:0

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/boost-1.35.0-r2  USE="-debug -doc -expat -icu -mpi -tools" 0 kB
[ebuild I R   ] app-emulation/virtualbox-bin-3.0.4  USE="additions chm -headless -sdk -vboxwebsrv" 0 kB
[ebuild   R   ] x11-libs/vte-0.17.4-r3  USE="opengl python -debug -doc" 0 kB
[ebuild   R   ] app-office/dia-0.97-r1  USE="gnome png python zlib -cairo -debug -doc" 0 kB
:
  • Luego se ejecuta revdep-rebuild
# revdep-rebuild



Enlaces y Créditos


Volver a la página de las últimas actualizaciones

--Luis 14:56 7 sep 2009 (CEST)