Koozali.org: home of the SME Server

SOLVED - YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Offline geoff

  • ***
  • 61
  • +0/-0
Hi All

Yum update returns the following error:

YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

Here is some copypastes of what I have tried and the errors that I’ve gotten from the server.

# yum clean all
Loaded plugins: fastestmirror, protect-packages, smeserver
Cleaning up Everything
Cleaning up list of fastest mirrors

# yum update
Loaded plugins: fastestmirror, protect-packages, smeserver
Determining fastest mirrors
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

# yum clean all --enablerepo=*
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/addons/mirrorlist.txt


Cannot find a valid baseurl for repo: addons

# yum clean metadata
Loaded plugins: fastestmirror, protect-packages, smeserver
0 metadata files removed
0 sqlite files removed
0 metadata files removed

All attempts to do “yum update” result in the same error. I’ve tried to look into potential solutions with not much success. I have tried “yum makecache”, but it returns the same as “yum update” as per below.

# yum makecache
Loaded plugins: fastestmirror, protect-packages, smeserver
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http or file.
Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/cache/yum/base/mirrorlist.txt
Error: Cannot find a valid baseurl for repo: base

Any thoughts as to the issue and how it may be resolved? Thanks for your assistance!
« Last Edit: May 05, 2017, 08:36:16 AM by geoff »

Offline geoff

  • ***
  • 61
  • +0/-0
Why the 'Paste' ended up as strikethrough, I do not know. Aplologies

Offline geoff

  • ***
  • 61
  • +0/-0
Apologies! I did not realise they were still using SME8.

SOLVED