Bug#384189: python-gtk2: postinst/prerm failure: "/usr/share/python-support/python-gtk does not exist"

Josselin Mouette joss at debian.org
Sun Sep 10 19:48:31 UTC 2006


Le mardi 22 août 2006 à 13:58 +0100, Toby Speight a écrit :
> 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).

Is this bug still happening? Where is the /etc/alternatives/python-gtk
symbolic link pointing to?
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette at ens-lyon.org
`. `'                        joss at debian.org
  `-  Debian GNU/Linux -- The power of freedom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20060910/10670cb9/attachment.pgp


More information about the Pkg-gnome-maintainers mailing list