Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-20 Thread Josselin Mouette
Le vendredi 20 avril 2007 à 09:33 +0700, Roman S Dubtsov a écrit :
 [EMAIL PROTECTED] 09:29:52 ~]$ sudo dpkg-reconfigure python-gtk2
 /usr/sbin/dpkg-reconfigure: python-gtk2 is broken or not fully installed
 [EMAIL PROTECTED] 09:29:59 ~]$ sudo apt-get install --reinstall python-gtk2
 Reading package lists... Done
 Building dependency tree... Done
 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
 2 not fully installed or removed.
 Need to get 0B of archives.
 After unpacking 0B of additional disk space will be used.
 Setting up python-gtk2 (2.10.4-2) ...
 Traceback (most recent call last):
   File /usr/sbin/update-python-modules, line 289, in ?
 process(basedir,install_modules(py_installed))
   File /usr/sbin/update-python-modules, line 162, in process
 func(basedir, dir, file)
   File /usr/sbin/update-python-modules, line 129, in install_modules_func
 raise Trying to overwrite %s which is already provided 
 by %s%(os.path.join(dir,file),otherdir)
 Trying to overwrite pygtk.py which is already provided 
 by /usr/share/python-support/python-gobject
 dpkg: error processing python-gtk2 (--configure):
  subprocess post-installation script returned error exit status 1
 dpkg: dependency problems prevent configuration of python-glade2:
  python-glade2 depends on python-gtk2 (= 2.10.4-2); however:
   Package python-gtk2 is not configured yet.
 dpkg: error processing python-glade2 (--configure):
  dependency problems - leaving unconfigured
 Errors were encountered while processing:
  python-gtk2
  python-glade2
 E: Sub-process /usr/bin/dpkg returned an error code (1)

I'm afraid I can't reproduce that. Could you please send the output of
the following commands:
  * dpkg -L python-gtk2
  * find /usr/share/python-support/python-gtk2
  * ls -l /usr/bin/python*
  * ls -l /var/lib/python-support

Did you do anything unusual with these packages before upgrading them?

Thanks,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.




Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-20 Thread Roman S Dubtsov
On Friday 20 April 2007, Josselin Mouette wrote:
 I'm afraid I can't reproduce that. Could you please send the output of
 the following commands:
   * dpkg -L python-gtk2
   * find /usr/share/python-support/python-gtk2
   * ls -l /usr/bin/python*
   * ls -l /var/lib/python-support

 Did you do anything unusual with these packages before upgrading them?


Hi,

I'm attaching the outputs of the listed commands. As for unusual things --- 
no, I did not. I even tried to force-remove (dpkg --purge --force-all) both 
of the packages and re-install them afterwards (after doing apt-get clean 
just in case). But I got the very same messages...

