Issue Facing whiile creating local Yum repository.
Hi All, I'm facing the issue while creating local repository on my local machine ( Centos 6.4).
1>output of loca.repo file :-
name=local
baseurl=file:///data/Packages
enabled=1
gpgcheck=0
2> Error :-
[root@client yum.repos.d]# ls
CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo epel.repo epel-testing.repo local.repo
[root@client yum.repos.d]#
[root@client yum.repos.d]#
[root@client yum.repos.d]# yum list
Loaded plugins: fastestmirror, refresh-packagekit, security
Error: File contains no section headers.
file: file://///etc/yum.repos.d/local.repo, line: 2
'name=local\n'
[root@client yum.repos.d]#
|