Bug 162242

Summary: rpm --import with proxy fails with assertion error
Product: [Fedora] Fedora Reporter: Marius Andreiana <marius.andreiana>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED DEFERRED QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: n3npq
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-05 11:32:31 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 Marius Andreiana 2005-07-01 12:43:18 UTC
rpm --httpproxy $http_proxy --import
http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
error:
http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras:
import read failed(-1).
rpmk: url.c:103: XurlFree: Assertion `u && u->magic == 0xd00b1ed0' failed.
Aborted

Reproducibility: 100%

Comment 1 Jeff Johnson 2005-07-13 10:18:18 UTC
The option --httpproxy is almost certainly not what you want, what's implemented is
a TIS proxy from ~1998.

Comment 2 Jeff Johnson 2006-08-05 11:32:31 UTC
Since the issue of rpm being network aware is controversial and unlikely to change even gradually
this decade, I suggest that you use alternative means of transport that handle modern proxies,
and then import as a secondary step.

DEFERRED until the rpm development/upgrade glaciers melt in the year 2020 ...