[Pkg-hpijs-devel] Bug#454084: hplip: unconditional use of deluser in postinst

Michael Biebl biebl at debian.org
Sun Dec 2 22:50:20 UTC 2007


Package: hplip
Version: 2.7.10-4
Severity: normal

As it can't be guaranteed that deluser is available in postinst/purge,
the call should be made conditional.

The getent call is superfluous too, just drop it.
adduser/addgroup/deluser/delgroup handles this case automatically.

Cheers,
Michael


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.9
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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-2         Common UNIX Printing System(tm) - 
ii  hpijs                    2.7.10+2.7.10-4 HP Linux Printing and Imaging - gs
ii  hpijs-ppds               2.7.10+2.7.10-4 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





More information about the Pkg-hpijs-devel mailing list