Unable to install HPLIP Binary Plug-In
Linux distro: Ubuntu
Version: 20.04.1 LTS
Printer model: HP LaserJet Pro MFP M126nw
Output of hp-check -t:
hp-check[16924]: info: :
hp-check[16924]: info: :HP Linux Imaging and Printing System (ver. 3.20.3)
hp-check[16924]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[16924]: info: :
hp-check[16924]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[16924]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[16924]: info: :This is free software, and you are welcome to distribute it
hp-check[16924]: info: :under certain conditions. See COPYING file for more details.
hp-check[16924]: info: :
hp-check[16924]: info: :Note: hp-check can be run in three modes:
hp-check[16924]: info: :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
hp-check[16924]: info: :installed to successfully compile HPLIP.
hp-check[16924]: info: :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
hp-check[16924]: info: :proper dependencies installed to successfully run.
hp-check[16924]: info: :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).
hp-check[16924]: info: :
hp-check[16924]: info: :Check types:
hp-check[16924]: info: :a. EXTERNALDEP - External Dependencies
hp-check[16924]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[16924]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[16924]: info: :d. [All are run-time checks]
hp-check[16924]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[16924]: info: :
hp-check[16924]: info: :Status Types:
hp-check[16924]: info: : OK
hp-check[16924]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[16924]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[16924]: info: :
warning: ubuntu-20.04 version is not supported. Using ubuntu-19.10 versions dependencies to verify and install...
hp-check[16924]: info: :
hp-check[16924]: info: :---------------
hp-check[16924]: info: :| SYSTEM INFO |
hp-check[16924]: info: :---------------
hp-check[16924]: info: :
hp-check[16924]: info: : Kernel: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
Host: rls-Default-string
Proc: 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 GNU/Linux
Distribution: ubuntu 20.04
hp-check[16924]: info: : Bitness: 64 bit
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| HPLIP CONFIGURATION |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: :HPLIP-Version: HPLIP 3.20.3
hp-check[16924]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 20.04 version
hp-check[16924]: info: :
hp-check[16924]: info: :Current contents of '/etc/hp/
hp-check[16924]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.3
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=no
cupsbackend=
cupsfilter=
drv=/usr/
bin=/usr/bin
apparmor=
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.20.3
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=no
class-driver=no
hp-check[16924]: info: :
hp-check[16924]: info: :Current contents of '/var/lib/
hp-check[16924]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[16924]: info: :
hp-check[16924]: info: :Current contents of '~/.hplip/
hp-check[16924]: info: :[installation]
date_time = 09/29/20 17:40:58
version = 3.20.3
[last_used]
device_uri = hp:/net/
hp-check[16924]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| External Dependencies |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: : error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
hp-check[16924]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
hp-check[16924]: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check[16924]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
hp-check[16924]: info: : dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
hp-check[16924]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[16924]: info: : network network -wget OPTIONAL - 1.20.3 OK -
hp-check[16924]: info: : avahi-utils avahi-utils OPTIONAL - 0.7 OK -
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| General Dependencies |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[16924]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - OK -
hp-check[16924]: info: : cups-image CUPS image - CUPS image development files REQUIRED - - OK -
hp-check[16924]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
hp-check[16924]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[16924]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[16924]: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check[16924]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
hp-check[16924]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check[16924]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.2 OK -
hp-check[16924]: info: : python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check[16924]: 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[16924]: 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[16924]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
hp-check[16924]: info: : python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
hp-check[16924]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.8.2 OK -
hp-check[16924]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.0.0 OK -
hp-check[16924]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.34 OK -
hp-check[16924]: info: :
hp-check[16924]: info: :--------------
hp-check[16924]: info: :| COMPILEDEP |
hp-check[16924]: info: :--------------
hp-check[16924]: info: :
hp-check[16924]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[16924]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.3.0 OK -
hp-check[16924]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| Python Extentions |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: : cupsext CUPS-Extension REQUIRED - 3.20.3 OK -
hp-check[16924]: info: : hpmudext IO-Extension REQUIRED - 3.20.3 OK -
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| Scan Configuration |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.20.3 OK 'hpaio found in /etc/sane.
hp-check[16924]: info: : scanext Scan-SANE-Extension REQUIRED - 3.20.3 OK -
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: :device `hpaio:
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| DISCOVERED USB DEVICES |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: :No devices found.
hp-check[16924]: info: :
hp-check[16924]: info: :------
hp-check[16924]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[16924]: info: :------
hp-check[16924]: info: :
hp-check[16924]: info: :
hp-check[16924]: info: :HP-LaserJet-
hp-check[16924]: info: :------
hp-check[16924]: info: :Type: Printer
hp-check[16924]: info: :Device URI: hp:/usb/
hp-check[16924]: info: :PPD: /etc/cups/
warning: Failed to read /etc/cups/
hp-check[16924]: info: :PPD Description:
hp-check[16924]: info: :Printer status: printer HP-LaserJet-
error: Device not found
error: Communication status: Failed
hp-check[16924]: info: :
hp-check[16924]: info: :HP_LaserJet_
hp-check[16924]: info: :------
hp-check[16924]: info: :Type: Printer
hp-check[16924]: info: :Device URI: hp:/net/
hp-check[16924]: info: :PPD: /etc/cups/
warning: Failed to read /etc/cups/
hp-check[16924]: info: :PPD Description:
hp-check[16924]: info: :Printer status: printer HP_LaserJet_
hp-check[16924]: info: :Communication status: Good
hp-check[16924]: info: :
hp-check[16924]: info: :
hp-check[16924]: info: :--------------
hp-check[16924]: info: :| PERMISSION |
hp-check[16924]: info: :--------------
hp-check[16924]: info: :
hp-check[16924]: info: :
hp-check[16924]: info: :-----------
hp-check[16924]: info: :| SUMMARY |
hp-check[16924]: info: :-----------
hp-check[16924]: info: :
hp-check[16924]: info: :Missing Required Dependencies
hp-check[16924]: info: :------
error: 'libcups2' package is missing/
error: 'python3-pyqt4' package is missing/
error: 'gtk2-engines-
hp-check[16924]: info: :
hp-check[16924]: info: :Missing Optional Dependencies
hp-check[16924]: info: :------
error: 'python3-
hp-check[16924]: info: :
hp-check[16924]: info: :Total Errors: 4
hp-check[16924]: info: :Total Warnings: 0
hp-check[16924]: info: :
hp-check[16924]: info: :
hp-check[16924]: info: :Done.
Even after setting up my printer using the pre-installed HPLIP (using the command hp-setup), I couldn't scan (but I could print). Then it was mentioned that driver plug-in installation is required. When I try to install the driver plug-in, it simply doesn't install.
Then I used the terminal and typed the command hp-plugin. The output was:
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-18 HP 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.
HP Linux Imaging and Printing System (ver. 3.20.3)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-18 HP 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.
Checking for network connection...
Downloading plug-in from:
Traceback (most recent call last):
File "/usr/share/
status, download_
File "/usr/share/
core = core_install.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
distro_name = get_distro_
File "/usr/share/
return distro.
File "/usr/lib/
return _distro.
File "/usr/lib/
self.version(),
File "/usr/lib/
self.
File "/usr/lib/
return self._lsb_
File "/usr/lib/
ret = obj.__dict_
File "/usr/lib/
stdout = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
with os.fdopen(
PermissionError: [Errno 13] Permission denied: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/share/
status, download_
File "/usr/share/
core = core_install.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
distro_name = get_distro_
File "/usr/share/
return distro.
File "/usr/lib/
return _distro.
File "/usr/lib/
self.version(),
File "/usr/lib/
self.
File "/usr/lib/
return self._lsb_
File "/usr/lib/
ret = obj.__dict_
File "/usr/lib/
stdout = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
So what exactly is the issue and how can I fix it?
I'm willing to provide any extra details. Also do read my post on Ask Ubuntu to have a better idea of my situation: https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ramesh
- Solved:
- Last query:
- Last reply: