Bug#384189: python-gtk2: postinst/prerm failure:
"/usr/share/python-support/python-gtk does not exist"
Toby Speight
T.M.Speight.90 at cantab.net
Tue Aug 22 12:58:39 UTC 2006
Package: python-gtk2
Version: 2.8.6-5
Severity: important
I get this when I try to install:
/--------
| Setting up python-gtk2 (2.8.6-5) ...
| Traceback (most recent call last):
| File "/usr/sbin/update-python-modules", line 246, in ?
| raise "%s does not exist"%arg
| /usr/share/python-support/python-gtk does not exist
| dpkg: error processing python-gtk2 (--configure):
| subprocess post-installation script returned error exit status 1
| Errors were encountered while processing:
| python-gtk2
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| A package failed to install. Trying to recover:
| Setting up python-gtk2 (2.8.6-5) ...
| Traceback (most recent call last):
| File "/usr/sbin/update-python-modules", line 246, in ?
| raise "%s does not exist"%arg
| /usr/share/python-support/python-gtk does not exist
| dpkg: error processing python-gtk2 (--configure):
| subprocess post-installation script returned error exit status 1
\--------
and I then can't install/upgrade/remove the package at all. Editing
/var/lib/dpkg/info/python-gtk2.prerm and
/var/lib/dpkg/info/python-gtk2.postinst to change the calls to
update-python-modules to refer to "python-gtk" instead of
"python-gtk2" seems to make it work (until the next upgrade).
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (900, 'stable'), (400, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages python-gtk2 depends on:
ii libatk1.0-0 1.12.1-1 The ATK accessibility toolkit
ii libc6 2.3.6.ds1-2 GNU C Library: Shared libraries
ii libcairo2 1.2.2-1 The Cairo 2D vector graphics libra
ii libfontconfig1 2.3.2-7 generic font configuration library
ii libglib2.0-0 2.10.3-3 The GLib library of C routines
ii libgtk2.0-0 2.8.20-1 The GTK+ graphical user interface
ii libpango1.0-0 1.12.3-1+b1 Layout and rendering of internatio
ii libx11-6 2:1.0.0-8 X11 client-side library
ii libxcursor1 1.1.5.2-5 X cursor management library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.0-5 X11 Input extension library
ii libxinerama1 1:1.0.1-4.1 X11 Xinerama extension library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra
ii python 2.3.5-11 An interactive high-level object-o
ii python-cairo 1.2.0-1 Python bindings for the Cairo vect
ii python-numeric 24.2-5 Numerical (matrix-oriented) Mathem
ii python-support 0.3.8 automated rebuilding support for p
python-gtk2 recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list