Bug 1395862

Summary: Missing dependency for hplip-3.15.9-2.el7.x86_64
Product: Red Hat Enterprise Linux 7 Reporter: Neal Pape <npape>
Component: hplipAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Sklenar <psklenar>
Severity: low Docs Contact:
Priority: high    
Version: 7.3CC: jscotka, npape, psklenar, thozza
Target Milestone: rcKeywords: FastFix, Patch
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: hplip-3.15.9-3.el7 Doc Type: If docs needed, set a value
Doc Text:
HPLIP requires python-imaging no longer, it uses python-pillow from now.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 20:27:16 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: 1393869, 1400961    
Attachments:
Description Flags
RPMs for testing none

Description Neal Pape 2016-11-16 20:55:05 UTC
Description of problem:  I attempted to install hplip from the Red Hat Enterprise Linux 7.3 installation DVD.  The installation failed with a missing dependency for python-imaging.  This rpm is not included on the DVD.  However, it appears that python-imaging has been replaced by python-pillow for RHEL 7.  This package is contained in the DVD.  It appears that the dependency in hplip needs to be updated.


Version-Release number of selected component (if applicable): 3.15.9-2.el7


How reproducible: Always


Steps to Reproduce:
1. rpm -ivh hplip-3.15.9-2.el7.x86_64.rpm
warning: hplip-3.15.9-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        python-imaging is needed by hplip-3.15.9-2.el7.x86_64



Actual results: Installation fails due to missing prerequisite


Expected results: Installation completes.


Additional info:

Installing the corrected prerequisite allows the installation of hplip to complete.

# rpm -ivh  python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm
warning: python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:python-pillow-2.0.0-19.gitd1c6db8################################# [100%]

# rpm -ivh hplip-3.15.9-2.el7.x86_64.rpm
warning: hplip-3.15.9-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:hplip-3.15.9-2.el7               ################################# [100%]

Comment 3 Neal Pape 2016-11-17 16:27:08 UTC
I am unable to access the website brewweb.engineering.redhat.com in order to download the test rpm.  Is it possibly an Red Hat internal website?

Comment 4 Zdenek Dohnal 2016-11-17 17:44:26 UTC
Created attachment 1221613 [details]
RPMs for testing

Neal, I am deeply sorry, I did not know it was internal web, I apologize. I now attached rpms as attachment in bugzilla, would you mind trying it?

Comment 5 Neal Pape 2016-11-17 20:02:57 UTC
I tried the attached rpms.  They correctly indicate that python-pillow is the desired prerequisite.

# rpm -ivh hpijs-3.15.9-2.el7_3.x86_64.rpm hplip-3.15.9-2.el7_3.x86_64.rpm hplip-common-3.15.9-2.el7_3.x86_64.rpm hplip-libs-3.15.9-2.el7_3.x86_64.rpm libsane-hpaio-3.15.9-2.el7_3.x86_64.rpm
error: Failed dependencies:
        python-pillow is needed by hplip-3.15.9-2.el7_3.x86_64


# rpm -ivh install python-pillow-2.0.0-19.gitd1c6db8.el7.x86_64.rpm

# rpm -ivh hpijs-3.15.9-2.el7_3.x86_64.rpm hplip-3.15.9-2.el7_3.x86_64.rpm hplip-common-3.15.9-2.el7_3.x86_64.rpm hplip-libs-3.15.9-2.el7_3.x86_64.rpm libsane-hpaio-3.15.9-2.el7_3.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:hplip-common-3.15.9-2.el7_3      ################################# [ 20%]
   2:hplip-libs-3.15.9-2.el7_3        ################################# [ 40%]
   3:hpijs-1:3.15.9-2.el7_3           ################################# [ 60%]
   4:hplip-3.15.9-2.el7_3             ################################# [ 80%]
   5:libsane-hpaio-3.15.9-2.el7_3     ################################# [100%]

Comment 16 errata-xmlrpc 2017-08-01 20:27:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1877