[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#605589: hplip: -> can not install printer



1) First  Testing-Jessie :
- Still working after switching from testing-Wheezy to testing-Jessie
- After a few weeks appearance of a pop-up indicating that the drivers has to 
be updated.
- After a few more weeks the printer (CP1215) was not recognized and can not 
load the drivers.

2) Second Stable Wheezy (updated 13/11/2013)
Unable to start hplip

Test with hp-check-r:

root@zeus:~#  /etc/init.d/cups restart
[ ok ] Restarting Common Unix Printing System: cupsd.

root@zeus:~# hp-check -r

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

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

Saving output in log file: /root/hp-check.log

Initializing. Please wait...
-No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could 
not open display
  warnings.warn(str(e), _gtk.Warning)
\No protocol specified

(xsane:29469): Gtk-WARNING **: cannot open display: :0
warning: debian-7.2 version is not supported. Using debian-6.0.5 versions 
dependencies to verify and install...

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

 Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
 Host: zeus
 Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
 Distribution: debian 7.2

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

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

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

[hplip]
version=3.12.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
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
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.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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: Aucun fichier ou dossier de ce 
type

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: Aucun fichier ou dossier de ce type
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> 
<Installed-Version> <Status>   <Comment>

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

 gs                   Ghostscript               REQUIRED        7.05            
9.05            OK         -
 network              Network-wget              OPTIONAL        -               
1.13.4          OK         -
 error: dbus          DBus                      REQUIRED        -               
1.6.8           MISSING    'DBUS may not be installed or not running'
 scanimage            Shell-Scanning            OPTIONAL        1.0             
1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               
0.105           OK         -
No protocol specified

(xsane:29483): Gtk-WARNING **: cannot open display: :0
No protocol specified

(xsane:29484): Gtk-WARNING **: cannot open display: :0
 error: xsane         SANE-GUI                  OPTIONAL        0.9             
-               MISSING    'xsane needs to be installed'
 error: cups          CUPS                      REQUIRED        1.1             
-               INCOMPAT   'CUPS may not be installed or not running'

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

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             
2.5             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               
1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               
1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             
4.9.3           OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               
-               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               
2.13            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          
1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               
-               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             
2.7.3           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             
4.9.3           OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               
-               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               
-               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               
1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               
-               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               
-               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           
5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               
2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               
-               OK         -

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

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

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

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

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

No Scanner found.

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

  Device URI                                Model                   
  ----------------------------------------  ------------------------
  hp:/usb/HP_Color_LaserJet_CP1215?serial=  HP Color LaserJet CP1215
  LJ1N08D                                                           

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

 
p11-kit
-------
Type: Unknown
Device URI: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-
keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
Ne peut ouvrir le fichier d'objet partag?: Aucun fichier ou dossier de ce type

HP
--
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_CP1215?serial=LJ1N08D
PPD: /etc/cups/ppd/HP.ppd
PPD Description: HP Color LaserJet cp1215, hpcups 3.12.6, requires proprietary 
plugin
Printer status: p11-kit: couldn't load module: /usr/lib/x86_64-linux-
gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-
keyring-pkcs11.so: Ne peut ouvrir le fichier d'objet partaprinter HP is idle.  
enabled since mer. 13 nov. 2013 14:36:14 CET
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-
pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Ne peut 
ouvrir le fichier d'objet partag?: Aucun fichier ou dossier de ce type
error: Required plug-in status: Not installed
Communication status: Good


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

error: groups   user-groups                    Required        -        -        
MISSING  ['lp', 'lpadmin']
USB             HP                             Required        -        -        
OK       Node:'/dev/bus/usb/001/004' Perm:'  root  lp  --t rw- rw- rw- rw- 
r--'

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

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'libjpeg62-dev' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible 
error: 'cups-ddk' package is missing/incompatible 


Total Errors: 17
Total Warnings: 1

Re-run 'hp-check --fix' command to prompt and fix the issues. 

Done.

/******************************
Test with hp-check --fix



root@zeus:~# hp-check --fix

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

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

Saving output in log file: /root/hp-check.log

Initializing. Please wait...
-No protocol specified
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could 
not open display
  warnings.warn(str(e), _gtk.Warning)
\No protocol specified

(xsane:29527): Gtk-WARNING **: cannot open display: :0
warning: debian-7.2 version is not supported. Using debian-6.0.5 versions 
dependencies to verify and install...

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

 Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
 Host: zeus
 Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
 Distribution: debian 7.2

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

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

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

[hplip]
version=3.12.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
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
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.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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: Aucun fichier ou dossier de ce 
type

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: Aucun fichier ou dossier de ce type
 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> 
<Installed-Version> <Status>   <Comment>

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

 gs                   Ghostscript               REQUIRED        7.05            
9.05            OK         -
 network              Network-wget              OPTIONAL        -               
1.13.4          OK         -
 error: dbus          DBus                      REQUIRED        -               
1.6.8           MISSING    'DBUS may not be installed or not running'
 scanimage            Shell-Scanning            OPTIONAL        1.0             
1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               
0.105           OK         -
No protocol specified

(xsane:29541): Gtk-WARNING **: cannot open display: :0
No protocol specified

(xsane:29542): Gtk-WARNING **: cannot open display: :0
 error: xsane         SANE-GUI                  OPTIONAL        0.9             
-               MISSING    'xsane needs to be installed'
 error: cups          CUPS                      REQUIRED        1.1             
-               INCOMPAT   'CUPS may not be installed or not running'

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

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             
2.5             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               
1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               
1.1.7           OK         -
 pyqt4-dbus           PyQt4-DBUS                REQUIRED        4.0             
4.9.3           OK         -
 error: libjpeg       JPEG-Lib                  REQUIRED        -               
-               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               
2.13            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          
1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               
-               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             
2.7.3           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             
4.9.3           OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               
-               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               
-               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               
1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               
-               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               
-               MISSING    'cups-image needs to be installed'
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           
5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               
2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               
-               OK         -

------------------------------
|  Compile Time Dependencies |
------------------------------

 error: gcc           gcc-Compiler              REQUIRED        -               
4.7.2           MISSING    'gcc needs to be installed'
 error: libtool       Build-tools               REQUIRED        -               
-               MISSING    'libtool needs to be installed'
 error: make          GNU-Build-tools           REQUIRED        3.0             
-               MISSING    'make needs to be installed'

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

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

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

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

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

No Scanner found.

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

  Device URI                                Model                   
  ----------------------------------------  ------------------------
  hp:/usb/HP_Color_LaserJet_CP1215?serial=  HP Color LaserJet CP1215
  LJ1N08D                                                           

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

 
p11-kit
-------
Type: Unknown
Device URI: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-
keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: 
Ne peut ouvrir le fichier d'objet partag?: Aucun fichier ou dossier de ce type

HP
--
Type: Printer
Device URI: hp:/usb/HP_Color_LaserJet_CP1215?serial=LJ1N08D
PPD: /etc/cups/ppd/HP.ppd
PPD Description: HP Color LaserJet cp1215, hpcups 3.12.6, requires proprietary 
plugin
Printer status: p11-kit: couldn't load module: /usr/lib/x86_64-linux-
gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-
keyring-pkcs11.so: Ne peut ouvrir le fichier d'objet partaprinter HP is idle.  
enabled since mer. 13 nov. 2013 14:36:14 CET
p11-kit: couldn't load module: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-
pkcs11.so: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Ne peut 
ouvrir le fichier d'objet partag?: Aucun fichier ou dossier de ce type
error: Required plug-in status: Not installed
Communication status: Good


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

error: groups   user-groups                    Required        -        -        
MISSING  ['lp', 'lpadmin']
USB             HP                             Required        -        -        
OK       Node:'/dev/bus/usb/001/004' Perm:'  root  lp  --t rw- rw- rw- rw- 
r--'

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

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'libjpeg62-dev' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'g++' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'make' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible 
error: 'cups-ddk' package is missing/incompatible 


Total Errors: 20
Total Warnings: 1


------------------------------------
| Installation of Missing Packages |
------------------------------------

Install missing/incompatible packages. (a=install all*, c=custom_install, 
s=skip, q=quit):
A package manager '/usr/lib/kde4/libexec/kdesu-uroot-csynaptic' appears to be 
running. Please quit the package manager and press enter to continue 
(i=ignore, r=retry*, f=force, q=quit) :
A package manager '/usr/lib/kde4/libexec/kdesu-uroot-csynaptic' appears to be 
running. Please quit the package manager and press enter to continue 
(i=ignore, r=retry*, f=force, q=quit) :q
root@zeus:~# 

Regards  (and sorry for the poor english  )

Bernard


Reply to: