Bug#267067: gnome-terminal: bug in prerm in usage of update-alternatives

root mennucc1@debian.org, 267067@bugs.debian.org
Fri, 20 Aug 2004 16:24:47 +0200


Package: gnome-terminal
Version: 1.4.0.6-5
Severity: important


hi

I am trying to upgrade a woody box to sarge; 'aptitude' has 
decided to delete gnome-terminal;

but the prerm script of gnome-terminal contains this snippet

vvvvvvvvvvvv
if [ "$1" = remove ]; then
    update-alternatives --remove x-terminal-emulator /usr/bin/gnome-terminal.wrapper \
    --slave /usr/share/man/man1/x-terminal-emulator.1.gz \
    x-terminal-emulator.1.gz /usr/share/man/man1/gnome-terminal.1.gz
fi
^^^^^^^^^^^^^^

unfortunately (in dpkg 1.10.23 ) you cannot use 
 --remove and     --slave together
(and this is reasonable: '--remove' removes all the slaves, too)

so the prerm of gnome-terminal fails, and then the whole upgrade
of my box stops

a.
 

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux celle 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gnome-terminal depends on:
ii  gdk-imlib1             1.9.14-2          Gdk-Imlib is an imaging library fo
ii  gnome-bin              1.4.1.4-3         Miscellaneous binaries used by Gno
ii  libart2                1.4.1.4-3         The Gnome canvas widget - runtime 
ii  libaudiofile0          0.2.3-4           The Audiofile Library
ii  libc6                  2.3.2.ds1-13      GNU C Library: Shared libraries an
ii  libdb3                 3.2.9-16          Berkeley v3 Database Libraries [ru
ii  libesd0                0.2.23-3          Enlightened Sound Daemon - Shared 
ii  libglade-gnome0        1:0.17-2.2        Library to load .glade files at ru
ii  libglade0              1:0.17-2.2        Library to load .glade files at ru
ii  libglib1.2             1.2.10-4          The GLib library of C routines
ii  libgnome32             1.4.1.4-3         The Gnome libraries
ii  libgnomesupport0       1.4.1.4-3         The Gnome libraries (Support libra
ii  libgnomeui32           1.4.1.4-3         The Gnome libraries (User Interfac
ii  libgnorba27            1.4.1.4-3         Gnome CORBA services
ii  libgtk1.2              1.2.10-11         The GIMP Toolkit set of widgets fo
ii  libjpeg62              6b-5              The Independent JPEG Group's JPEG 
ii  liborbit0              0.5.16-1          Libraries for ORBit - a CORBA ORB
ii  libpng2                1.0.12-3.woody.5  PNG library - runtime
ii  libtiff3g              3.5.5-6           Tag Image File Format library
ii  libungif4g             4.1.0b1-2         shared library for GIF images (run
ii  libwrap0               7.6-9             Wietse Venema's TCP wrappers libra
ii  libxml1                1:1.8.17-2        GNOME XML library
ii  libzvt2                1.4.1.4-3         The Gnome zvt (zterm) widget
pn  scrollkeeper (>= 0.3.5                   Not found.
ii  xlibs                  4.1.0-16woody3    X Window System client libraries
ii  zlib1g                 1:1.1.4-1.0woody0 compression library - runtime