Bug 2242723 - hp-plugin fails because of incorrect curl option
Summary: hp-plugin fails because of incorrect curl option
Keywords:
Status: CLOSED DUPLICATE of bug 2242710
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 37
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Zdenek Dohnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-08 12:24 UTC by Otto J. Makela
Modified: 2023-10-09 05:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-10-09 05:28:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Otto J. Makela 2023-10-08 12:24:30 UTC
Attempt to run hp-plugin (from hplip-3.23.5-8.fc37.x86_64) from the command line with the recommended option "Download and install the plug-in from an HP authorized server" always fails with the error popup "file does not match its checksum. File may have been corrupted or altered". Command line output indicates curl is being called with incorrect parameter (there should be no equals sign!), causing wget to fail, causing this error.


Reproducible: Always

Steps to Reproduce:
1. Run hp-plugin from command line
2. GUI appears, with "Download and install the plug-in from an HP authorized server (recommended)" selected
3. Press "Next >"
Actual Results:  
Error popup "file does not match its checksum. File may have been corrupted or altered"

Expected Results:  
The driver configuration file gets loaded and processing then proceeds further.

End of stdout on command line:

...
hp-plugin[18931]: debug: wget returned: 0
hp-plugin[18931]: debug: curl: option --max-time=10: is unknown
curl: try 'curl --help' or 'curl --manual' for more information

error: Plugin download failed with error code = 2
error:  file does not match its checksum. File may have been corrupted or altered

Done.

Comment 1 Otto J. Makela 2023-10-09 04:21:12 UTC
I also have a report from a colleague of the same issue under Fedora 38.

Comment 2 Zdenek Dohnal 2023-10-09 05:27:40 UTC
Hi,

thank you for the report and I'm sorry for the problems caused by my downstream patch.

I'll push the fix from your colleague and build a new version (there is a new upstream version too) today, but if time is the essence, you can use 'hp-plugin-download' - it downloads and installs the plugin as well.

Comment 3 Zdenek Dohnal 2023-10-09 05:28:22 UTC

*** This bug has been marked as a duplicate of bug 2242710 ***


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