Bug 2242723

Summary: hp-plugin fails because of incorrect curl option
Product: [Fedora] Fedora Reporter: Otto J. Makela <om>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 37CC: jridky, tkorbar, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-10-09 05:28:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***