|
Bugzilla – Full Text Bug Listing |
| Summary: | rpm -ihv http://download.opensuse.org/... - transfer failed - Unknown or unexpected error | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE.org | Reporter: | Harald Koenig <koenig> |
| Component: | Download Infrastructure | Assignee: | Peter Poeml <poeml> |
| Status: | RESOLVED FIXED | QA Contact: | Adrian Schröter <adrian.schroeter> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Harald Koenig
2009-02-26 13:06:00 UTC
Hi Harald, thanks for this bug.
A little background: retrievals by /bin/rpm are not redirected to mirrors,
because of the following peculiarity:
# rpm has a bug which prevents it from following 302s
# https://bugzilla.novell.com/show_bug.cgi?id=278729
# this workaorund helps until this bug is fixed
MirrorBrainExcludeUserAgent rpm/4.4.2
My rpm version is 4.4.2, and I can thus retrieve the package:
# rpm -Kv http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/x86_64/procmeter-debuginfo-3.4a-188.93.x86_64.rpm
http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/x86_64/procmeter-debuginfo-3.4a-188.93.x86_64.rpm:
Header V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
Header SHA1 digest: OK (5ca15660e2a71af7c8b49b4729c63cf1cfa56bc9)
V3 RSA/SHA256 signature: NOKEY, key ID 3dbdc284
MD5 digest: OK (40677b83715d36578be7eb7a790214a6)
What's your rpm version?
Maybe another one which is broken, but user agent != "rpm/4.4.2".
Found it in the log, yours is "rpm/4.4.2.3". I'll make the exclusion rule match on "rpm/4.4.2*", then the workaround is active for that other rpm version, too. Done. Before: # curl -sI 'http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/x86_64/procmeter-debuginfo-3.4a-188.93.x86_64.rpm' -H "User-agent: rpm/4.4.2.3" HTTP/1.1 302 Found Date: Thu, 26 Feb 2009 13:29:02 GMT Server: Apache/2.2.11 (Linux/SUSE) X-Prefix: 83.133.0.0/16 X-AS: 13237 X-MirrorBrain-Mirror: ftp.hosteurope.de X-MirrorBrain-Realm: country Location: http://ftp.hosteurope.de/mirror/ftp.opensuse.org/debug/distribution/11.1/repo/oss/suse/x86_64/procmeter-debuginfo-3.4a-188.93.x86_64.rpm Content-Type: text/html; charset=iso-8859-1 Now: # curl -sI 'http://download.opensuse.org/debug/distribution/11.1/repo/oss/suse/x86_64/procmeter-debuginfo-3.4a-188.93.x86_64.rpm' -H "User-agent: rpm/4.4.2.3" HTTP/1.1 200 OK Date: Thu, 26 Feb 2009 13:29:19 GMT Server: Apache/2.2.11 (Linux/SUSE) X-Prefix: 83.133.0.0/16 X-AS: 13237 Last-Modified: Wed, 03 Dec 2008 13:00:00 GMT ETag: "30650e39-2a0ac-45d24058a5400" Accept-Ranges: bytes Content-Length: 172204 Content-Type: application/x-rpm |