Bug 705292

Summary: rpm -ivh ... displays a cryptic warning when a file specified by URL is not found
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6CC: ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-25 05:11:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Milos Malik 2011-05-17 09:53:37 UTC
Description of problem:


Version-Release number of selected component (if applicable):
rpm-4.4.2.3-22.el5
rpm-build-4.4.2.3-22.el5
rpm-devel-4.4.2.3-22.el5
rpm-devel-4.4.2.3-22.el5
rpm-libs-4.4.2.3-22.el5
rpm-libs-4.4.2.3-22.el5
rpm-python-4.4.2.3-22.el5

How reproducible:
always

Steps to Reproduce (ia64 machine):
======================
# rpm -ivh http://download.fedora.redhat.com/pub/epel/5/ia64/epel-release-5-4.noarch.rpm
Retrieving http://download.fedora.redhat.com/pub/epel/5/ia64/epel-release-5-4.noarch.rpm
error: skipping http://download.fedora.redhat.com/pub/epel/5/ia64/epel-release-5-4.noarch.rpm - transfer failed - Unknown or unexpected error
warning: u 0x6000000000b75850 ctrl 0x6000000000b78a50 nrefs != 0 (download.fedora.redhat.com http)
# echo $?
1

Steps to Reproduce (s390x machine):
# rpm -ivh http://download.fedora.redhat.com/pub/epel/5/s390/epel-release-5-4.noarch.rpm
Retrieving http://download.fedora.redhat.com/pub/epel/5/s390/epel-release-5-4.noarch.rpm
error: skipping http://download.fedora.redhat.com/pub/epel/5/s390/epel-release-5-4.noarch.rpm - transfer failed - Unknown or unexpected error
warning: u 0x80b84ab0 ctrl 0x80b87cb0 nrefs != 0 (download.fedora.redhat.com http)
# echo $?
1

Actual results:
cryptic warning is displayed

Expected results:
cryptic warning is not displayed, "404" or "not found" message is displayed