Bug 1788643

Summary: hp-plugin needs explicit requirement for tar
Product: [Fedora] Fedora Reporter: Thomas Fire <thomasfire>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: jridky, tkorbar, twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.19.12-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2028689 (view as bug list) Environment:
Last Closed: 2020-01-13 02:19:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2028689    

Description Thomas Fire 2020-01-07 16:52:50 UTC
Description of problem:
Error appears on fedora 31 minimal installation (I saw it on aarch64, probably other architectures and versions affected) when running `hplip-setup -i` after installing `hplip` via dnf. It writes some errors:
```
Uncompressing HPLIP 3.19.12 Plugin Self Extracting Archive.Extraction failed.
error: Python gobject/dbus may be not installed
```
But after installing all components it appeared that error is in absence of `tar`. 

So the bug is actuall dependence on tar (in most cases it is installed by default) while it is not installed with the `dnf install hplip`.

My suggestion is to add `tar` as a dependency of `hplip`.

How reproducible:


Steps to Reproduce:
1. Install Fedora minimal on machine
2. sudo dnf install hplip
3. hplip-setup -i
4. Choose usb, choose download
5. Here is an error about uncompressing the hplip-plugin

Actual results:
Uncompressing HPLIP 3.19.12 Plugin Self Extracting Archive.Extraction failed.
error: Python gobject/dbus may be not installed

Expected results:
Successfull installation of the printer

Additional info:
All error is about not having tar by dependency

Comment 1 Zdenek Dohnal 2020-01-08 07:17:44 UTC
Hi Thomas,

thank you for reporting the issue!

I was able to reproduce the issue by installing hplip, removing tar and running 'hp-plugin -i' on Fedora Server machine.

Comment 2 Fedora Update System 2020-01-08 07:58:58 UTC
FEDORA-2020-ae9c683e3b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-ae9c683e3b

Comment 3 Fedora Update System 2020-01-09 01:07:34 UTC
hplip-3.19.12-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ae9c683e3b

Comment 4 Fedora Update System 2020-01-13 02:19:50 UTC
hplip-3.19.12-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.