Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Yum Repo error #1

Open
acidjunk opened this issue Feb 11, 2016 · 1 comment
Open

Yum Repo error #1

acidjunk opened this issue Feb 11, 2016 · 1 comment

Comments

@acidjunk
Copy link

When I try to run "vagrant up" it configures the hosts correct but all yum install command fail:

fatal: [postgres-1]: FAILED! => {"changed": true, "failed": true, "msg": "Error: Cannot find a valid baseurl for repo: base\n", "rc": 1, "results": ["Loaded plugins: fastestmirror\nDetermining fastest mirrors\nYumRepo Error: All mirror URLs are not using ftp, http[s] or file.\n Eg. 6.5 is not a valid and current release or hasnt been released yet/\nremoving mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6.5/base/mirrorlist.txt\n"]

@acidjunk
Copy link
Author

Doing
sudo echo "6" > /etc/yum/vars/releasever
inside a VM fixes it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant