Red Hat Bugzilla – Bug 241358
ftp install fails when trying to download rpm files, adds /%2F to the start of ftp pathname
Last modified: 2007-11-30 17:12:05 EST
Description of problem:
When installing from FTP, via boot.iso, installation fails when trying to
download oprofile-gui-0.9.2-8.fc7.i386.rpm, and the path seems to be mangled.
Version-Release number of selected component (if applicable):
boot.iso with sha1sum:
Contents of download.fedora.redhat.com as of around Fri May 25 14:30 CEST 2007 =
Fri May 25 08:30 EDT 2007.
Steps to Reproduce:
1. Boot machine (I'm using VMware Server here) on boot.iso.
2. Install in English, sv-latin1 keyboard, FTP.
3. Using server: download.fedora.redhat.com and path:
pub/fedora/linux/core/development/i386/os (note no slash before pub)
4. Deselect Office productivity, select Software development.
5. root password etc, nextnextnext...
The file oprofile-gui-0.9.2-8.fc7.i386.rpm cannot be opened. This is due to a
missing file or perhaps a corrupt package. [...]
On VT 3:
WARNING : Failed to get
from mirror 1/1.
Install without error.
In VMware, on IPv4 (publicly routable) and IPv6 enabled networks.
HTTP install seems to work.
FTP installs are working fine in rawhide. Just tested using your reproducer.
In urlinstall.py, we have this code:
if scheme == "ftp" and path and path.startswith("//"):
path = "/%2F" + path[1:]
So the %2F element is added only if your path starts with two slashes. We have
to add that for escaping in the FTP protocol.
Thanks for the report.