Bug#697866: libgtk-3-bin fails to upgrade to 3.4.2-5
Sébastien Villemot
sebastien at debian.org
Sat Jan 12 13:48:02 UTC 2013
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
2. the destination of the diversion (/usr/sbin/update-icon-caches.gtk2)
is non-existent
3. dpkg-divert refuses to create the diversion, which is what makes the
upgrade fails
There are two things that I don't understand:
- how your system ended up in 1
- how 1, 2 and 3 can happen together. On my own system, if I try to
reproduce 1 and 2 by editing /var/lib/dpkg/diversions and by
deleting /u/s/u-i-c.gtk2, then dpkg-divert accepts to create the
diversion, i.e. 3 is not happening
I therefore fail to reproduce your problem or even understand its cause.
Additional information would be useful. In particular, the contents
of /var/lib/dpkg/diversions, /var/log/dpkg.log and /var/log/apt/term.log
would be helpful.
Cheers,
--
.''`. Sébastien Villemot
: :' : Debian Developer
`. `' http://www.dynare.org/sebastien
`- GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130112/87f019af/attachment.pgp>
More information about the pkg-gnome-maintainers
mailing list