HP LaserJet P1008 can't get work in Linux/debian 4.6.0-1-amd64

Asked by mayuan

OS: Linux/debian 4.6.0-1-amd64
cups: 2.2.1
hp-check -t:

hp-check[7450]: info: :
hp-check[7450]: info: :HP Linux Imaging and Printing System (ver. 3.16.8)
hp-check[7450]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[7450]: info: :
hp-check[7450]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[7450]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[7450]: info: :This is free software, and you are welcome to distribute it
hp-check[7450]: info: :under certain conditions. See COPYING file for more details.
hp-check[7450]: info: :
hp-check[7450]: info: :Note: hp-check can be run in three modes:
hp-check[7450]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
hp-check[7450]: info: :(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
hp-check[7450]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb,
hp-check[7450]: info: :.rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
hp-check[7450]: info: :successfully run.
hp-check[7450]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the
hp-check[7450]: info: :above cases (both compile- and run-time dependencies).
hp-check[7450]: info: :
hp-check[7450]: info: :Check types:
hp-check[7450]: info: :a. EXTERNALDEP - External Dependencies
hp-check[7450]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[7450]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[7450]: info: :d. [All are run-time checks]
hp-check[7450]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[7450]: info: :
hp-check[7450]: info: :Status Types:
hp-check[7450]: info: : OK
hp-check[7450]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[7450]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[7450]: info: :
warning: 2-stretch/sid version is not supported. Using 2-8.5 versions dependencies to verify and install...
hp-check[7450]: info: :
hp-check[7450]: info: :---------------
hp-check[7450]: info: :| SYSTEM INFO |
hp-check[7450]: info: :---------------
hp-check[7450]: info: :
hp-check[7450]: info: : Kernel: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Host: debian
 Proc: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Distribution: 2 stretch/sid
hp-check[7450]: info: : Bitness: 64 bit

hp-check[7450]: info: :
hp-check[7450]: info: :-----------------------
hp-check[7450]: info: :| HPLIP CONFIGURATION |
hp-check[7450]: info: :-----------------------
hp-check[7450]: info: :
hp-check[7450]: info: :HPLIP-Version: HPLIP 3.16.8
hp-check[7450]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro stretch/sid version
hp-check[7450]: info: :
hp-check[7450]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[7450]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.16.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
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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.16.8
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

hp-check[7450]: info: :
hp-check[7450]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[7450]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[7450]: info: :
hp-check[7450]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[7450]: info: :[installation]
date_time = 11/09/16 08:42:37
version = 3.16.8

hp-check[7450]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[7450]: info: :
hp-check[7450]: info: :-------------------------
hp-check[7450]: info: :| External Dependencies |
hp-check[7450]: info: :-------------------------
hp-check[7450]: info: :
hp-check[7450]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
hp-check[7450]: info: : error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
hp-check[7450]: info: : error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
hp-check[7450]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.1 OK 'CUPS Scheduler is running'
hp-check[7450]: info: : error: dbus DBus - Message bus system REQUIRED - 1.10.8 MISSING 'DBUS may not be installed or not running'
hp-check[7450]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
hp-check[7450]: info: : network network -wget OPTIONAL - 1.18 OK -
hp-check[7450]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[7450]: info: :
hp-check[7450]: info: :----------------------
hp-check[7450]: info: :| Scan Configuration |
hp-check[7450]: info: :----------------------
hp-check[7450]: info: :
hp-check[7450]: info: :'/etc/sane.d/dll.d/hpaio' not found.
hp-check[7450]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.16.8 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[7450]: info: : scanext Scan-SANE-Extension REQUIRED - 3.16.8 OK -
hp-check[7450]: info: :
hp-check[7450]: info: :------------------------
hp-check[7450]: info: :| General Dependencies |
hp-check[7450]: info: :------------------------
hp-check[7450]: info: :
hp-check[7450]: info: : error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
hp-check[7450]: info: : error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
hp-check[7450]: info: : error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
hp-check[7450]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[7450]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
hp-check[7450]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[7450]: info: : error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
hp-check[7450]: info: : error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
hp-check[7450]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
hp-check[7450]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
hp-check[7450]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[7450]: info: : error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
hp-check[7450]: info: : error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
hp-check[7450]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
hp-check[7450]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.1 OK -
hp-check[7450]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
hp-check[7450]: info: : python3-xml Python XML libraries REQUIRED - 2.2.0 OK -
hp-check[7450]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.1 OK -
hp-check[7450]: info: :
hp-check[7450]: info: :--------------
hp-check[7450]: info: :| COMPILEDEP |
hp-check[7450]: info: :--------------
hp-check[7450]: info: :
hp-check[7450]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[7450]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 6.1.1 OK -
hp-check[7450]: info: : error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
hp-check[7450]: info: :
hp-check[7450]: info: :---------------------
hp-check[7450]: info: :| Python Extentions |
hp-check[7450]: info: :---------------------
hp-check[7450]: info: :
hp-check[7450]: info: : cupsext CUPS-Extension REQUIRED - 3.16.8 OK -
hp-check[7450]: info: : hpmudext IO-Extension REQUIRED - 3.16.8 OK -
hp-check[7450]: info: :
hp-check[7450]: info: :------------------------------
hp-check[7450]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[7450]: info: :------------------------------
hp-check[7450]: info: :
hp-check[7450]: info: :No Scanner found.
hp-check[7450]: info: :
hp-check[7450]: info: :--------------------------
hp-check[7450]: info: :| DISCOVERED USB DEVICES |
hp-check[7450]: info: :--------------------------
hp-check[7450]: info: :
hp-check[7450]: info: : Device URI Model
hp-check[7450]: info: : ---------------------------------------- --------------------
hp-check[7450]: info: : hp:/usb/HP_LaserJet_P1008?serial=MB04FWB HP LaserJet P1008
hp-check[7450]: info: :
hp-check[7450]: info: :---------------------------------
hp-check[7450]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[7450]: info: :---------------------------------
hp-check[7450]: info: :
hp-check[7450]: info: :
hp-check[7450]: info: :Hewlett-Packard-HP-LaserJet-P1008
hp-check[7450]: info: :---------------------------------
hp-check[7450]: info: :Type: Printer
hp-check[7450]: info: :Device URI: hp:/usb/HP_LaserJet_P1008?serial=MB04FWB
error: Required plug-in status: Not installed
hp-check[7450]: info: :Communication status: Good
hp-check[7450]: info: :
hp-check[7450]: info: :Hewlett-Packard-HP-LaserJet-P1008-2
hp-check[7450]: info: :-----------------------------------
hp-check[7450]: info: :Type: Printer
hp-check[7450]: info: :Device URI: hp:/usb/HP_LaserJet_P1008?serial=MB04FWB
hp-check[7450]: info: :PPD: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1008-2.ppd
hp-check[7450]: info: :PPD Description: HP LaserJet P1008 Foomatic/foo2xqx (recommended)
hp-check[7450]: info: :Printer status: printer Hewlett-Packard-HP-LaserJet-P1008-2 is idle. enabled since Wed 09 Nov 2016 08:29:00 AM CST
error: Required plug-in status: Not installed
hp-check[7450]: info: :Communication status: Good
hp-check[7450]: info: :
hp-check[7450]: info: :
hp-check[7450]: info: :--------------
hp-check[7450]: info: :| PERMISSION |
hp-check[7450]: info: :--------------
hp-check[7450]: info: :
hp-check[7450]: info: :USB Hewlett-Packard-HP-LaserJet-P1008 Required - - OK Node:'/dev/bus/usb/001/004' Perm:' root lp rw- rw- rw- rw- rw- r--'
hp-check[7450]: info: :
hp-check[7450]: info: :-----------
hp-check[7450]: info: :| SUMMARY |
hp-check[7450]: info: :-----------
hp-check[7450]: info: :
hp-check[7450]: info: :Missing Required Dependencies
hp-check[7450]: info: :-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
hp-check[7450]: info: :
hp-check[7450]: info: :Missing Optional Dependencies
hp-check[7450]: info: :-----------------------------
error: 'avahi-utils' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'python3-notify2' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
hp-check[7450]: info: :
hp-check[7450]: info: :Plug-in Status
hp-check[7450]: info: :--------------
error: Plug-ins need to be installed
hp-check[7450]: info: :
hp-check[7450]: info: :Total Errors: 13
hp-check[7450]: info: :Total Warnings: 0
hp-check[7450]: info: :
hp-check[7450]: info: :
hp-check[7450]: info: :Done.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
mayuan
Solved:
Last query:
Last reply:
Revision history for this message
Ajay Kedar (ajay-kedar) said :
#1

Hi,

Can you please install the latest HPLIP from following link.

Regards,
Ajay

Revision history for this message
mayuan (1751277394-n) said :
#2

Sorry for the delay.

After upgrade the HPLIP to 3.16.10, It's not work too.

hp-check[13630]: info: :
hp-check[13630]: info: :HP Linux Imaging and Printing System (ver. 3.16.10)
hp-check[13630]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[13630]: info: :
hp-check[13630]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[13630]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[13630]: info: :This is free software, and you are welcome to distribute it
hp-check[13630]: info: :under certain conditions. See COPYING file for more details.
hp-check[13630]: info: :
hp-check[13630]: info: :Note: hp-check can be run in three modes:
hp-check[13630]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
hp-check[13630]: info: :(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
hp-check[13630]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb,
hp-check[13630]: info: :.rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
hp-check[13630]: info: :successfully run.
hp-check[13630]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the
hp-check[13630]: info: :above cases (both compile- and run-time dependencies).
hp-check[13630]: info: :
hp-check[13630]: info: :Check types:
hp-check[13630]: info: :a. EXTERNALDEP - External Dependencies
hp-check[13630]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[13630]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[13630]: info: :d. [All are run-time checks]
hp-check[13630]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[13630]: info: :
hp-check[13630]: info: :Status Types:
hp-check[13630]: info: : OK
hp-check[13630]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[13630]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[13630]: info: :
warning: 2-stretch/sid version is not supported. Using 2-8.6 versions dependencies to verify and install...
hp-check[13630]: info: :
hp-check[13630]: info: :---------------
hp-check[13630]: info: :| SYSTEM INFO |
hp-check[13630]: info: :---------------
hp-check[13630]: info: :
hp-check[13630]: info: : Kernel: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Host: debian
 Proc: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Distribution: 2 stretch/sid
hp-check[13630]: info: : Bitness: 64 bit

hp-check[13630]: info: :
hp-check[13630]: info: :-----------------------
hp-check[13630]: info: :| HPLIP CONFIGURATION |
hp-check[13630]: info: :-----------------------
hp-check[13630]: info: :
hp-check[13630]: info: :HPLIP-Version: HPLIP 3.16.10
hp-check[13630]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro stretch/sid version
hp-check[13630]: info: :
hp-check[13630]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[13630]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.16.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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.16.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

hp-check[13630]: info: :
hp-check[13630]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[13630]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[13630]: info: :
hp-check[13630]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[13630]: info: :[installation]
date_time = 11/10/16 08:16:24
version = 3.16.10

hp-check[13630]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[13630]: info: :
hp-check[13630]: info: :----------------------
hp-check[13630]: info: :| Scan Configuration |
hp-check[13630]: info: :----------------------
hp-check[13630]: info: :
hp-check[13630]: info: :'/etc/sane.d/dll.d/hpaio' not found.
hp-check[13630]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.16.10 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[13630]: info: : scanext Scan-SANE-Extension REQUIRED - 3.16.10 OK -
hp-check[13630]: info: :
hp-check[13630]: info: :-------------------------
hp-check[13630]: info: :| External Dependencies |
hp-check[13630]: info: :-------------------------
hp-check[13630]: info: :
hp-check[13630]: info: : error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
hp-check[13630]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
hp-check[13630]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
hp-check[13630]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[13630]: info: : error: dbus DBus - Message bus system REQUIRED - 1.10.8 MISSING 'DBUS may not be installed or not running'
hp-check[13630]: info: : network network -wget OPTIONAL - 1.18 OK -
hp-check[13630]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.1 OK 'CUPS Scheduler is running'
hp-check[13630]: info: : error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
hp-check[13630]: info: :
hp-check[13630]: info: :------------------------
hp-check[13630]: info: :| General Dependencies |
hp-check[13630]: info: :------------------------
hp-check[13630]: info: :
hp-check[13630]: info: : error: python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 MISSING 'python3-devel needs to be installed'
hp-check[13630]: info: : python3-xml Python XML libraries REQUIRED - 2.2.0 OK -
hp-check[13630]: info: : error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
hp-check[13630]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
hp-check[13630]: info: : error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
hp-check[13630]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[13630]: info: : error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
hp-check[13630]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
hp-check[13630]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[13630]: info: : error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
hp-check[13630]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.1 OK -
hp-check[13630]: info: : error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
hp-check[13630]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
hp-check[13630]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[13630]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
hp-check[13630]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
hp-check[13630]: info: : error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
hp-check[13630]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.1 OK -
hp-check[13630]: info: :
hp-check[13630]: info: :---------------------
hp-check[13630]: info: :| Python Extentions |
hp-check[13630]: info: :---------------------
hp-check[13630]: info: :
hp-check[13630]: info: : cupsext CUPS-Extension REQUIRED - 3.16.10 OK -
hp-check[13630]: info: : hpmudext IO-Extension REQUIRED - 3.16.10 OK -
hp-check[13630]: info: :
hp-check[13630]: info: :--------------
hp-check[13630]: info: :| COMPILEDEP |
hp-check[13630]: info: :--------------
hp-check[13630]: info: :
hp-check[13630]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 6.1.1 OK -
hp-check[13630]: info: : error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
hp-check[13630]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[13630]: info: :
hp-check[13630]: info: :------------------------------
hp-check[13630]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[13630]: info: :------------------------------
hp-check[13630]: info: :
hp-check[13630]: info: :No Scanner found.
hp-check[13630]: info: :
hp-check[13630]: info: :--------------------------
hp-check[13630]: info: :| DISCOVERED USB DEVICES |
hp-check[13630]: info: :--------------------------
hp-check[13630]: info: :
hp-check[13630]: info: : Device URI Model
hp-check[13630]: info: : ---------------------------------------- --------------------
hp-check[13630]: info: : hp:/usb/HP_LaserJet_P1008?serial=MB04FWB HP LaserJet P1008
hp-check[13630]: info: :
hp-check[13630]: info: :---------------------------------
hp-check[13630]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[13630]: info: :---------------------------------
hp-check[13630]: info: :
hp-check[13630]: info: :
hp-check[13630]: info: :Hewlett-Packard-HP-LaserJet-P1008
hp-check[13630]: info: :---------------------------------
hp-check[13630]: info: :Type: Printer
hp-check[13630]: info: :Device URI: hp:/usb/HP_LaserJet_P1008?serial=MB04FWB
hp-check[13630]: info: :PPD: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1008.ppd
hp-check[13630]: info: :PPD Description: HP LaserJet P1008 Foomatic/foo2xqx (recommended)
hp-check[13630]: info: :Printer status: printer Hewlett-Packard-HP-LaserJet-P1008 is idle. enabled since Thu 10 Nov 2016 08:16:31 AM CST
error: Required plug-in status: Not installed
hp-check[13630]: info: :Communication status: Good
hp-check[13630]: info: :
hp-check[13630]: info: :
hp-check[13630]: info: :--------------
hp-check[13630]: info: :| PERMISSION |
hp-check[13630]: info: :--------------
hp-check[13630]: info: :
hp-check[13630]: info: :USB Hewlett-Packard-HP-LaserJet-P1008 Required - - OK Node:'/dev/bus/usb/001/003' Perm:' root lp rw- rw- rw- rw- rw- r--'
hp-check[13630]: info: :
hp-check[13630]: info: :-----------
hp-check[13630]: info: :| SUMMARY |
hp-check[13630]: info: :-----------
hp-check[13630]: info: :
hp-check[13630]: info: :Missing Required Dependencies
hp-check[13630]: info: :-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible
error: 'python3-dev' package is missing/incompatible
error: 'libsane-dev' package is missing/incompatible
error: 'python3-pyqt4' package is missing/incompatible
error: 'gtk2-engines-pixbuf' package is missing/incompatible
error: 'libsnmp-dev' package is missing/incompatible
error: 'snmp' package is missing/incompatible
error: 'libusb-1.0.0-dev' package is missing/incompatible
error: 'libtool' package is missing/incompatible
error: 'libtool-bin' package is missing/incompatible
hp-check[13630]: info: :
hp-check[13630]: info: :Missing Optional Dependencies
hp-check[13630]: info: :-----------------------------
error: 'xsane' package is missing/incompatible
error: 'avahi-utils' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
error: 'python3-notify2' package is missing/incompatible
hp-check[13630]: info: :
hp-check[13630]: info: :Plug-in Status
hp-check[13630]: info: :--------------
error: Plug-ins need to be installed
hp-check[13630]: info: :
hp-check[13630]: info: :Total Errors: 12
hp-check[13630]: info: :Total Warnings: 0
hp-check[13630]: info: :
hp-check[13630]: info: :
hp-check[13630]: info: :Done.

Revision history for this message
mayuan (1751277394-n) said :
#3

I install the required dependencies by:

sudo aptitude install libdbus-1-dev python3-dev libsane-dev python3-pyqt4 gtk2-engines-pixbuf libsnmp-dev snmp libusb-1.0.0-dev libtool libtool-bin

The printer keep silence too.

hp-check -t:

hp-check[22912]: info: :
hp-check[22912]: info: :HP Linux Imaging and Printing System (ver. 3.16.10)
hp-check[22912]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[22912]: info: :
hp-check[22912]: info: :Copyright (c) 2001-15 HP Development Company, LP
hp-check[22912]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[22912]: info: :This is free software, and you are welcome to distribute it
hp-check[22912]: info: :under certain conditions. See COPYING file for more details.
hp-check[22912]: info: :
hp-check[22912]: info: :Note: hp-check can be run in three modes:
hp-check[22912]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
hp-check[22912]: info: :(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
hp-check[22912]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb,
hp-check[22912]: info: :.rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to
hp-check[22912]: info: :successfully run.
hp-check[22912]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the
hp-check[22912]: info: :above cases (both compile- and run-time dependencies).
hp-check[22912]: info: :
hp-check[22912]: info: :Check types:
hp-check[22912]: info: :a. EXTERNALDEP - External Dependencies
hp-check[22912]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[22912]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[22912]: info: :d. [All are run-time checks]
hp-check[22912]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[22912]: info: :
hp-check[22912]: info: :Status Types:
hp-check[22912]: info: : OK
hp-check[22912]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[22912]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[22912]: info: :
warning: 2-stretch/sid version is not supported. Using 2-8.6 versions dependencies to verify and install...
hp-check[22912]: info: :
hp-check[22912]: info: :---------------
hp-check[22912]: info: :| SYSTEM INFO |
hp-check[22912]: info: :---------------
hp-check[22912]: info: :
hp-check[22912]: info: : Kernel: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Host: debian
 Proc: 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) GNU/Linux
 Distribution: 2 stretch/sid
hp-check[22912]: info: : Bitness: 64 bit

hp-check[22912]: info: :
hp-check[22912]: info: :-----------------------
hp-check[22912]: info: :| HPLIP CONFIGURATION |
hp-check[22912]: info: :-----------------------
hp-check[22912]: info: :
hp-check[22912]: info: :HPLIP-Version: HPLIP 3.16.10
hp-check[22912]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro stretch/sid version
hp-check[22912]: info: :
hp-check[22912]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[22912]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.16.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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.16.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no

hp-check[22912]: info: :
hp-check[22912]: info: :Current contents of '/var/lib/hp/hplip.state' file:
hp-check[22912]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[22912]: info: :
hp-check[22912]: info: :Current contents of '~/.hplip/hplip.conf' file:
hp-check[22912]: info: :[installation]
date_time = 11/10/16 08:35:52
version = 3.16.10

hp-check[22912]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[22912]: info: :
hp-check[22912]: info: :-------------------------
hp-check[22912]: info: :| External Dependencies |
hp-check[22912]: info: :-------------------------
hp-check[22912]: info: :
hp-check[22912]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
hp-check[22912]: info: : error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'
hp-check[22912]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.2.1 OK 'CUPS Scheduler is running'
hp-check[22912]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[22912]: info: : dbus DBus - Message bus system REQUIRED - 1.10.12 OK -
hp-check[22912]: info: : error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
hp-check[22912]: info: : network network -wget OPTIONAL - 1.18 OK -
hp-check[22912]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.25 OK -
hp-check[22912]: info: :
hp-check[22912]: info: :---------------------
hp-check[22912]: info: :| Python Extentions |
hp-check[22912]: info: :---------------------
hp-check[22912]: info: :
hp-check[22912]: info: : cupsext CUPS-Extension REQUIRED - 3.16.10 OK -
hp-check[22912]: info: : hpmudext IO-Extension REQUIRED - 3.16.10 OK -
hp-check[22912]: info: :
hp-check[22912]: info: :------------------------
hp-check[22912]: info: :| General Dependencies |
hp-check[22912]: info: :------------------------
hp-check[22912]: info: :
hp-check[22912]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.5.2 OK -
hp-check[22912]: info: : python3-xml Python XML libraries REQUIRED - 2.2.0 OK -
hp-check[22912]: info: : sane SANE - Scanning library REQUIRED - 1.0.25 OK -
hp-check[22912]: info: : sane-devel SANE - Scanning library development files REQUIRED - 1.0.25 OK -
hp-check[22912]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.3.0 OK -
hp-check[22912]: info: : python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 4.11.4 OK -
hp-check[22912]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[22912]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.5.2 OK -
hp-check[22912]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[22912]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.23' OK -
hp-check[22912]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 1.1.7 OK -
hp-check[22912]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.7.3 OK -
hp-check[22912]: info: : error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 4.11.4 MISSING 'python3-pyqt4-dbus needs to be installed'
hp-check[22912]: info: : error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python3-notify2 needs to be installed'
hp-check[22912]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.2.1 OK -
hp-check[22912]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.4 OK -
hp-check[22912]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.2.1 OK -
hp-check[22912]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 OK -
hp-check[22912]: info: :
hp-check[22912]: info: :--------------
hp-check[22912]: info: :| COMPILEDEP |
hp-check[22912]: info: :--------------
hp-check[22912]: info: :
hp-check[22912]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.1 OK -
hp-check[22912]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 6.1.1 OK -
hp-check[22912]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[22912]: info: :
hp-check[22912]: info: :----------------------
hp-check[22912]: info: :| Scan Configuration |
hp-check[22912]: info: :----------------------
hp-check[22912]: info: :
hp-check[22912]: info: : scanext Scan-SANE-Extension REQUIRED - 3.16.10 OK -
hp-check[22912]: info: :'/etc/sane.d/dll.d/hpaio' not found.
hp-check[22912]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.16.10 OK 'hpaio found in /etc/sane.d/dll.conf'
hp-check[22912]: info: :
hp-check[22912]: info: :------------------------------
hp-check[22912]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[22912]: info: :------------------------------
hp-check[22912]: info: :
hp-check[22912]: info: :No Scanner found.
hp-check[22912]: info: :
hp-check[22912]: info: :--------------------------
hp-check[22912]: info: :| DISCOVERED USB DEVICES |
hp-check[22912]: info: :--------------------------
hp-check[22912]: info: :
hp-check[22912]: info: : Device URI Model
hp-check[22912]: info: : ---------------------------------------- --------------------
hp-check[22912]: info: : hp:/usb/HP_LaserJet_P1008?serial=MB04FWB HP LaserJet P1008
hp-check[22912]: info: :
hp-check[22912]: info: :---------------------------------
hp-check[22912]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[22912]: info: :---------------------------------
hp-check[22912]: info: :
hp-check[22912]: info: :
hp-check[22912]: info: :Hewlett-Packard-HP-LaserJet-P1008
hp-check[22912]: info: :---------------------------------
hp-check[22912]: info: :Type: Printer
hp-check[22912]: info: :Device URI: hp:/usb/HP_LaserJet_P1008?serial=MB04FWB
hp-check[22912]: info: :PPD: /etc/cups/ppd/Hewlett-Packard-HP-LaserJet-P1008.ppd
hp-check[22912]: info: :PPD Description: HP LaserJet P1008 Foomatic/foo2xqx (recommended)
hp-check[22912]: info: :Printer status: printer Hewlett-Packard-HP-LaserJet-P1008 is idle. enabled since Thu 10 Nov 2016 08:16:31 AM CST
error: Required plug-in status: Not installed
hp-check[22912]: info: :Communication status: Good
hp-check[22912]: info: :
hp-check[22912]: info: :
hp-check[22912]: info: :--------------
hp-check[22912]: info: :| PERMISSION |
hp-check[22912]: info: :--------------
hp-check[22912]: info: :
hp-check[22912]: info: :USB Hewlett-Packard-HP-LaserJet-P1008 Required - - OK Node:'/dev/bus/usb/001/003' Perm:' root lp rw- rw- rw- rw- rw- r--'
hp-check[22912]: info: :
hp-check[22912]: info: :-----------
hp-check[22912]: info: :| SUMMARY |
hp-check[22912]: info: :-----------
hp-check[22912]: info: :
hp-check[22912]: info: :Missing Required Dependencies
hp-check[22912]: info: :-----------------------------
hp-check[22912]: info: :None
hp-check[22912]: info: :
hp-check[22912]: info: :Missing Optional Dependencies
hp-check[22912]: info: :-----------------------------
error: 'avahi-utils' package is missing/incompatible
error: 'xsane' package is missing/incompatible
error: 'python3-dbus.mainloop.qt' package is missing/incompatible
error: 'python3-notify2' package is missing/incompatible
hp-check[22912]: info: :
hp-check[22912]: info: :Plug-in Status
hp-check[22912]: info: :--------------
error: Plug-ins need to be installed
hp-check[22912]: info: :
hp-check[22912]: info: :Total Errors: 5
hp-check[22912]: info: :Total Warnings: 0
hp-check[22912]: info: :
hp-check[22912]: info: :
hp-check[22912]: info: :Done.

Revision history for this message
mayuan (1751277394-n) said :
#4

1. sudo aptitude install libdbus-1-dev python3-dev libsane-dev python3-pyqt4 gtk2-engines-pixbuf libsnmp-dev snmp libusb-1.0.0-dev libtool libtool-bin

2. hp-plugin

3. done