[Pkg-tcltk-devel] Bug#447310: tcl8.4-dev: upgrade fails when tcl.m4 alternative not actually registered

Aaron M. Ucko ucko at debian.org
Fri Oct 19 23:30:35 UTC 2007


Package: tcl8.4-dev
Version: 8.4.16-2
Severity: important

For whatever reason (broken logic in old postinst scripts?), I didn't
actually have a tcl.m4 alternative when trying to upgrade from
8.4.16-1 to 8.4.16-2, causing the new preinst script to fail:

Preparing to replace tcl8.4-dev 8.4.16-1 (using .../tcl8.4-dev_8.4.16-2_amd64.deb) ...
No alternatives for tcl.m4.
dpkg: error processing /var/cache/apt/archives/tcl8.4-dev_8.4.16-2_amd64.deb (--unpack):
 subprocess pre-installation script returned error exit status 1

This looks like it shouldn't be too hard to work around (by
temporarily uninstalling the package, or creating a short-lived
alternative by hand), but it's still a bug and a nuisance; could you
please fix it?

Thanks!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22.6 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tcl8.4-dev depends on:
ii  libc6-dev [libc-dev]          2.6.1-6    GNU C Library: Development Librari
ii  tcl8.4                        8.4.16-2   Tcl (the Tool Command Language) v8

tcl8.4-dev recommends no packages.

-- no debconf information





More information about the Pkg-tcltk-devel mailing list