I have installed NethServer on a machine running KVM. When I go to the Software Center I get this error : Error YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-base/mirrorlist.txt {"error": "Cannot retrieve repository metadata (repomd.xml) for repository: centos-base. Please verify its path and try again"}
I installed the NethServer from the ISO
I created my VM
– virt-install
–virt-type kvm
–name NethServer
–ram 4096
–vcpus=1
–cdrom /Storage/Isos/nethserver-6.6-x86_64.iso
–disk path=//Storage/Images/NethS01.qcow2,size=500,format=qcow2
–network bridge=br0
–graphics none
–os-type=linux
–os-variant=rhel6
I did
yum clean all
I have checked my /etc/resolv.conf on the host and guest
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 192.168.1.254 (192.168.1.254) 0.628 ms 0.818 ms 0.791 ms
2 162-229-236-2.lightspeed.miamfl.sbcglobal.net (162.229.236.2) 20.193 ms 20.185 ms 20.369 ms
3 99.167.141.34 (99.167.141.34) 22.171 ms 22.775 ms 24.297 ms
4 99.167.141.177 (99.167.141.177) 31.151 ms 27.239 ms 27.432 ms
5 12.83.70.17 (12.83.70.17) 27.191 ms 28.237 ms 28.224 ms
6 fldfl401me3.ip.att.net (12.122.106.93) 28.657 ms 19.084 ms 19.036 ms
7 * * *
8 216.239.50.53 (216.239.50.53) 24.978 ms 216.239.50.57 (216.239.50.57) 25.380 ms 216.239.50.55 (216.239.50.55) 25.925 ms
9 216.239.50.115 (216.239.50.115) 27.251 ms 216.239.50.101 (216.239.50.101) 27.666 ms 28.803 ms
10 google-public-dns-a.google.com (8.8.8.8) 28.814 ms 29.619 ms 30.057 ms
]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: centos-base
]# yum repolist
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-base/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-updates/mirrorlist.txt
nethserver-base | 3.6 kB 00:00
nethserver-base/primary_db | 376 kB 00:02
nethserver-updates | 4.1 kB 00:00
nethserver-updates/primary_db | 286 kB 00:01
repo id repo name status
centos-base CentOS-6 Base 0
centos-updates CentOS-6 Updates 0
nethserver-base NethServer 6.6 base 327
nethserver-updates NethServer 6.6 updates 223
repolist: 550
]# yum install yum-utils
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Install Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: centos-base
]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/centos-base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: centos-base