Bug#605206: python-gmenu: python-central disaster! again...

Teresa e Junior teresaejunior at gmail.com
Sun Nov 28 01:30:41 UTC 2010


Package: python-gmenu
Version: 2.30.3-1
Severity: critical
Tags: patch
Justification: breaks unrelated software

Hello, Sebastien!

I had broken all applications in my system which depend on python-gtk2 after installing
python-gmenu. I was in doubt whether the problem was related to python-gmenu or not, so
I have created a chroot, installed a bunch of python-gtk dependent applications and,
after installing python-gmenu the problem occured:

Symptoms before and after (I'm in a chroot, so 'could not open display' is OK):

root at localhost:/# python
Python 2.6.6 (r266:84292, Oct  9 2010, 11:40:09) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
>>> 

root at localhost:/# apt-get install python-gmenu
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libgnome-menu2
The following NEW packages will be installed:
  libgnome-menu2 python-gmenu
0 upgraded, 2 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/117 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Selecting previously deselected package libgnome-menu2.
(Reading database ... 126632 files and directories currently installed.)
Unpacking libgnome-menu2 (from .../libgnome-menu2_2.30.3-1_i386.deb) ...
Selecting previously deselected package python-gmenu.
Unpacking python-gmenu (from .../python-gmenu_2.30.3-1_i386.deb) ...
Setting up libgnome-menu2 (2.30.3-1) ...
Setting up python-gmenu (2.30.3-1) ...
Processing triggers for python-support ...

root at localhost:/# python
Python 2.6.6 (r266:84292, Oct  9 2010, 11:40:09) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gtk


This problem is solved with an `update-python-modules -f' as root. Other switches besides
`-f' don't work. Should this be included in the postinst?

Best regards!
Teresa e Junior

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.36-0.dmz.5-liquorix-686 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gmenu depends on:
ii  libc6                   2.11.2-6         Embedded GNU C Library: Shared lib
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libgnome-menu2          2.30.3-1         an implementation of the freedeskt
ii  python                  2.6.6-3+squeeze1 interactive high-level object-orie
ii  python-gtk2             2.17.0-4         Python bindings for the GTK+ widge
ii  python-support          1.0.10           automated rebuilding support for P

python-gmenu recommends no packages.

python-gmenu suggests no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list