This can be reproduced on 10.1 and 10.2 at least. x86_64 and i586.
poeml@batavia510 ~ % rpm -Uvvh --test http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm Retrieving http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm D: ... as /var/tmp/rpm-xfer.yu95CW D: failed to open http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm: error: skipping http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm - transfer failed - Unknown or unexpected error D: May free Score board((nil)) warning: u 0x54fa80 ctrl 0x550d90 nrefs != 0 (software.opensuse.org http)
rpm seems to contact software.opensuse.org twice, instead of following the redirect by using the address from the Location header:
poeml@batavia510 ~ % strace -econnect,sendto rpm -Uvvh --test http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm Retrieving http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm D: ... as /var/tmp/rpm-xfer.JtmZi2 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0 sendto(3, "\2\0\0\0\r\0\0\0\6\0\0\0hosts\0U\0", 20, MSG_NOSIGNAL, NULL, 0) = 20 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0 sendto(3, "\206\371\1\0\0\1\0\0\0\0\0\0\10software\10opensuse\3o"..., 39, 0, NULL, 0) = 39 connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("195.135.221.130")}, 16) = 0 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, 28) = 0 sendto(3, "\5\220\1\0\0\1\0\0\0\0\0\0\10software\10opensuse\3o"..., 39, 0, NULL, 0) = 39 connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("195.135.221.130")}, 16) = 0 D: failed to open http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm: error: skipping http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm - transfer failed - Unknown or unexpected error D: May free Score board((nil)) warning: u 0x54fa80 ctrl 0x550d90 nrefs != 0 (software.opensuse.org http) Process 1733 detached
The server headers look like this:
poeml@batavia510 ~ % curl -sI http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm HTTP/1.1 302 Found Date: Tue, 29 May 2007 12:22:17 GMT Server: Apache/2.2.4 (Linux/SUSE) X-Zrkadlo-Chose-Mirror: ftp.halifax.rwth-aachen.de Location: http://ftp.halifax.rwth-aachen.de/opensuse/repositories/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm Content-Type: text/html; charset=iso-8859-1
This can be reproduced on 10.1 and 10.2 at least. x86_64 and i586.
poeml@batavia510 ~ % rpm -Uvvh --test http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm rpm-xfer.yu95CWsoftware.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm :software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm - transfer failed - Unknown or unexpected erroropensuse.org http)
Retrieving http://
D: ... as /var/tmp/
D: failed to open http://
error: skipping http://
D: May free Score board((nil))
warning: u 0x54fa80 ctrl 0x550d90 nrefs != 0 (software.
rpm seems to contact software.opensuse.org twice, instead of following the
redirect by using the address from the Location header:
poeml@batavia510 ~ % strace -econnect,sendto rpm -Uvvh --test http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm rpm-xfer.JtmZi2var/run/nscd/socket"}, 110) = 00\r\0\0\0\6\0\0\0hosts\0U\0", 20, MSG_NOSIGNAL, NULL, 0) = 20var/run/nscd/socket"}, 110) = 0inet_addr("127.0.0.1")}, 28) = 01\0\0\1\0\0\0\0\0\0\10software\10opensuse\3o"..., 39, 0, NULL, 0) = 39inet_addr("195.135.221.130")}, 16) = 0inet_addr("127.0.0.1")}, 28) = 01\0\0\1\0\0\0\0\0\0\10software\10opensuse\3o"..., 39, 0, NULL, 0) = 39inet_addr("195.135.221.130")}, 16) = 0software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm :software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm - transfer failed - Unknown or unexpected erroropensuse.org http)
Retrieving http://
D: ... as /var/tmp/
connect(3, {sa_family=AF_FILE, path="/
sendto(3, "\2\0\0\
connect(3, {sa_family=AF_FILE, path="/
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=
sendto(3, "\206\371\
connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=
sendto(3, "\5\220\
connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=
D: failed to open http://
error: skipping http://
D: May free Score board((nil))
warning: u 0x54fa80 ctrl 0x550d90 nrefs != 0 (software.
Process 1733 detached
The server headers look like this:
poeml@batavia510 ~ % curl -sI http://software.opensuse.org/download/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm Chose-Mirror: ftp.halifax.rwth-aachen.deftp.halifax.rwth-aachen.de/opensuse/repositories/home:/dmacvicar/openSUSE_10.2/i586/kopete-floor-0.1.0-17.1.i586.rpm
HTTP/1.1 302 Found
Date: Tue, 29 May 2007 12:22:17 GMT
Server: Apache/2.2.4 (Linux/SUSE)
X-Zrkadlo-
Location: http://
Content-Type: text/html; charset=iso-8859-1