python-wxgtk2.8 uninstallable due to post-installation script error

Bug #203526 reported by Ricardo Pérez López
270
This bug affects 5 people
Affects Status Importance Assigned to Milestone
wxwidgets2.8 (Ubuntu)
Fix Released
Medium
Adrien Cunin
Hardy
Fix Released
Medium
Adrien Cunin

Bug Description

Binary package hint: python-wxgtk2.8

ricardo@kadath:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following partially installed packages will be configured:
  python-wxgtk2.8
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: error processing python-wxgtk2.8 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-wxgtk2.8
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: error processing python-wxgtk2.8 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-wxgtk2.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
ricardo@kadath:~$

Revision history for this message
Olexandr Zanichkovsky (ozanichkovsky) wrote :

I confirm this bug.

Changed in wxwidgets2.8:
status: New → Confirmed
Revision history for this message
Bremm (bremm) wrote :

As same as I've found here.

$ LANG=C sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: error processing python-wxgtk2.8 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-wxtools:
 python-wxtools depends on python-wxgtk2.8; however:
  Package python-wxgtk2.8 is not configured yet.
dpkg: error processing python-wxtools (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-wxgtk2.8
 python-wxtools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
TheOV (tyler-harangozo) wrote :

~$ sudo apt-get install python-wxgtk2.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  wx2.8-doc wx2.8-examples
The following NEW packages will be installed:
  python-wxgtk2.8
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/9837kB of archives.
After this operation, 43.6MB of additional disk space will be used.
Selecting previously deselected package python-wxgtk2.8.
(Reading database ... 309356 files and directories currently installed.)
Unpacking python-wxgtk2.8 (from .../python-wxgtk2.8_2.8.7.1-0ubuntu2_i386.deb) ...
Setting up python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: error processing python-wxgtk2.8 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 python-wxgtk2.8
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
W@D1m (wadim-starlink) wrote :

I confirm this bug.
+1

Revision history for this message
Frederic Lietart (thelinuxfr) wrote :

I confirm this bug.
+1

Revision history for this message
Rob Adornato (radornato) wrote :

I also confirm this bug.
+1

In addition, this occurs every time I apply upgrades to anything through Synaptic:

E: python-wxgtk2.8: subprocess post-installation script returned error exit status 1

Revision history for this message
jmate241982 (jmate241982) wrote :

i confirm this bug.
+1

same here.

Revision history for this message
eris23 (jdkatz23) wrote :

I confirm this bug.
+1

Revision history for this message
Tomás Vírseda García (kaskaras) wrote :

same here and as commented above this occurs every time I apply upgrades to anything through Synaptic:

E: python-wxgtk2.8: el subproceso post-installation script devolvió el código de salida de error 1
E: python-wxtools: problemas de dependencias - se deja sin configurar

Se encontraron errores al procesar:
 python-wxgtk2.8
 python-wxtools
E: Sub-process /usr/bin/dpkg returned an error code (1)
No se ha podido instalar un paquete. Intentando recuperarse:
Configurando python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: error al procesar python-wxgtk2.8 (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
dpkg: problemas de dependencias impiden la configuración de python-wxtools:
 python-wxtools depende de python-wxgtk2.8; sin embargo:
 El paquete `python-wxgtk2.8' no está configurado todavía.
dpkg: error al procesar python-wxtools (--configure):
 problemas de dependencias - se deja sin configurar

Revision history for this message
Martin Heitzer (martin-heitzer) wrote :

same here and as commented above this occurs every time I apply upgrades to anything through Synaptic.

Revision history for this message
Kyle M Weller (kylew) wrote :

this will temporarily fix it so it installs,
sudo apt-get install python-wxaddons

Revision history for this message
sojourner (itsmealso2) wrote :

I confirm both the bug and the temporary fix

Revision history for this message
grkumar123 (grkumar123) wrote :

I confirm this bug. This happens every time I apply upgrades.

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Confirmed. I can't use the temporary fix though, since installing python-wxaddons would remove packages I need.

Adrien Cunin (adri2000)
Changed in wxwidgets2.8:
assignee: nobody → adri2000
importance: Undecided → Medium
status: Confirmed → In Progress
Revision history for this message
W@D1m (wadim-starlink) wrote :

:~$ sudo apt-get upgrade
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
не установлено до конца или удалено 2 пакетов.
After this operation, 0B of additional disk space will be used.
Хотите продолжить [Д/н]? y
Настраивается пакет python-wxgtk2.8 (2.8.7.1-0ubuntu2) ...
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/__init__.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/setup.py
file does not exist: /usr/lib/python2.5/site-packages/wxaddons/sized_controls.py
pycentral: pycentral pkginstall: error byte-compiling files (398)
pycentral pkginstall: error byte-compiling files (398)
dpkg: не удалось обработать параметр python-wxgtk2.8 (--configure):
 подпроцесс post-installation script возвратил код ошибки 1
dpkg: зависимости пакетов не позволяют настроить пакет python-wxtools:
 python-wxtools зависит от python-wxgtk2.8, однако:
  Пакет python-wxgtk2.8 пока не настроен.
dpkg: не удалось обработать параметр python-wxtools (--configure):
 проблемы зависимостей -- оставляем не настроенным
При обработке следующих пакетов произошли ошибки:
 python-wxgtk2.8
 python-wxtools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Iván Pérez (ivan.perez-keera.es) wrote :

I confirm both the bug and the temporary fix

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

Fix worked here as well (it seems that python-wxgtk2.6 is removed by adding the addons which could be problematic for some packages with any explicit deps on python-wxgtk2.6).

Revision history for this message
Adrien Cunin (adri2000) wrote :

The following workaround works without installing python-wxaddons and removing python-wxgtk2.6:

sudo sed -i '/^\/usr\/lib\/python2.[4,5]\/site-packages\/wxaddons.*/d' /usr/share/pyshared-data/python-wxgtk2.8

Until I upload a fixed package.

Revision history for this message
Willie L Reed (wlreed4137) wrote :

The work-around install of python-wxaddons seems to have solved the problem.

Revision history for this message
aftertaf (david-wooffindin) wrote :

Adrien,
 I confirm that
sudo sed -i '/^\/usr\/lib\/python2.[4,5]\/site-packages\/wxaddons.*/d' /usr/share/pyshared-data/python-wxgtk2.8
works fine...
though I know you know that :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wxwidgets2.8 - 2.8.7.1-0ubuntu3

---------------
wxwidgets2.8 (2.8.7.1-0ubuntu3) hardy; urgency=low

  * debian/rules:
     - Moved python-wxgtk2.8's dh_pycentral call so that it's done after files
       are moved into the python-wxaddons package (LP: #203526)
     - Added missing dh_pycentral call for python-wxaddons
  * Thanks to Matthias Klose for his help on this issue

 -- Adrien Cunin <email address hidden> Wed, 19 Mar 2008 17:27:48 +0100

Changed in wxwidgets2.8:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.