Your message dated Tue, 13 Sep 2022 11:42:57 +0100
with message-id <13092022103813.20007aed7...@desktop.copernicus.org.uk>
and subject line Re: Bug#1019593: hp-plugin: Failure to download plugin
has caused the Debian Bug report #1019593,
regarding hp-plugin: Failure to download plugin
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1019593: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019593
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.22.6+dfsg0-1
Severity: normal
File: /usr/bin/hp-plugin
Trying to get a M479fdn to work, I found that `hp-setup` fails to
download the plugin. It seems to contact an Akamai host using `HEAD` and that
results in a "503 Service Unavailable". It then tries to get a `plugin.conf`
file from `sf.net`, but that's using an outdated redirect:
```
% hp-plugin -ldebug -i
#(1 pts/3) 12
22:08:48.356
HP Linux Imaging and Printing System (ver. 3.22.6)
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.22.6)
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[1909020]: debug: Locking: /home/madduck/.hplip/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.6 |
-----------------------------------------
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) ? d
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
hp-plugin[1909020]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60
--output-document=- http://www.hp.com --spider -S
hp-plugin[1909020]: debug: Spider mode enabled. Check if remote file exists.
--2022-09-12 22:08:56-- http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 2a02:26f0:1300::5f65:e8d3,
2a02:26f0:1300::5f65:e8f3, 104.126.37.129, ...
Connecting to www.hp.com (www.hp.com)|2a02:26f0:1300::5f65:e8d3|:80...
connected.
HTTP request sent, awaiting response...
HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 177
Expires: Mon, 12 Sep 2022 20:08:54 GMT
Date: Mon, 12 Sep 2022 20:08:54 GMT
Connection: keep-alive
Set-Cookie: aka_client_code=DE-
Akamai-GRN: 0.cfe8655f.1663013334.12fc8783
Remote file does not exist -- broken link!!!
hp-plugin[1909020]: debug: wget returned: 8
hp-plugin[1909020]: debug: /usr/bin/curl --output - --connect-timeout 5
--max-time 10 http://www.hp.com --head
hp-plugin[1909020]: debug: HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 177
Expires: Mon, 12 Sep 2022 20:08:55 GMT
Date: Mon, 12 Sep 2022 20:08:55 GMT
Connection: keep-alive
Set-Cookie: aka_client_code=DE-
Akamai-GRN: 0.cfe8655f.1663013335.12fc87e3
hp-plugin[1909020]: debug: curl returned: 0
Downloading plug-in from:
Downloading plug-in: [\
] 0%
hp-plugin[1909020]: debug: ['unknown', 'mepis', 'debian', 'suse', 'mandriva',
'fedora', 'redhat', 'rhel', 'slackware', 'gentoo', 'redflag', 'ubuntu',
'xandros', 'freebsd', 'linspire', 'ark', 'pclinuxos', 'centos', 'igos',
'linuxmint', 'linpus', 'gos', 'boss', 'lfs', 'manjarolinux', 'zorin',
'mxlinux', 'elementary']
hp-plugin[1909020]: debug: /usr/bin/wget --cache=off --tries=3 --timeout=60
--output-document=- http://www.hp.com --spider -S
hp-plugin[1909020]: debug: Spider mode enabled. Check if remote file exists.
--2022-09-12 22:08:57-- http://www.hp.com/
Resolving www.hp.com (www.hp.com)... 2a02:26f0:1300::5f65:e8d3,
2a02:26f0:1300::5f65:e8f3, 104.126.37.178, ...
Connecting to www.hp.com
(www.hp.com)|2a02:26f0:1300::5f65:e8d3|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 177
Expires: Mon, 12 Sep 2022 20:08:55 GMT
Date: Mon, 12 Sep 2022 20:08:55 GMT
Connection: keep-alive
Set-Cookie: aka_client_code=DE-
Akamai-GRN: 0.cfe8655f.1663013335.12fc890a
Remote file does not exist -- broken link!!!
hp-plugin[1909020]: debug: wget returned: 8
hp-plugin[1909020]: debug: /usr/bin/curl --output - --connect-timeout 5
--max-time 10 http://www.hp.com --head
hp-plugin[1909020]: debug: HTTP/1.1 503 Service Unavailable
Server: AkamaiGHost
Mime-Version: 1.0
Content-Type: text/html
Content-Length: 177
Expires: Mon, 12 Sep 2022 20:08:55 GMT
Date: Mon, 12 Sep 2022 20:08:55 GMT
Connection: keep-alive
Set-Cookie: aka_client_code=DE-
Akamai-GRN: 0.cfe8655f.1663013335.12fc897f
hp-plugin[1909020]: debug: curl returned: 0
hp-plugin[1909020]: debug: --2022-09-12 22:08:57--
http://hplip.sf.net/plugin.conf
Resolving hplip.sf.net (hplip.sf.net)... 204.68.111.100
Connecting to hplip.sf.net (hplip.sf.net)|204.68.111.100|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://hplip.sourceforge.net/plugin.conf [following]
--2022-09-12 22:08:57-- http://hplip.sourceforge.net/plugin.conf
Resolving hplip.sourceforge.net (hplip.sourceforge.net)... 204.68.111.100
Reusing existing connection to hplip.sf.net:80.
HTTP request sent, awaiting response... 404 Not Found
2022-09-12 22:08:58 ERROR 404: Not Found.
error: Plugin download failed with error code = 8
error: file does not match its checksum. File may have been corrupted or
altered
hp-plugin[1909020]: debug: Unlocking: /home/madduck/.hplip/hp-plugin.lock
```
-- Package-specific info:
Saving output in log file: /home/madduck/hp-check.log
HP Linux Imaging and Printing System (ver. 3.22.6)
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
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.18.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages hplip depends on:
ii adduser 3.123
ii cups 2.4.2-1+b1
ii hplip-data 3.22.6+dfsg0-1
ii libc6 2.34-4
ii libcups2 2.4.2-1+b1
ii libdbus-1-3 1.14.0-2
ii libhpmud0 3.22.6+dfsg0-1
ii libpython3.10 3.10.6-1
ii libsane-hpaio 3.22.6+dfsg0-1
ii libsane1 1.1.1-5
ii lsb-base 11.2
ii printer-driver-hpcups 3.22.6+dfsg0-1
ii python3 3.10.6-1
ii python3-dbus 1.2.18-3+b2
ii python3-gi 3.42.2-1
ii python3-pexpect 4.8.0-3
ii python3-pil 9.2.0-1+b1
ii python3-reportlab 3.6.11-1
ii wget 1.21.3-1+b2
ii xz-utils 5.2.5-2.1
Versions of packages hplip recommends:
ii avahi-daemon 0.8-6
ii policykit-1 0.105-33
pn printer-driver-postscript-hp <none>
ii sane-utils 1.1.1-5
Versions of packages hplip suggests:
pn hplip-doc <none>
pn hplip-gui <none>
pn python3-notify2 <none>
pn system-config-printer <none>
-- no debconf information
--
.''`. martin f. krafft <madduck@d.o> @martinkrafft
: :' : proud Debian developer
`. `'` http://people.debian.org/~madduck
`- Debian - when you have better things to do than fixing systems
--- End Message ---
--- Begin Message ---
On Mon 12 Sep 2022 at 22:15:28 +0200, martin f krafft wrote:
> Package: hplip
> Version: 3.22.6+dfsg0-1
> Severity: normal
> File: /usr/bin/hp-plugin
>
> Trying to get a M479fdn to work, I found that `hp-setup` fails to
> download the plugin. It seems to contact an Akamai host using `HEAD` and that
> results in a "503 Service Unavailable". It then tries to get a `plugin.conf`
> file from `sf.net`, but that's using an outdated redirect:
If by M479fdn the HP Color LaserJet Pro MFP M479fdn is meant, this
device is fully supported by the printing system without HPLIP and
any non-free plugin being required. Please see
https://wiki.debian.org/CUPSDriverlessPrinting
The issue experienced is not unknown and is usually raised in the
context of user support. Twenty reports/year would not be unknown; in
fact I have seen two in the past few days.
The plugin may be downloaded from
https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
and installed with
sh <DOWNLOADED_PLUGIN>
> Remote file does not exist -- broken link!!!
I am closing the report because
* Upstream appear to need to improve their infrastructure for delivering
plugin files.
* There is an alternative, officially sanctioned way to obtain a plugin.
Regards,
Brian.
--- End Message ---