Thanks,
Roman.
/.
/usr
/usr/lib
/usr/lib/python-support
/usr/lib/python-support/python-gtk2
/usr/lib/python-support/python-gtk2/python2.4
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtk/_gtk.so
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/gtkunixprint.so
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/atk.so
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/pango.so
/usr/lib/python-support/python-gtk2/python2.4/gtk-2.0/pangocairo.so
/usr/share
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/pygtk
/usr/share/gtk-doc/html/pygtk/style.css
/usr/share/gtk-doc/html/pygtk/atk-class-reference.html
/usr/share/gtk-doc/html/pygtk/atk-constants.html
/usr/share/gtk-doc/html/pygtk/class-atkaction.html
/usr/share/gtk-doc/html/pygtk/class-atkcomponent.html
/usr/share/gtk-doc/html/pygtk/class-atkdocument.html
/usr/share/gtk-doc/html/pygtk/class-atkeditabletext.html
/usr/share/gtk-doc/html/pygtk/class-atkgobjectaccessible.html
/usr/share/gtk-doc/html/pygtk/class-atkhyperlink.html
/usr/share/gtk-doc/html/pygtk/class-atkhypertext.html
/usr/share/gtk-doc/html/pygtk/class-atkimage.html
/usr/share/gtk-doc/html/pygtk/class-atkimplementor.html
/usr/share/gtk-doc/html/pygtk/class-atknoopobject.html
/usr/share/gtk-doc/html/pygtk/class-atknoopobjectfactory.html
/usr/share/gtk-doc/html/pygtk/class-atkobject.html
/usr/share/gtk-doc/html/pygtk/class-atkobjectfactory.html
/usr/share/gtk-doc/html/pygtk/class-atkrectangle.html
/usr/share/gtk-doc/html/pygtk/class-atkregistry.html
/usr/share/gtk-doc/html/pygtk/class-atkrelation.html
/usr/share/gtk-doc/html/pygtk/class-atkrelationset.html
/usr/share/gtk-doc/html/pygtk/class-atkselection.html
/usr/share/gtk-doc/html/pygtk/class-atkstateset.html
/usr/share/gtk-doc/html/pygtk/class-atkstreamablecontent.html
/usr/share/gtk-doc/html/pygtk/class-atktable.html
/usr/share/gtk-doc/html/pygtk/class-atktext.html
/usr/share/gtk-doc/html/pygtk/class-atkvalue.html
/usr/share/gtk-doc/html/pygtk/class-gdkatom.html
/usr/share/gtk-doc/html/pygtk/class-gdkcairocontext.html
/usr/share/gtk-doc/html/pygtk/class-gdkcolor.html
/usr/share/gtk-doc/html/pygtk/class-gdkcolormap.html
/usr/share/gtk-doc/html/pygtk/class-gdkcursor.html
/usr/share/gtk-doc/html/pygtk/class-gdkdevice.html
/usr/share/gtk-doc/html/pygtk/class-gdkdisplay.html
/usr/share/gtk-doc/html/pygtk/class-gdkdisplaymanager.html
/usr/share/gtk-doc/html/pygtk/class-gdkdragcontext.html
/usr/share/gtk-doc/html/pygtk/class-gdkdrawable.html
/usr/share/gtk-doc/html/pygtk/class-gdkevent.html
/usr/share/gtk-doc/html/pygtk/class-gdkgc.html
/usr/share/gtk-doc/html/pygtk/class-gdkimage.html
/usr/share/gtk-doc/html/pygtk/class-gdkkeymap.html
/usr/share/gtk-doc/html/pygtk/class-gdkpangorenderer.html
/usr/share/gtk-doc/html/pygtk/class-gdkpixbuf.html
/usr/share/gtk-doc/html/pygtk/class-gdkpixbufanimation.html
/usr/share/gtk-doc/html/pygtk/class-gdkpixbufanimationiter.html
/usr/share/gtk-doc/html/pygtk/class-gdkpixbufloader.html
/usr/share/gtk-doc/html/pygtk/class-gdkpixmap.html
/usr/share/gtk-doc/html/pygtk/class-gdkrectangle.html
/usr/share/gtk-doc/html/pygtk/class-gdkregion.html
/usr/share/gtk-doc/html/pygtk/class-gdkscreen.html
/usr/share/gtk-doc/html/pygtk/class-gdkvisual.html
/usr/share/gtk-doc/html/pygtk/class-gdkwindow.html
/usr/share/gtk-doc/html/pygtk/class-gladexml.html
/usr/share/gtk-doc/html/pygtk/class-gtkaboutdialog.html
/usr/share/gtk-doc/html/pygtk/class-gtkaccelgroup.html
/usr/share/gtk-doc/html/pygtk/class-gtkaccellabel.html
/usr/share/gtk-doc/html/pygtk/class-gtkaccelmap.html
/usr/share/gtk-doc/html/pygtk/class-gtkaccessible.html
/usr/share/gtk-doc/html/pygtk/class-gtkaction.html
/usr/share/gtk-doc/html/pygtk/class-gtkactiongroup.html
/usr/share/gtk-doc/html/pygtk/class-gtkadjustment.html
/usr/share/gtk-doc/html/pygtk/class-gtkalignment.html
/usr/share/gtk-doc/html/pygtk/class-gtkarrow.html
/usr/share/gtk-doc/html/pygtk/class-gtkaspectframe.html
/usr/share/gtk-doc/html/pygtk/class-gtkassistant.html
/usr/share/gtk-doc/html/pygtk/class-gtkbin.html
/usr/share/gtk-doc/html/pygtk/class-gtkborder.html
/usr/share/gtk-doc/html/pygtk/class-gtkbox.html
/usr/share/gtk-doc/html/pygtk/class-gtkbutton.html
/usr/share/gtk-doc/html/pygtk/class-gtkbuttonbox.html

Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-20 Thread Josselin Mouette
Le vendredi 20 avril 2007 à 22:46 +0700, Roman S Dubtsov a écrit :
 I'm attaching the outputs of the listed commands. As for unusual things --- 
 no, I did not. I even tried to force-remove (dpkg --purge --force-all) both 
 of the packages and re-install them afterwards (after doing apt-get clean 
 just in case). But I got the very same messages...

This is all because the following file:
/usr/share/python-support/python-gtk2/pygtk.py
which used to belong in the python-gtk2 package, is present on your
system but isn't registered as belonging to any package. 

If you remove it, things should install fine. The question is, how did
it land here? In the previous python-gtk2 version, it was a regular file
and should have been removed upon upgrading. Which means, either you
have done something wrong with your system, or there is a bug in dpkg -
which is, happily, not so frequent.

