after upgrade from 20.04 to 22.04.1 (not a new installation): new installation of hplip
>sudo apt install hplip hplip-gui
Install completes without error.
Using hplip, e.g.
>hp-setup
manual detection of wireless printer using IP works, printer is listed, but on 'next' -> process hangs (wait/termination suggested, wait does not help)
alternative: (hplip installs a suite of programs)
>hp-check (verifies installation and contact to printer, scanner
produces normal output ending prematurely with error message:
Saving output in log file: /home/glassel/hp-check.log
HP Linux Imaging and Printing System (ver. 3.22.2)
Dependency/Version Check Utility ver. 15.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.
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
-Traceback (most recent call last):
File "/usr/bin/hp-check", line 861, in <module>
dep.core.init()
File "/usr/share/hplip/installer/core_install.py", line 523, in init
self.get_distro()
File "/usr/share/hplip/installer/core_install.py", line 661, in get_distro
if 'MX' in distro_release_name:
NameError: name 'distro_release_name' is not defined
after upgrade from 20.04 to 22.04.1 (not a new installation): new installation of hplip
>sudo apt install hplip hplip-gui
Install completes without error.
Using hplip, e.g.
>hp-setup
manual detection of wireless printer using IP works, printer is listed, but on 'next' -> process hangs (wait/termination suggested, wait does not help)
alternative: (hplip installs a suite of programs)
>hp-check (verifies installation and contact to printer, scanner
produces normal output ending prematurely with error message:
Saving output in log file: /home/glassel/ hp-check. log
HP Linux Imaging and Printing System (ver. 3.22.2)
Dependency/Version Check Utility ver. 15.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.
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
-Traceback (most recent call last): hp-check" , line 861, in <module> hplip/installer /core_install. py", line 523, in init get_distro( ) hplip/installer /core_install. py", line 661, in get_distro release_ name: release_ name' is not defined
File "/usr/bin/
dep.core.init()
File "/usr/share/
self.
File "/usr/share/
if 'MX' in distro_
NameError: name 'distro_
further info: dfsg0-1+ klbkjammy dfsg0-1+ klbkjammy dfsg0-1+ klbkjammy 500 /ppa.launchpadc ontent. net/kelebek333/ hplip/ubuntu jammy/main amd64 Packages dpkg/status 21.12+dfsg0- 1 500 de.archive. ubuntu. com/ubuntu jammy/main amd64 Packages
>apt-cache policy hplip
hplip:
Installed: 3.22.2+
Candidate: 3.22.2+
Version table:
*** 3.22.2+
500 https:/
100 /var/lib/
3.
500 http://
> apt-cache policy hplip-gui dfsg0-1+ klbkjammy dfsg0-1+ klbkjammy dfsg0-1+ klbkjammy 500 /ppa.launchpadc ontent. net/kelebek333/ hplip/ubuntu jammy/main amd64 Packages /ppa.launchpadc ontent. net/kelebek333/ hplip/ubuntu jammy/main i386 Packages dpkg/status 21.12+dfsg0- 1 500 de.archive. ubuntu. com/ubuntu jammy/universe amd64 Packages de.archive. ubuntu. com/ubuntu jammy/universe i386 Packages
hplip-gui:
Installed: 3.22.2+
Candidate: 3.22.2+
Version table:
*** 3.22.2+
500 https:/
500 https:/
100 /var/lib/
3.
500 http://
500 http://
-------------------
I tried alternate ways to install hplip:
hplip-3.22.6.run downloaded from hp
this fails with an unmet dependency 'libcups2', but sudo apt install libcups2 tells me it is
installed (-dev version, too)
Best regards ... Peter Glassel