Red Hat Bugzilla – Bug 344781
yum fails on yum.conf with ftp baseurl
Last modified: 2014-01-21 17:59:57 EST
Description of problem:
Yum refuses to parse ftp url as base url in yum.conf
(Tell me I can't type!)
Version-Release number of selected component (if applicable):
[root@localhost ~]# rpm -q yum
Steps to Reproduce:
1. Insert ftp url and enable baseurl in yum.conf
[root@localhost ~]# yum remove openoffice*
Options Error: Error parsing
'ftp.wicks.co.nz/pub/linux/dist/fedora/updates/7/i386/': URL must be http, ftp,
file or https not ""
offending file yum.repos.d/fedora.repo attached
Created attachment 233691 [details]
baseurls have to start out with a protocol identifier your baseurl is:
there's no protocol section. Yours should read:
see the ftp:// section - that's required. So yum's error message was accurate.
I doth my hat and take a bow.
I can't type!
(You didn't need to tell me that.)