Bug#244982: zenity: dpkg-divert and overwrite problem during install

GCS GCS <gcs@lsc.hu>, 244982@bugs.debian.org
Wed, 21 Apr 2004 00:31:34 +0200


Package: zenity
Version: 1.8-1
Severity: important
Tags: experimental

While trying to upgrade to 2.6.1, I get the following:
# apt-get -t experimental upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages have been kept back:
  aptitude gnome-apt gnome-system-monitor librsvg2-2 librsvg2-common
rdesktop synaptic util-linux
The following packages will be upgraded:
  zenity
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0B/486kB of archives.
After unpacking 381kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 80374 files and directories currently installed.)
Preparing to replace zenity 1.8-1 (using .../zenity_2.6.1-1_i386.deb)
...
Removing `diversion of /usr/bin/gdialog to /usr/bin/gdialog.real by
zenity'
dpkg-divert: rename involves overwriting `/usr/bin/gdialog' with
  different file `/usr/bin/gdialog.real', not allowed
dpkg: error processing /var/cache/apt/archives/zenity_2.6.1-1_i386.deb
(--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/zenity_2.6.1-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6-rc1
Locale: LANG=C, LC_CTYPE=C

Versions of packages zenity depends on:
ii  libart-2.0-2                2.3.16-5     Library of functions for 2D graphi
ii  libatk1.0-0                 1.6.0-2      The ATK accessibility toolkit
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
ii  libgconf2-4                 2.6.1-1      GNOME configuration database syste
ii  libglade2-0                 1:2.3.6-4    Library to load .glade files at ru
ii  libglib2.0-0                2.4.0-2      The GLib library of C routines
ii  libgnomecanvas2-0           2.6.0-3      A powerful object-oriented display
ii  libgtk2.0-0                 2.4.0-2      The GTK+ graphical user interface 
ii  liborbit2                   1:2.10.0-0.1 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0               1.4.0-1      Layout and rendering of internatio
ii  libpopt0                    1.7-4        lib for parsing cmdline parameters
ii  libxml2                     2.6.8-2      GNOME XML library
ii  scrollkeeper                0.3.14-8     A free electronic cataloging syste
ii  zlib1g                      1:1.2.1-5    compression library - runtime

-- no debconf information