On 4/23/13 4:51 PM, Moessbauer, David wrote:
[root@localhost /]# wget -O /etc/yum.repos.d/epel-6-scap-security-guide.repo
\http://repos.fedorapeople.org/repos/scap-security-guide/epel-6-scap-security-guide.repo
http://repos.fedorapeople.org/repos/scap-security-guide/epel-6-scap-secur...:
Scheme missing.
[root@localhost /]# wget -O /etc/yum.repos.d/epel-6-openscap.repo
\http://repos.fedorapeople.org/repos/gitopenscap/openscap/epel-6-openscap.repo
http://repos.fedorapeople.org/repos/gitopenscap/openscap/epel-6-openscap....: Scheme
missing.
The copy/paste is goofing things up. The "\" character will escape the
current prompt line and allow you to continue typing a command on a new
line. When entered as a command line argument wget will treat \ as a URL:
[root@rhel6 ~]# wget -O /etc/yum.repos.d/epel-6-scap-security-guide.repo
\
http://repos.fedorapeople.org/repos/scap-security-guide/epel-6-scap-secur...
http://repos.fedorapeople.org/repos/scap-security-guide/epel-6-scap-secur...:
Scheme missing.
The above is much different than:
[root@rhel6 ~]# wget -O /etc/yum.repos.d/epel-6-scap-security-guide.repo \
http://repos.fedorapeople.org/repos/scap-security-guide/epel-6-scap-secur...
Based off your user experiences, and to help people out in the future,
I've updated the wiki [1] to reflect what to do if someone receives this
error in the future. In short: ensure the line break is a true line
break (such as the example directly above), or put everything on a
single line.
[1]
https://fedorahosted.org/scap-security-guide/wiki/downloads