On 12.01.2013 14:48, Sébastien Villemot wrote: > Le vendredi 11 janvier 2013 à 19:55 +0530, Vasudev Kamath a écrit : >> On 18:55 Thu 10 Jan , Michael Biebl wrote: >>> On 10.01.2013 18:25, Vasudev Kamath wrote: >>>> Package: libgtk-3-bin >>>> Version: 3.4.2-5 >>>> Severity: serious >>>> >>>> When trying to upgrade from 3.4.2-4 to 3.4.2-5 I get following error and >>>> aptitude aborts >>>> >>>> Adding 'diversion of /usr/sbin/update-icon-caches to >>>> /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin' >>>> dpkg-divert: error: rename involves overwriting >>>> `/usr/sbin/update-icon-caches.gtk2' with >>>> different file `/usr/sbin/update-icon-caches', not allowed >>>> dpkg: error processing >>>> /var/cache/apt/archives/libgtk-3-bin_3.4.2-5_amd64.deb (--unpack): >>>> subprocess new pre-installation script returned error exit status 2 >>>> Errors were encountered while processing: >>>> /var/cache/apt/archives/libgtk-3-bin_3.4.2-5_amd64.deb >>>> >>>> This leaves the package management in broken state hence I marked the >>>> bug as serious >>> >>> The relevant code hasn't been changed for ages, so I really doubt that >>> it is a problem specific to 3.4.2-5. >>> >>> What does >>> dpkg -S /usr/sbin/update-icon-caches >>> give you. >> >> This command gives libgtk2.0-bin, libgtk-3-bin:/usr/sbin/update-icon-caches > > [...] > >>> What's the output of >>> md5sum /usr/sbin/update-icon-caches* >>> >> >> 6a2ca9da3d9e2cbb106f36a54a782ac6 /usr/sbin/update-icon-caches > > Let me summarize how I understand the state of your system: > > 1. dpkg currently does not know about the diversion (since dpkg-diverts > tries to add it during upgrade); said otherwise, the diversion is not > listed in /var/lib/dpkg/diversions
According to the md5sum, /usr/sbin/update-icon-caches is the one from libgtk-3-bin_3.4.2-5. This means a previous diversion *must* have been successful, otherwise /usr/sbin/update-icon-caches from libgtk2.0-bin wouldn't have been replaced. I assume you have libgtk2.0-0 and libgtk-3-bin installed for some time already? Yet, you don't have any /usr/sbin/update-icon-caches.gtk2 and no diversion registered for it, which is very dubious. Have manually fiddled with dpkg-divert or force-installed some packages? I guess in order to fix your system you need to re-install libgtk2.0-bin first, so /usr/sbin/update-icon-caches points to the correct version of the file, then re-install libgtk-3-bin. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature