[Pkg-hpijs-devel] Bug#556431: hplip: obsolete udev rules files are not removed on upgrades

Michael Biebl biebl at debian.org
Mon Nov 16 02:04:26 UTC 2009


Package: hplip
Version: 3.9.8-1
Severity: important

Hi,

hplip ships udev rules both in /etc/udev/rules.d and /lib/udev/rules.d
dpkg -L hplip | grep rules
/lib/udev/rules.d/40-hplip.rules
/lib/udev/rules.d/56-hpmud_support.rules
/etc/udev/rules.d/56-hpmud_support.rules
/etc/udev/rules.d/z60_hplip.rules

/etc/udev/rules.d/56-hpmud_support.rules and
/etc/udev/rules.d/z60_hplip.rules are marked as obsolete conffiles, but
they are not removed on upgrades, even if I haven't locally modified
them.

The preinst only seems to check for
/etc/udev/rules.d/55-hpmud.rules
/etc/udev/rules.d/45-hplip.rules
/etc/udev/rules.d/024_hpmud.rules

It should be easy to update preinst accordingly.

Cheers,
Michael

-- Package-specific info:
error: Version: (Not available. CUPS may not be installed or not running.)
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

HP Linux Imaging and Printing System (ver. 3.9.8)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies  
are installed to successfully compile HPLIP.                                                                                                                       
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the 
proper dependencies installed to successfully run.                                                                                                                 
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).         

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux pluto 2.6.31-1-686 #1 SMP Sun Oct 25 20:25:27 UTC 2009 i686 GNU/Linux

Distribution:
debian unstable

Checking Python version...
OK, version 2.5.4 installed

Checking PyQt 4.x version...
OK, version 4.6 installed.

Checking for CUPS...
Status: scheduler is running

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.9.8 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.9.8

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.9.8.36
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Cwarning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
error: scanimage not found.
error: 7 errors and/or warnings.
urrent contents of '~/.hplip/hplip.conf' file:
[installation]
version = 3.9.8.36
date_time = 11/15/09 19:59:26



--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


MP610_series
------------
Type: Unknown
Device URI: usb://Canon/MP610%20series
PPD: /etc/cups/ppd/MP610_series.ppd
PPD Description: Canon MP610 series Ver.2.80
Printer status: printer MP610_series is idle.  enabled since Fri Nov 13 15:36:15 2009


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.



---------------
| USER GROUPS |
---------------

michael dialout cdrom floppy sudo audio video plugdev scanner netdev bluetooth


-----------
| SUMMARY |
-----------


Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

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

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
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.111         add and remove users and groups
ii  coreutils                  8.0-1         GNU core utilities
ii  cups                       1.4.2-1       Common UNIX Printing System(tm) - 
ii  cups-client                1.4.2-1       Common UNIX Printing System(tm) - 
ii  hplip-data                 3.9.8-1       HP Linux Printing and Imaging - da
ii  libc6                      2.10.1-7      GNU C Library: Shared libraries
ii  libcups2                   1.4.2-1       Common UNIX Printing System(tm) - 
ii  libdbus-1-3                1.2.16-2      simple interprocess messaging syst
ii  libsane                    1.0.20-9      API library for scanners
ii  libsnmp15                  5.4.1~dfsg-12 SNMP (Simple Network Management Pr
ii  libssl0.9.8                0.9.8k-6      SSL shared libraries
ii  libusb-0.1-4               2:0.1.12-13   userspace USB programming library
ii  lsb-base                   3.2-23        Linux Standard Base 3.2 init scrip
ii  policykit-1                0.95-1        framework for managing administrat
ii  python                     2.5.4-2       An interactive high-level object-o
ii  python-dbus                0.83.0-1      simple interprocess messaging syst
ii  python-imaging             1.1.6-3.2     Python Imaging Library

Versions of packages hplip recommends:
ii  hplip-cups                    3.9.8-1    HP Linux Printing and Imaging - CU
pn  sane-utils                    <none>     (no description available)

Versions of packages hplip suggests:
pn  hplip-doc                     <none>     (no description available)
pn  hplip-gui                     <none>     (no description available)
pn  kdeprint | gtklp | xpp        <none>     (no description available)
ii  openprinting-ppds             20090616-1 OpenPrinting printer support - Pos

-- no debconf information





More information about the Pkg-hpijs-devel mailing list