[Pkg-hpijs-devel] Bug#768859: [printer-driver-hpcups] upgrading the packages overwrites the ppd

Francesco Muzio muziofg at gmail.com
Sun Nov 9 17:50:44 UTC 2014


Package: printer-driver-hpcups
Version: 3.14.6-1+b2
Severity: normal

Dear maintainers,

I have found a temporary workaround for the bug #655106
I use the hpijs ppd instead of hpcups and my printer works well with 
margins.

Unfortunately despite my printer has been installed using hpijs drivers 
after each package upgrading who triggers the PPD updating the PPD 
associated at hpcups overwrite automatically the original PPD and the 
printer driver is automatically switch to hpcups.

the following output shows an piece of "apt-get upgrade" result with my 
printer driver updated by hpcups insted of hpijs.



Elaborazione dei trigger per cups (1.7.5-7)...
Updating PPD files for hpcups ...
PPD for printer Deskjet_F4200 updated
Updating PPD files for hpijs ...
Configurazione di hplip (3.14.6-1+b2)...
Creating/updating hplip user account...

--- System information. ---
Architecture: i386
Kernel: Linux 3.16.3

Debian Release: jessie/sid
500 testing cdn.debian.net

--- Package information. ---
Depends (Version) | Installed
=================================-+-=============
libc6 (>= 2.15) | 2.19-12
libcups2 (>= 1.4.0) | 1.7.5-7
libcupsimage2 (>= 1.4.0) | 1.7.5-7
libdbus-1-3 (>= 1.0.2) | 1.8.8-2
libgcc1 (>= 1:4.1.1) | 1:4.9.1-19
libhpmud0 | 3.14.6-1+b2
libjpeg8 (>= 8c) | 8d1-2
libssl1.0.0 (>= 1.0.0) | 1.0.1j-1
libstdc++6 (>= 4.1.1) | 4.9.1-19
cups-filters (>= 1.0.36) | 1.0.61-2
OR ghostscript-cups |
cups (>= 1.4.0) | 1.7.5-7
OR cupsddk |
cups | 1.7.5-7


Package's Recommends field is empty.

Suggests (Version) | Installed
==========================-+-=============
hplip-doc |
hplip (= 3.14.6-1) | 3.14.6-1+b2

-------------- next part --------------
--- Output from package bug script ---
Saving output in log file: /home/muzio/hp-check.log

HP Linux Imaging and Printing System (ver. 3.14.6)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-13 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).   

Check types:                                                                    
a. EXTERNALDEP - External Dependencies                                          
b. GENERALDEP - General Dependencies (required both at compile and run time)    
c. COMPILEDEP - Compile time Dependencies                                       
d. [All are run-time checks]                                                    
PYEXT SCANCONF QUEUES PERMISSION                                                

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: debian-testing version is not supported. Using debian-7.5 versions dependencies to verify and install...

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

 Kernel: 3.16.3 #1 SMP PREEMPT Thu Oct 9 00:36:21 CEST 2014 GNU/Linux
 Host: AlexKidd
 Proc: 3.16.3 #1 SMP PREEMPT Thu Oct 9 00:36:21 CEST 2014 GNU/Linux
 Distribution: debian testing
 Bitness: 32 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.14.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  testing version 

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

[hplip]
version=3.14.6

[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
html=/usr/share/doc/hplip-3.14.6
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
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.14.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: File o directory non esistente

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer_name = Deskjet_F4200
printer = 
working_dir = .
device_uri = "hp:/usb/Deskjet_F4200_series?serial=CN895290G505BR"

[commands]
fax = hp-sendfax -d %FAX_URI%
scan = xsane -V %SANE_URI%
prnt = hp-print -p%PRINTER%
pcard = hp-unload -d %DEVICE_URI%
cpy = hp-makecopies -d %DEVICE_URI%

[settings]
systray_messages = 0
systray_visible = 0

[fax]
email_address = 
voice_phone = 

[refresh]
rate = 30
enable = true
type = 1

[polling]
enable = false
device_list = 
interval = 5

[installation]
date_time = 09/11/2014 18:47:46
version = 3.14.6

[upgrade]
notify_upgrade = false
last_upgraded_time = 1414178590.52741
pending_upgrade_time = 0
latest_available_version = 3.13.11


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

--------------------------
|  External Dependencies |
--------------------------

 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 gs                   Ghostscript               REQUIRED        7.05            9.06            OK         -
 network              Network-wget              OPTIONAL        -               1.16            OK         -
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.24          OK         -
 avahi-utils          avahi-utils               OPTIONAL        -               0.6.31          OK         -
 dbus                 DBus                      REQUIRED        -               1.8.8           OK         -
 cups                 CUPS                      REQUIRED        1.1             1.7.5           OK         'CUPS Scheduler is running'
 xsane                SANE-GUI                  OPTIONAL        0.9             0.998           OK         -

-------------------------
|  General Dependencies |
-------------------------

 error: reportlab     Python-PDF-Lib            OPTIONAL        2.0             3.1.8           MISSING    'reportlab needs to be installed'
 libcrypto            OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           OK         -
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             4.11.2          OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.19            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.2.0           OK         -
 python-devel         Python-SDK                REQUIRED        2.2             2.7.8           OK         -
 pyqt4                Python-Qt4                REQUIRED        4.0             4.11.2          OK         -
 cups-devel           CUPS-SDK                  REQUIRED        -               1.7.5           OK         -
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 libusb               USB-Lib                   REQUIRED        -               1.0             OK         -
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               1.7.5           MISSING    'cups-image needs to be installed'
 libnetsnmp-devel     SNMP-Networking-SDK       REQUIRED        5.0.9           5.7.2           OK         -
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

----------------------
|  Python Extentions |
----------------------

 cupsext              CUPS-Extension            REQUIRED        -               3.14.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.14.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.14.6          OK         -

-----------------------
|  Scan Configuration |
-----------------------

 hpaio                HPLIP-SANE-Backend        REQUIRED        -               3.14.6          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension       REQUIRED        -               3.14.6          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `v4l:/dev/video0' is a Noname Philips 750 webcam virtual device


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

No devices found.

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


Deskjet_F4200
-------------
Type: Printer
Device URI: hp:/usb/Deskjet_F4200_series?serial=CN895290G505BR
PPD: /etc/cups/ppd/Deskjet_F4200.ppd
PPD Description: HP Deskjet f4200 Series hpijs, 3.14.6
Printer status: la stampante Deskjet_F4200 �� stata disabilitata da mer 05 nov 2014 21:36:39 CET
	Unplugged or turned off
error: Unable to communicate with device (code=12): hp:/usb/Deskjet_F4200_series?serial=CN895290G505BR
error: Device not found
error: Communication status: Failed


--------------
| PERMISSION |
--------------


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

Missing Required Dependencies
-----------------------------
error: 'libjpeg8-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'python-reportlab' package is missing/incompatible 

Total Errors: 5
Total Warnings: 0

Run 'hp-doctor' command to prompt and fix the issues. 

Done.


More information about the Pkg-hpijs-devel mailing list