Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2028689

Summary: hp-plugin needs explicit requirement for tar
Product: Red Hat Enterprise Linux 8 Reporter: Bryan Mason <bmason>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED WONTFIX QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.5CC: extras-qa, jridky, thomasfire, tkorbar, twaugh, zdohnal
Target Milestone: rcFlags: pm-rhel: mirror+
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: 1788643 Environment:
Last Closed: 2021-12-08 06:37:46 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: 1788643    
Bug Blocks:    

Description Bryan Mason 2021-12-02 23:19:56 UTC
+++ This bug was initially created as a clone of Bug #1788643 +++

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

--- Additional comment from Zdenek Dohnal on 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.

--- Additional comment from Fedora Update System on 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

--- Additional comment from Fedora Update System on 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

--- Additional comment from Fedora Update System on 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.

Comment 5 Zdenek Dohnal 2021-12-08 06:37:46 UTC
Since tar is installed by default in RHEL because it is in default groups defined by comps, the customer would need explicitly uninstall tar and then run hp-plugin to hit this issue.

The bug is fixed in RHEL 9 and currently there is no customer hitting the issue, I'm closing the issue as WONTFIX for now.

Feel free to reopen once there is a customer case regarding the issue.