Download handling has completely been rewritten in 4.6 so back porting a fix is not an option. As the problem is a bit more than just a missing directory (as a comment in the code suggests) I guess best option is to just close this issue.
Anyway, thanks for reporting and testing! Feel free to reopen if there is a use case justifying putting more effort into this.
Description of problem:
Cannot install pkg from http when chroot is used
Version-Release number of selected component (if applicable): 2.3-18. el5.x86_ 64
rpm-4.4.
Steps to Reproduce: download. englab. brq.redhat. com/pub/ rhel/nightly/ RHEL5.4- Server- latest/ tree-x86_ 64/Server/ fonts-ISO8859- 2-1.0-17. 1.noarch. rpm download. englab. brq.redhat. com/pub/ rhel/nightly/ RHEL5.4- Server- latest/ tree-x86_ 64/Server/ fonts-ISO8859- 2-1.0-17. 1.noarch. rpm download. englab. brq.redhat. com/pub/ rhel/nightly/ RHEL5.4- Server- latest/ tree-x86_ 64/Server/ fonts-ISO8859- 2-1.0-17. 1.noarch. rpm - transfer failed - Unknown or unexpected error
1.
$ rpm -ivh --root /tmp/chroot --nodeps http://
Retrieving http://
error: skipping http://
$ echo $?
1
# http path is correct > local installation passes after wgeting pkgs: 2-1.0-17. 1.noarch. rpm 2-1.0-17. 1.noarch. rpm: Header V3 DSA signature: NOKEY, key ID 897da07a ####### ####### ####### ####### ####### # [100%] ISO8859- 2 ####### ####### ####### ####### ####### ####### # [100%]
2.
$ rpm -ivh --root /tmp/chroot --nodeps fonts-ISO8859-
warning: fonts-ISO8859-
Preparing... #######
1:fonts-
How reproducible:
always
Actual results: download. englab. brq.redhat. com/pub/ rhel/nightly/ RHEL5.4- Server- latest/ tree-x86_ 64/Server/ fonts-ISO8859- 2-1.0-17. 1.noarch. rpm - transfer failed - Unknown or unexpected error
error: skipping http://
Expected results:
pkg can be installed
Additional info: 1-1.fc10. i386;
all versions in rhel5 and rhel4 seem buggy;
fedora version works as expected, tried only rpm-4.6.