Python is broken on Hadry

Pedro Vanzella ppvanzella at ppvanzella.com
Wed Feb 27 15:23:41 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

After yesterday's upgrade to python, some packages that depend on it
became unusable, such as Miro.

Running Miro returns:

ppvanzella at naboo:~$ miro

Traceback (most recent call last):
~  File "/usr/bin/miro.real", line 129, in <module>
~    startapp()
~  File "/usr/bin/miro.real", line 59, in startapp
~    import app
~  File "/var/lib/python-support/python2.5/miro/app.py", line 51, in
<module>
~    import databaseupgrade
~  File "/var/lib/python-support/python2.5/miro/databaseupgrade.py", line
39, in <module>
~    from storedatabase import SavableObject
~  File "/var/lib/python-support/python2.5/miro/storedatabase.py", line
68, in <module>
~    import bsddb.db
~  File "/var/lib/python-support/python2.5/miro/bsddb/__init__.py", line
51, in <module>
~    import _bsddb
ImportError: No module named _bsddb


Does anyone have a workaround?
Also, gnome-games-data refuses to install, and synaptic doesn't run
because of it now.

When I try to force the instalation, it returns:

Traceback (most recent call last):
~  File "/usr/sbin/update-python-modules", line 348, in <module>
~    post_change_stuff(py)
~  File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
~    file(initfile,"w").close()
IOError: [Errno 2] No such file or directory:
'/var/lib/python-support/python2.5/miro/site-packages/GMenuSimpleEditor/__init__.py'
dpkg: aviso - antigo script pre-removal retornou erro de estado de saída 1
dpkg - tentando script do novo pacote em vez disso ...
Traceback (most recent call last):
~  File "/usr/sbin/update-python-modules", line 348, in <module>
~    post_change_stuff(py)
~  File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
~    file(initfile,"w").close()
IOError: [Errno 2] No such file or directory:
'/var/lib/python-support/python2.5/miro/site-packages/GMenuSimpleEditor/__init__.py'
dpkg: erro processando
/var/cache/apt/archives/gnome-games-data_1%3a2.21.92-0ubuntu1_all.deb
(--unpack):
~ subprocesso novo script pre-removal retornou código de saída de error 1
Traceback (most recent call last):
~  File "/usr/sbin/update-python-modules", line 344, in <module>
~    bytecompile_all(py)
~  File "/usr/sbin/update-python-modules", line 238, in bytecompile_all
~    post_change_stuff(py)
~  File "/usr/sbin/update-python-modules", line 224, in post_change_stuff
~    file(initfile,"w").close()
IOError: [Errno 2] No such file or directory:
'/var/lib/python-support/python2.5/miro/site-packages/GMenuSimpleEditor/__init__.py'
dpkg: erro enquanto efetuava-se a limpeza:
~ subprocesso post-installation script retornou código de saída de error 1
Erros foram encontrados durante processamento de:
~ /var/cache/apt/archives/gnome-games-data_1%3a2.21.92-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)



Thanks!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHxYB97UfVb2I/mX0RAk79AJ0eHO2roZkbgUbT/I8qDo5KrDNw+ACfXfX3
QlULs4hYR3DoeB7dXF+TL+8=
=Cj26
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list