Cheers,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-20 Thread Roman S Dubtsov

It worked. Thanks a lot.

Best regards,
Roman


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-19 Thread Roman S Dubtsov
Package: python-gtk2
Version: 2.10.4-2
Severity: important

Hi,

Configuration of python-gtk2 fails with the following message.

Trying to overwrite pygtk.py which is already provided by
/usr/share/python-support/python-gobject

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.4-0-k7-swsusp2 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-gtk2 depends on:
ii  libatk1.0-0   1.18.0-2   The ATK accessibility toolkit
ii  libc6 2.5-2  GNU C Library: Shared libraries
ii  libcairo2 1.4.4-1The Cairo 2D vector graphics libra
ii  libfontconfig12.4.2-1.2  generic font configuration library
ii  libglib2.0-0  2.12.11-3  The GLib library of C routines
ii  libgtk2.0-0   2.10.11-2  The GTK+ graphical user interface 
ii  libpango1.0-0 1.16.2-1   Layout and rendering of internatio
ii  libx11-6  2:1.1.1-1  X11 client-side library
ii  libxcursor1   1:1.1.8-2  X cursor management library
ii  libxext6  1:1.0.3-2  X11 miscellaneous extension librar
ii  libxfixes31:4.0.3-2  X11 miscellaneous 'fixes' extensio
ii  libxi62:1.1.0-2  X11 Input extension library
ii  libxinerama1  1:1.0.2-1  X11 Xinerama extension library
ii  libxrandr22:1.2.0-4  X11 RandR extension library
ii  libxrender1   1:0.9.2-1  X Rendering Extension client libra
ii  python2.4.4-2An interactive high-level object-o
ii  python-cairo  1.4.0-2Python bindings for the Cairo vect
ii  python-gobject2.12.3-2   Python bindings for the GObject li
ii  python-numeric24.2-7 Numerical (matrix-oriented) Mathem
ii  python-support0.6.3  automated rebuilding support for p

python-gtk2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-19 Thread Josselin Mouette
Le jeudi 19 avril 2007 à 22:51 +0700, Roman S Dubtsov a écrit :
 Package: python-gtk2
 Version: 2.10.4-2
 Severity: important
 
 Hi,
 
 Configuration of python-gtk2 fails with the following message.
 
 Trying to overwrite pygtk.py which is already provided by
 /usr/share/python-support/python-gobject

Could you please send us the full log of what is displayed when
attempting the upgrade?

Thanks,
-- 
 .''`.
: :' :  We are debian.org. Lower your prices, surrender your code.
`. `'   We will add your hardware and software distinctiveness to
  `-our own. Resistance is futile.


signature.asc
Description: Ceci est une partie de message	numériquement signée


Bug#420032: python-gtk2 and python-gobject both provide pygtk.py

2007-04-19 Thread Roman S Dubtsov
On Friday 20 April 2007, Josselin Mouette wrote:
 Le jeudi 19 avril 2007 à 22:51 +0700, Roman S Dubtsov a écrit :
  Package: python-gtk2
  Version: 2.10.4-2
  Severity: important
 
  Hi,
 
  Configuration of python-gtk2 fails with the following message.
 
  Trying to overwrite pygtk.py which is already provided by
  /usr/share/python-support/python-gobject

 Could you please send us the full log of what is displayed when
 attempting the upgrade?

 Thanks,

Sure,

[EMAIL PROTECTED] 09:29:52 ~]$ sudo dpkg-reconfigure python-gtk2
/usr/sbin/dpkg-reconfigure: python-gtk2 is broken or not fully installed
[EMAIL PROTECTED] 09:29:59 ~]$ sudo apt-get install --reinstall python-gtk2
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up python-gtk2 (2.10.4-2) ...
Traceback (most recent call last):
  File /usr/sbin/update-python-modules, line 289, in ?
process(basedir,install_modules(py_installed))
  File /usr/sbin/update-python-modules, line 162, in process
func(basedir, dir, file)
  File /usr/sbin/update-python-modules, line 129, in install_modules_func
raise Trying to overwrite %s which is already provided 
by %s%(os.path.join(dir,file),otherdir)
Trying to overwrite pygtk.py which is already provided 
by /usr/share/python-support/python-gobject
dpkg: error processing python-gtk2 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-glade2:
 python-glade2 depends on python-gtk2 (= 2.10.4-2); however:
  Package python-gtk2 is not configured yet.
dpkg: error processing python-glade2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-gtk2
 python-glade2
E: Sub-process /usr/bin/dpkg returned an error code (1)

Regards,
Roman