Bug 24781 - HPLIP, downloading of HP's needed plugin fails
Summary: HPLIP, downloading of HP's needed plugin fails
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: ftp://distrib-coffee.ipsl.jussieu.fr/...
Whiteboard: MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-05-06 12:18 CEST by Markus Robert Keßler
Modified: 2019-05-19 13:28 CEST (History)
6 users (show)

See Also:
Source RPM: hplip-3.17.4-1.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Markus Robert Keßler 2019-05-06 12:18:21 CEST
Description of problem:

After installing HPLIP package with all required dependencies and invoking of "hp-setup", an error says that "Proprietary plugin" cannot be downloaded from HP / openprinting site

You get:

// ----------------------------------------------------------------------

Downloading plug-in: [\                                                                  ] 0%  Plugin is not accessible. Trying to download it from fallback location: [http://hplipopensource.com/hplip-web/plugin/hplip-3.17.10-plugin.run]                                                                                                
error: /root/.hplip/hplip-3.17.10-plugin.run file does not match its checksum. File may have been corrupted or altered
error: Failed to install Plugin.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins.Visit http://hplipopensource.com for more infomation.

// ----------------------------------------------------------------------


Version-Release number of selected component (if applicable):

3.17.4


How reproducible:

Always


Steps to Reproduce:

1. Connect printer (here: MFPM127fn) via network

2. Install hplip package with all dependencies

3. invoke hp-setup and press 'd' for downloading the proprietary plugin needed
Comment 1 Lewis Smith 2019-05-07 09:31:38 CEST
HPLIP has no registered maintainer, so assigning to 'all'.
I tried this, but without an HP printer.. HPLIP does not go far. I did not see the option described in 3. above; but perhaps this is on screen 3 of the setup, & I could only get to screen 2.

Assignee: bugsquad => pkg-bugs
CC: (none) => lewyssmith

Comment 2 Markus Robert Keßler 2019-05-07 11:45:03 CEST
Step 3 can be done on commandline also to not get a form window popping up, but:

I did the same on a Raspberry running the latest Raspbian, and first, install also failed -- I had to do an "apt-get update" for being able to proceed.

So I assume that HP / openprinting has moved the file to a different location
Comment 3 Markus Robert Keßler 2019-05-09 10:20:56 CEST
It looks as if the "run file" can be downloaded here:

https://sourceforge.net/projects/hplip/files/hplip/3.19.3/hplip-3.19.3.run

The page sends lots of crap and you get redirected to mirrors several times (always verify checksum), but finally it seems to work.
Someone please update the download URL?
Comment 4 Markus Robert Keßler 2019-05-10 23:25:59 CEST
In the source tarball there is
./installer/pluginhandler.py
==> look at line
PLUGIN_FALLBACK_LOCATION = 'http://hplipopensource.com/hplip-web/plugin/'
==> This sould be updated
Comment 5 David GEIGER 2019-05-11 05:15:58 CEST
In Core/Backport media there is hplip 3.19.1 available!

CC: (none) => geiger.david68210

Comment 6 Markus Robert Keßler 2019-05-11 16:50:58 CEST
Looks like the next bug:
core/backport can be activated (I tested with two different repo servers), but you cannot activate it as update.
MCC won't let you check the checkbox in the repo list, and if you manually add "update" to the repo name in /etc/urpmi/urpmi.cfg, this has no effect.
You can manually select hplip 3.19.1 in "manage software" window, but if an older version of hplip is installed and you run an update, then hplip will not be replaced with the new version automatically.
Comment 7 James Kerr 2019-05-11 18:09:24 CEST
Launch the Media Manager by entering in a terminal:
 drakrpm-edit-media --expert

In the resultant display you can tag backport media as update media.

CC: (none) => jim

Comment 8 Dave Hodgins 2019-05-15 07:52:06 CEST
I've reviewed bug 24359 and the changelog at
https://sourceforge.net/p/hplip/news/2019/01/hplip-3191-release-notes/
as well as the release notes for each of the releases between 3.17.10 and that
one. It doesn't appear that support for any older printers was dropped in
any of those releases, so this update should have gone through as a regular
update, not a backport.

Can we either move (or copy) the hplip-3.19.1-1.mga6.src.rpm and associated
rpm packages to the updates repo?

If that can't be done can they be resubmitted to core updates testing, with
the release number bumped if necessary?

CC: (none) => davidwhodgins, tmb

Comment 9 David GEIGER 2019-05-16 09:14:32 CEST
I can update the package from "/updates/6" branch and submit it in Core/Updates_testing repo. After if you can provide an advisory it would be fine.
Comment 10 David GEIGER 2019-05-16 09:15:57 CEST
So also I can update it to latest 3.19.5 release like on Cauldron, wdyt?
Comment 11 Dave Hodgins 2019-05-17 12:29:27 CEST
Yes please. The release notes for 3.19.3 and 3.19.5 also do not indicate any
older printer support being dropped, so 3.19.5 should be fine as a normal update
for Mageia 6.
Comment 12 David GEIGER 2019-05-17 14:03:30 CEST
So ok hplip 3.19.5 now submitted as a normal update:


========================

Packages in 6/core/updates_testing:
========================
hplip-3.19.5-1.mga6.i586.rpm
libhpip0-3.19.5-1.mga6.i586.rpm
libhpip0-devel-3.19.5-1.mga6.i586.rpm
libsane-hpaio1-3.19.5-1.mga6.i586.rpm
hplip-model-data-3.19.5-1.mga6.i586.rpm
hplip-gui-3.19.5-1.mga6.i586.rpm
hplip-hpijs-3.19.5-1.mga6.i586.rpm
hplip-hpijs-ppds-3.19.5-1.mga6.i586.rpm
hplip-doc-3.19.5-1.mga6.i586.rpm

hplip-3.19.5-1.mga6.x86_64.rpm
lib64hpip0-3.19.5-1.mga6.x86_64.rpm
lib64hpip0-devel-3.19.5-1.mga6.x86_64.rpm
lib64sane-hpaio1-3.19.5-1.mga6.x86_64.rpm
hplip-model-data-3.19.5-1.mga6.x86_64.rpm
hplip-gui-3.19.5-1.mga6.x86_64.rpm
hplip-hpijs-3.19.5-1.mga6.x86_64.rpm
hplip-hpijs-ppds-3.19.5-1.mga6.x86_64.rpm
hplip-doc-3.19.5-1.mga6.x86_64.rpm


Source RPM: 
========================
hplip-3.19.5-1.mga6.src.rpm
Comment 13 Dave Hodgins 2019-05-18 11:35:29 CEST
Advisory added to svn as ...
$ cat 24781.adv 
type: bugfix
subject: Updated hplip packages support newer printers.
src:
  6:
   core:
     - hplip-3.19.5-1.mga6
description: |
  Updated hplip supports new printers.
references:
 - https://bugs.mageia.org/show_bug.cgi?id=24781
 - https://sourceforge.net/p/hplip/news/2019/01/hplip-3191-release-notes/

Keywords: (none) => advisory
Assignee: pkg-bugs => qa-bugs

Len Lawrence 2019-05-18 12:09:48 CEST

CC: lewyssmith => tarazed25

Len Lawrence 2019-05-18 12:21:50 CEST

CC: tarazed25 => (none)

Comment 14 James Kerr 2019-05-18 12:53:26 CEST
on mag6-64  plasma

packages installed cleanly:
- hplip-3.19.5-1.mga6.x86_64
- hplip-gui-3.19.5-1.mga6.x86_64
- hplip-hpijs-3.19.5-1.mga6.x86_64
- hplip-hpijs-ppds-3.19.5-1.mga6.x86_64
- hplip-model-data-3.19.5-1.mga6.x86_64
- lib64hpip0-3.19.5-1.mga6.x86_64
- lib64sane-hpaio1-3.19.5-1.mga6.x86_64

Printer:  HP Envy 4502
printing locally - OK
scanning locally - OK
printing over the LAN from another mga6 system - OK

(This was a machine which had problems with a previous hplip
update, that had resulted in updates being placed in backports.)

This printer does not need proprietary plugins and so this test
only confirms that this update does not cause any regressions.
Comment 15 Dave Hodgins 2019-05-18 14:39:59 CEST
Adding the ok tag and validating the update based on the above.

Keywords: (none) => validated_update
Whiteboard: (none) => MGA6-64-OK
CC: (none) => sysadmin-bugs

Johnny A. Solbu 2019-05-18 21:30:57 CEST

CC: (none) => cooker

Comment 16 Mageia Robot 2019-05-19 13:28:40 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0037.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.