libgtk-3-bin failed to install/upgrade: diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin clashes with same diversion by libgtk3.0-bin

Bug #786170 reported by dino99
50
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gtk+3.0 (Debian)
Fix Released
Unknown
gtk+3.0 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

oneiric i386

cant upgrade to gnome-icon-theme 3.0.0-1ubuntu1 due to broken dependencies of libgtk-3-bin

ProblemType: Package
DistroRelease: Ubuntu 11.10
Package: libgtk-3-bin (not installed)
ProcVersionSignature: Ubuntu 2.6.39-2.8-generic-pae 2.6.39-rc7
Uname: Linux 2.6.39-2-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat May 21 15:02:25 2011
ErrorMessage: le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 2
SourcePackage: gtk+3.0
Title: package libgtk-3-bin (not installed) failed to install/upgrade: le sous-processus nouveau script pre-installation a retourné une erreur de sortie d'état 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
dino99 (9d9) wrote :
dino99 (9d9)
tags: added: gnome-icon-theme
Revision history for this message
dino99 (9d9) wrote :

have downgraded gnome-icon-theme to 3.0.0-0ubuntu1~build1_all.deb using dpkg -i to unlock this problem as it using libgtk2

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Error from the logs
 Unpacking libgtk-3-bin (from .../libgtk-3-bin_3.0.9-0ubuntu2_all.deb) ...
 dpkg-divert: error: `diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin' clashes with `diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk3.0-bin'
 dpkg: error processing /var/cache/apt/archives/libgtk-3-bin_3.0.9-0ubuntu2_all.deb (--unpack):
  subprocess new pre-installation script returned error exit status 2
ErrorMessage: subprocess new pre-installation script returned error exit status 2

Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
summary: - libgtk-3-bin failed to install/upgrade: sub-processus new script pre-
- installation return status error 2
+ libgtk-3-bin failed to install/upgrade: diversion of /usr/sbin/update-
+ icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin clashes
+ with same diversion by libgtk3.0-bin
Changed in gtk+3.0 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

What's the output of the command:
$ apt-cache policy libgtk3.0-bin

Thanks in advance.

Changed in gtk+3.0 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Joel Stanley (shenki) wrote :

$ apt-cache policy libgtk3.0-bin
libgtk3.0-bin:
  Installed: (none)
  Candidate: (none)
  Version table:
     3.0.0-0ubuntu1 0
        100 /var/lib/dpkg/status

Revision history for this message
dino99 (9d9) wrote :

output with the actual package (see #2 above)

oem@oem-desktop:~$ apt-cache policy libgtk3.0-bin
libgtk3.0-bin:
  Installé : (aucun)
  Candidat : (aucun)
  Table de version :

so version table is empty

Revision history for this message
dino99 (9d9) wrote :

but as the related package is: libgtk-3-bin

oem@oem-desktop:~$ apt-cache policy libgtk-3-bin
libgtk-3-bin:
  Installé : (aucun)
  Candidat : 3.0.9-0ubuntu2
  Table de version :
     3.0.9-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages

so is it a package typo libgt3.0-bin/libgtk-3-bin ?

Changed in gtk+3.0 (Ubuntu):
status: Incomplete → New
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

It was not a typo, I'm wondering if it's something left behind by libgtk3.0-bin from a PPA or a superseded version from Natty (https://launchpad.net/ubuntu/+source/gtk+3.0/3.0.0-0ubuntu1) I can't reproduce the problem, there's a conflict between both packages and I'm unable to reinstall libgtk3.0-bin.

Did you install libgtk3.0-bin at some point ?

Revision history for this message
dino99 (9d9) wrote :

its a fresh natty i386 install & updated, then changed the sources.list to Oneiric

so i doubt ligtk3.0-bin have been instaaled as the only ppa are: virtualbox & wine

the libgtk* actually installed are: libgtk-vnc-2.0-0, libgtk-3-0, libgtk-3-common & libgtk-sharp-beans-cil

Revision history for this message
dino99 (9d9) wrote :

forgot to say that libgtk3.0-bin is no more present into synaptic

Revision history for this message
dino99 (9d9) wrote :

searching about "libgtk3.0-bin" into nautilus system files: found nothing

Revision history for this message
dino99 (9d9) wrote :

some tweak:

if i remove/purge libgtk2.0-bin, then the system propose to upgrade gnome-icon-theme & install libgtk-3.0-bin, but:

it want to remove mostly all the gnome dependencies and install instead a bunch of kde packages, very strange.

Revision history for this message
Nick Semenkovich (semenko) wrote :

Not sure if I installed libgtk3.0-bin, but I did have the Virtualbox PPA added at some point.

Revision history for this message
Nick Semenkovich (semenko) wrote :

semenko@halogenated-wombat:~$ apt-cache policy libgtk3.0-bin
libgtk3.0-bin:
  Installed: (none)
  Candidate: (none)
  Version table:
     3.0.0-0ubuntu1 0
        100 /var/lib/dpkg/status

Revision history for this message
Nick Semenkovich (semenko) wrote :

The quick & obvious workaround is:

dpkg-divert --remove /usr/sbin/update-icon-caches
dpkg-divert --remove /usr/share/man/man8/update-icon-caches.8.gz

Revision history for this message
dino99 (9d9) wrote :

Thanks Semenko

i've applied those commands with "sudo"
then installed libgtk-3-bin and finally be abled to upgrade gnome-icon-theme

So this report can maybe be closed

Changed in gtk+3.0 (Ubuntu):
status: New → Triaged
Changed in gtk+3.0 (Debian):
status: Unknown → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue got fixed in debian and synced in that upload:

gtk+3.0 (3.0.11-0ubuntu1) oneiric; urgency=low

  * New upstream version
  * Resynchronize on Debian, see the 3.0.0-1ubuntu1 changelog entry which
    has a summary of the remaining Ubuntu changes
  * 043_notebook_scroll.patch:
    - dropped, that's a Debian change and we want the upstream behaviour rather
      or at least a rational to ship a diff over upstream for it
  * debian/control.in: clean some unrequired diffs over Debian

Changed in gtk+3.0 (Ubuntu):
status: Triaged → Fix Released
Changed in gtk+3.0 (Debian):
status: New → 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.