[Pkg-hpijs-devel] Bug#456378: hplip: Uses update-rc.d remove while init script exists; upgrade fails
Ben Hutchings
ben at decadent.org.uk
Sat Dec 15 02:59:12 UTC 2007
Package: hplip
Version: 2.7.10-4
Severity: serious
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The preinst script does:
if dpkg --compare-versions "$2" lt "2.7.7-0ubuntu4"; then
update-rc.d hplip remove
fi
The postinst script does the same but with a different version check.
Since /etc/init.d/hplip is a configuration file, it is not removed
when new versions of the package do not include it (and in any case,
the preinst script runs before the package's files have been updated).
So the update-rc.d invocation will always fail! Perhaps these
invocation should use the -f option to force removal.
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages hplip depends on:
ii adduser 3.105 add and remove users and groups
ii coreutils 5.97-5.6 The GNU core utilities
ii cupsys 1.3.4-2 Common UNIX Printing System(tm) -
ii hplip-data 2.7.10-4 HP Linux Printing and Imaging - da
ii libc6 2.7-3 GNU C Library: Shared libraries
ii libcupsys2 1.3.4-2 Common UNIX Printing System(tm) -
ii libjpeg62 6b-14 The Independent JPEG Group's JPEG
ii libsane 1.0.19~cvs20071028-1 API library for scanners
ii libsnmp15 5.4.1~dfsg-4 SNMP (Simple Network Management Pr
ii libssl0.9.8 0.9.8g-3 SSL shared libraries
ii libusb-0.1-4 2:0.1.12-8 userspace USB programming library
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii python 2.4.4-6 An interactive high-level object-o
ii python-support 0.7.5 automated rebuilding support for p
Versions of packages hplip recommends:
ii cupsys-client 1.3.4-1 Common UNIX Printing System(tm) -
ii hpijs 2.7.10+2.7.10-4 HP Linux Printing and Imaging - gs
ii hpijs-ppds 2.6.10+1.6.10-4.3 HP Linux Printing and Imaging - HP
ii hplip-gui 2.7.10-4 HP Linux Printing and Imaging - GU
pn openprinting-ppds <none> (no description available)
ii python-reportlab 2.0dfsg-1 ReportLab library to create PDF do
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHY0MA79ZNCRIGYgcRAifFAKCRA40x4LS4WIlI7494hduqBEBnKgCfUbaV
bx0x7tHrHOik5PW1NVIx9Ss=
=RU6Q
-----END PGP SIGNATURE-----
More information about the Pkg-hpijs-devel
mailing list