hp-plugin fails to download driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned |
Bug Description
hp-plugin fails to download the plugin. It reports "Network connection not detected."
but that's not the actual issue.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
$ sudo hp-plugin -g -i
HP Linux Imaging and Printing System (ver. 3.22.2)
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.
warning: It is not recommended to run 'hp-plugin' in a root mode.
HP Linux Imaging and Printing System (ver. 3.22.2)
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-plugin[161253]: debug: Locking: /var/hp-plugin.lock
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-------
| PLUG-IN INSTALLATION FOR HPLIP 3.22.2 |
-------
Option Description
---------- -------
d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ?
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
hp-plugin[161253]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60 --output-document=- http://
hp-plugin[161253]: debug: Spider mode enabled. Check if remote file exists.
--2023-02-17 12:44:26-- http://
Resolving www.hp.com (www.hp.com)... 23.0.174.80, 23.0.174.113, 2a02:26f0:
Connecting to www.hp.com (www.hp.
HTTP request sent, awaiting response...
HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 176
Expires: Fri, 17 Feb 2023 11:44:26 GMT
Date: Fri, 17 Feb 2023 11:44:26 GMT
Connection: keep-alive
Set-Cookie: aka_client_code=CH-
Akamai-GRN: 0.4cae0017.
Remote file does not exist -- broken link!!!
hp-plugin[161253]: debug: wget returned: 8
hp-plugin[161253]: debug: /usr/bin/curl --output - --connect-timeout 5 --max-time 10 http://
hp-plugin[161253]: debug: Traceback (most recent call last):
File "/usr/bin/
ok = utils.check_
File "/usr/share/
status = download_
File "/usr/share/
status, output = run(cmd)
File "/usr/share/
child = pexpect.spawnu(cmd, timeout=timeout)
File "/usr/share/
super(spawnu, self)._
File "/usr/share/
self.
File "/usr/share/
os.
PermissionError: [Errno 13] Permission denied
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/bin/
ok = utils.check_
File "/usr/share/
status = download_
File "/usr/share/
status, output = run(cmd)
File "/usr/share/
child = pexpect.spawnu(cmd, timeout=timeout)
File "/usr/share/
super(spawnu, self)._
File "/usr/share/
self.
File "/usr/share/
os.
PermissionError: [Errno 13] Permission denied
hp-plugin[161253]: debug: curl returned: 1
hp-plugin[161253]: debug: /usr/bin/ping -c1 -W1 -w10 www.hp.com
hp-plugin[161253]: debug: Traceback (most recent call last):
File "/usr/bin/
ok = utils.check_
File "/usr/share/
status = check_network_
File "/usr/share/
status, output = run(cmd)
File "/usr/share/
child = pexpect.spawnu(cmd, timeout=timeout)
File "/usr/share/
super(spawnu, self)._
File "/usr/share/
self.
File "/usr/share/
os.
PermissionError: [Errno 13] Permission denied
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/bin/
ok = utils.check_
File "/usr/share/
status = check_network_
File "/usr/share/
status, output = run(cmd)
File "/usr/share/
child = pexpect.spawnu(cmd, timeout=timeout)
File "/usr/share/
super(spawnu, self)._
File "/usr/share/
self.
File "/usr/share/
os.
PermissionError: [Errno 13] Permission denied
hp-plugin[161253]: debug: ping returned: 1
error: Network connection not detected.
hp-plugin[161253]: debug: Unlocking: /var/hp-plugin.lock
$ hp-doctor
HP Linux Imaging and Printing System (ver. 3.22.2)
Self Diagnse Utility and Healing Utility ver. 1.0
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.22.2)
Self Diagnse Utility and Healing Utility ver. 1.0
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.
-Traceback (most recent call last):
File "/usr/bin/
dep.core.init()
File "/usr/share/
self.
File "/usr/share/
if 'MX' in distro_
NameError: name 'distro_
$ hp-check
Saving output in log file: /home/juanpi/
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/
dep.core.init()
File "/usr/share/
self.
File "/usr/share/
if 'MX' in distro_
NameError: name 'distro_
See https:/ /answers. launchpad. net/hplip/ +question/ 705072