hplip broken after upgrade to ubuntu 20.04
Hello, I recently upgraded my Ubuntu from 18.04 to 20.04 and HPLIP was broken in the process. I tried to uninstall by following 2 different methods listed at the HPLIP KB sites, as follows
(1) Go to source directory, run [sudo make uninstall] followed by [sudo rm -rf /usr/share/hplip]
(2) Repeat step 1 above, followed by [sudo rm -rf /etc/hp ], [sudo rm -rf ~/.hplip ], finally [ sudo rm -rf /var/lib/hp ]
For both methods, the uninstallation process completed without error but when I did a fresh install of hplip-3.20.11 following the steps for Automatic Installer Walkthrough at https:/
The Add Printer process could not be completed because whether I use the GUI method or hp-setup method in the terminal, the last step loops back to HP Device Manager dialog, declaring "No Installed HP Devices Found", even though the printer was detected and the ppd file listed appeared relevant.
However, if I go to the Settings menu, I can find 2 printers listed. One is just a short description DeskJet_3630 and the other is an more elaborate DeskJet_
Further search brought me to a posting that provided an apparently more thorough purge of the settings and the steps I ran the process in a terminal were
[sudo apt-get purge hplip hplip-data hplip-doc hplip-gui hpijs-ppds], followed by
[sudo apt-get purge libsane-hpaio printer-
[sudo rm -rf /usr/share/hplip/], then finally
[sudo apt-get autoremove]
This time the installation did warn about the failure to load canberra-gtk-module again but the Add Printer process appeared to complete successfully with a dialog that says Printer Added successfully.
Then, if I launch HP Device Manager, it declares "No Installed HP Devices Found" again but when I try to add printer, the steps progressed like before until after the last step when it loops back to the first dialog box - "No Installed HP Devices Found".
Help please. I wish to scan documents as well, hence the need for HP Device Manager. Thanks!
1. Linux version - Ubuntu 20.04
2. Deskjet 3635
3. hp-check log
hp-check[7345]: info: :
hp-check[7345]: info: :HP Linux Imaging and Printing System (ver. 3.20.11)
hp-check[7345]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[7345]: info: :
hp-check[7345]: info: :Copyright (c) 2001-18 HP Development Company, LP
hp-check[7345]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[7345]: info: :This is free software, and you are welcome to distribute it
hp-check[7345]: info: :under certain conditions. See COPYING file for more details.
hp-check[7345]: info: :
hp-check[7345]: info: :Note: hp-check can be run in three modes:
hp-check[7345]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[7345]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[7345]: info: :are installed to successfully compile HPLIP.
hp-check[7345]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro
hp-check[7345]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
hp-check[7345]: info: :has the proper dependencies installed to successfully run.
hp-check[7345]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode
hp-check[7345]: info: :will check both of the above cases (both compile- and run-time dependencies).
hp-check[7345]: info: :
hp-check[7345]: info: :Check types:
hp-check[7345]: info: :a. EXTERNALDEP - External Dependencies
hp-check[7345]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[7345]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[7345]: info: :d. [All are run-time checks]
hp-check[7345]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[7345]: info: :
hp-check[7345]: info: :Status Types:
hp-check[7345]: info: : OK
hp-check[7345]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[7345]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[7345]: info: :
hp-check[7345]: info: :
hp-check[7345]: info: :---------------
hp-check[7345]: info: :| SYSTEM INFO |
hp-check[7345]: info: :---------------
hp-check[7345]: info: :
hp-check[7345]: info: : Kernel: 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 GNU/Linux
Host: chins-desktop
Proc: 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 GNU/Linux
Distribution: 12 20.04
hp-check[7345]: info: : Bitness: 64 bit
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| HPLIP CONFIGURATION |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: :HPLIP-Version: HPLIP 3.20.11
hp-check[7345]: info: :HPLIP-Home: /usr/share/hplip
hp-check[7345]: info: :HPLIP-
hp-check[7345]: info: :
hp-check[7345]: info: :Current contents of '/etc/hp/
hp-check[7345]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.20.11
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
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=no
foomatic-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
apparmor_build=yes
class-driver=no
hp-check[7345]: info: :
hp-check[7345]: info: :Current contents of '/var/lib/
hp-check[7345]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[7345]: info: :
hp-check[7345]: info: :Current contents of '~/.hplip/
hp-check[7345]: info: :[installation]
date_time = 01/14/21 17:10:14
version = 3.20.11
[upgrade]
notify_upgrade = true
last_upgraded_time = 1610610935
pending_
latest_
hp-check[7345]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| External Dependencies |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: : cups CUPS - Common Unix Printing System REQUIRED 1.1 2.3.1 OK 'CUPS Scheduler is running'
hp-check[7345]: info: : gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.50 OK -
hp-check[7345]: info: : xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
hp-check[7345]: info: : scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.29 OK -
hp-check[7345]: info: : dbus DBus - Message bus system REQUIRED - 1.12.16 OK -
hp-check[7345]: info: : policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
hp-check[7345]: info: : network network -wget OPTIONAL - 1.20.3 OK -
hp-check[7345]: info: : avahi-utils avahi-utils OPTIONAL - 0.7 OK -
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| General Dependencies |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: : libjpeg libjpeg - JPEG library REQUIRED - - OK -
hp-check[7345]: info: : cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.1 OK -
hp-check[7345]: info: : cups-image CUPS image - CUPS image development files REQUIRED - 2.3.1 OK -
hp-check[7345]: info: : libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
hp-check[7345]: info: : libusb libusb - USB library REQUIRED - 1.0 OK -
hp-check[7345]: info: : sane SANE - Scanning library REQUIRED - - OK -
hp-check[7345]: info: : sane-devel SANE - Scanning library development files REQUIRED - - OK -
hp-check[7345]: info: : libavahi-dev libavahi-dev REQUIRED - - OK -
hp-check[7345]: info: : libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 OK -
hp-check[7345]: info: : libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
hp-check[7345]: info: : python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.8.5 OK -
hp-check[7345]: info: : python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
hp-check[7345]: info: : python3-pyqt5-dbus PyQt 5 DBus - DBus Support for PyQt5 OPTIONAL 5.0 5.14.1 OK -
hp-check[7345]: info: : python3-pyqt5 PyQt 5- Qt interface for Python (for Qt version 4.x) REQUIRED 5.0 5.14.1 OK -
hp-check[7345]: info: : python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
hp-check[7345]: info: : python3-xml Python XML libraries REQUIRED - 2.2.9 OK -
hp-check[7345]: info: : python3-devel Python devel - Python development files REQUIRED 2.2 3.8.5 OK -
hp-check[7345]: info: : python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 7.0.0 OK -
hp-check[7345]: info: : python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.5.34 OK -
hp-check[7345]: info: :
hp-check[7345]: info: :--------------
hp-check[7345]: info: :| COMPILEDEP |
hp-check[7345]: info: :--------------
hp-check[7345]: info: :
hp-check[7345]: info: : libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
hp-check[7345]: info: : gcc gcc - GNU Project C and C++ Compiler REQUIRED - 9.3.0 OK -
hp-check[7345]: info: : make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| Python Extentions |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: : cupsext CUPS-Extension REQUIRED - 3.20.11 OK -
hp-check[7345]: info: : hpmudext IO-Extension REQUIRED - 3.20.11 OK -
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| Scan Configuration |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.20.11 OK 'hpaio found in /etc/sane.
hp-check[7345]: info: : scanext Scan-SANE-Extension REQUIRED - 3.20.11 OK -
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: :No Scanner found.
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| DISCOVERED USB DEVICES |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: :No devices found.
hp-check[7345]: info: :
hp-check[7345]: info: :------
hp-check[7345]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[7345]: info: :------
hp-check[7345]: info: :
hp-check[7345]: info: :
hp-check[7345]: info: :
hp-check[7345]: info: :--------------
hp-check[7345]: info: :| PERMISSION |
hp-check[7345]: info: :--------------
hp-check[7345]: info: :
hp-check[7345]: info: :No errors or warnings.
hp-check[7345]: info: :
hp-check[7345]: info: :Done.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dai J for more information if necessary.