/usr/lib/gnome-vfs-2.0/modules/libpythonmethod.so file conflict

Bug #29783 reported by Ian Jackson
2
Affects Status Importance Assigned to Milestone
gnome-python (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
python-gnome2 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

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

 affects /distros/ubuntu/gnome-python
 affects /distros/ubuntu/python-gnome2
 done

Unpacking replacement python-gnome2 ...
dpkg: error processing /var/cache/apt/archives/python-gnome2_2.12.3-1_all.deb (--unpack):
 trying to overwrite `/usr/lib/gnome-vfs-2.0/modules/libpythonmethod.so', which is also in package python2.4-gnome2

Full transcript:

root@anarres:~ # apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages have been kept back:
  acpi-support apt apt-utils aptitude base-files bind9-host bug-buddy capplets-data contact-lookup-applet cupsys cupsys-bsd cupsys-client dbus dbus-1-utils dnsutils eog evolution
  evolution-data-server evolution-exchange evolution-webcal file-roller firefox firefox-dev firefox-dom-inspector firefox-gnome-support foomatic-db-gimp-print foomatic-filters-ppds
  gcalctool gconf-editor gconf2 gdm gedit gedit-common gij-4.0 gksu gnome-about gnome-applets gnome-applets-data gnome-control-center gnome-cups-manager gnome-games gnome-games-data
  gnome-media gnome-menus gnome-netstatus-applet gnome-panel gnome-panel-data gnome-session gnome-system-monitor gnome-system-tools gnome-terminal gnome-terminal-data gnome-utils
  gnome-volume-manager gs-esp gstreamer0.8-gnomevfs gstreamer0.8-misc gthumb gtkhtml3.8 gucharmap hal hal-device-manager hpijs ijsgimpprint imake irssi-text java-gcj-compat lftp
  libbind9-0 libbonoboui2-0 libbonoboui2-common libbonoboui2-dev libcupsimage2 libcupsimage2-dev libcupsys2-dev libcupsys2-gnutls10 libebook1.2-5 libecal1.2-3 libedata-book1.2-2
  libedata-cal1.2-1 libedataserverui1.2-6 libeel2-2 libeel2-data libfontenc1 libfs6 libgcj-common libgcj6 libgconf2-4 libgconf2-dev libgnome-desktop-2 libgnome-menu2 libgnome2-0
  libgnome2-common libgnome2-dev libgnomeui-0 libgnomeui-common libgnomeui-dev libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-dev libgstreamer-gconf0.8-0 libgtkhtml3.8-15 libgucharmap4
  libhal-storage1 libhal1 libice-dev libice6 libisccc0 libisccfg1 libkrb5-17-heimdal liblpint-bonobo0 libnautilus-burn3 libnautilus-extension1 libnotify0 libopenal0 libpam-modules
  libpanel-applet2-0 libpcre3 libpcre3-dev librpm4 libselinux1 libselinux1-dev libsm-dev libsm6 libx11-6 libx11-dev libxau-dev libxau6 libxaw7 libxcursor-dev libxcursor1 libxdamage1
  libxdmcp6 libxext-dev libxext6 libxfixes-dev libxfixes3 libxft-dev libxft2 libxi-dev libxi6 libxinerama-dev libxinerama1 libxkbfile1 libxmu-dev libxmu-headers libxmu6 libxmuu-dev
  libxmuu1 libxp-dev libxp6 libxpm-dev libxpm4 libxrandr-dev libxrandr2 libxrender-dev libxrender1 libxres1 libxss1 libxt-dev libxt6 libxtrap-dev libxtrap6 libxtst-dev libxtst6
  libxv-dev libxv1 libxxf86dga1 libxxf86misc1 libxxf86vm1 linux-image-386 locales metacity nautilus nautilus-cd-burner openoffice.org2-writer pmount python-glade2 python-gtk2
  python-netcdf python2.3-id3lib python2.3-pycurl python2.4-apt python2.4-dbus python2.4-glade2 python2.4-gnome2 python2.4-gtk2 python2.4-id3lib rhythmbox rpm sound-juicer synaptic
  sysvinit totem-gstreamer ubuntu-minimal udev vino vorbis-tools wvdial x11proto-core-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev
  x11proto-render-dev x11proto-trap-dev x11proto-video-dev x11proto-xext-dev x11proto-xinerama-dev xchat xchat-common xdpyinfo xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable
  xkeyboard-config xterm
The following packages will be upgraded:
  python-gnome2
1 upgraded, 0 newly installed, 0 to remove and 219 not upgraded.
Need to get 0B/21.3kB of archives.
After unpacking 12.3kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 104070 files and directories currently installed.)
Preparing to replace python-gnome2 2.12.1-0ubuntu1 (using .../python-gnome2_2.12.3-1_all.deb) ...
Unpacking replacement python-gnome2 ...
dpkg: error processing /var/cache/apt/archives/python-gnome2_2.12.3-1_all.deb (--unpack):
 trying to overwrite `/usr/lib/gnome-vfs-2.0/modules/libpythonmethod.so', which is also in package python2.4-gnome2
Errors were encountered while processing:
 /var/cache/apt/archives/python-gnome2_2.12.3-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@anarres:~ # dpkg -s python2.4-gnome2
Package: python2.4-gnome2
Status: install ok installed
Priority: optional
Section: python
Installed-Size: 808
Maintainer: Sebastien Bacher <email address hidden>
Architecture: i386
Source: gnome-python
Version: 2.12.1-0ubuntu1
Replaces: python2.2-gnome2 (<< 1.99.16-5)
Depends: python2.4-gtk2 (>= 2.4), python2.4-pyorbit, libart-2.0-2 (>= 2.3.16), libatk1.0-0 (>= 1.9.0), libbonobo2-0 (>= 2.8.0), libbonoboui2-0 (>= 2.5.4), libc6 (>= 2.3.4-1), libcairo2 (>= 1.0.0), libfontconfig1 (>= 2.3.0), libgconf2-4 (>= 2.9), libglib2.0-0 (>= 2.8.0), libgnome-keyring0 (>= 0.4.3), libgnome2-0 (>= 2.8.0), libgnomecanvas2-0 (>= 2.11.1), libgnomeui-0 (>= 2.8.0), libgnomevfs2-0 (>= 2.11.3), libgtk2.0-0 (>= 2.8.0), libice6, liborbit2 (>= 1:2.10.0), libpango1.0-0 (>= 1.10.0), libpopt0 (>= 1.7), libsm6, libx11-6, libxcursor1 (>> 1.1.2), libxext6, libxfixes3, libxi6, libxinerama1, libxml2 (>= 2.6.20), libxrandr2, libxrender1, python2.4 (>= 2.3.90), zlib1g (>= 1:1.2.1), python2.4
Recommends: python2.4-gnome2-extras
Conflicts: python2.2-gnome2 (<< 1.99.16-5)
Description: Python bindings for the GNOME desktop environment
 This archive contains modules that allow you to write GNOME programs
 in Python. This package contains the bindings for the new version 2.0
 of that desktop environment.
 .
  Author: James Henstridge <email address hidden>
  Homepage: http://www.daa.com.au/~james/software/pygtk/
root@anarres:~ #

I'm going to --force-overwrite so that this isn't blocking me.

Ian.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQFD2OZB8jyP9GfyNQARAr7qAJ0aKHaoRhihrWZEY+beqpBKWfzv8wCfTsFr
tNEixlawoQkCYrhDfFaF8N4=
=8p1Y
-----END PGP SIGNATURE-----

Revision history for this message
Sebastien Bacher (seb128) wrote :

one task is enough :)

Changed in python-gnome2:
status: Unconfirmed → Rejected
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for the bug, to fix for dapper

Changed in gnome-python:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnome-python (2.12.3-1ubuntu3) dapper; urgency=low
 .
   * debian/rules:
     - install files into python-gnome2-dev again. (Malone: #31452)
   * debian/python2.3-gnome2.examples:
     - dropped.
   * debian/control.in:
     - bumped Replaces. (Malone: #29783)

Changed in gnome-python:
status: Confirmed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

This fix didn't work:

Unpacking replacement python-gnome2 ...
dpkg: error processing /var/cache/apt/archives/python-gnome2_2.12.3-1ubuntu3_all.deb (--unpack):
 trying to overwrite `/usr/lib/gnome-vfs-2.0/modules/libpythonmethod.so', which is also in package python2.4-gnome2

I suspect you added the Replaces to the wrong package. python-gnome2 needs to replace python2.4-gnome2 (<< whatever-version-removed-libpythonmethod.so).

Changed in gnome-python:
status: Fix Released → Confirmed
Revision history for this message
Daniel Holbach (dholbach) wrote :

 gnome-python (2.12.3-1ubuntu4) dapper; urgency=low
 .
   * debian/control.in:
     - fixed Replaces, thanks Colin Watson (Malone #29783).

Changed in gnome-python:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.