Error: Cannot find a valid baseurl for repo: ius/x86_64
I got the error, so I wanted to update ius. The machine is CentOS-7.6.1810.
I looked at Add IUS repository so that I can install the latest package in CentOS7 and tried the following command.
yum -y install https://centos7.iuscommunity.org/ius-release.rpm
Then, I got the following error.
Loaded plugins: auto-update-debuginfo, fastestmirror Cannot open: https://centos7.iuscommunity.org/ius-release.rpm. Skipping. Error: Nothing to do
After checking, Cannot open: https://centos7.iuscommunity.org/ius-release.rpm was hit. It seems that it should be rewritten as follows.
yum install -y https://repo.ius.io/ius-release-el7.rpm
The link destination has changed.
Deprecation of legacy ius-release.rpm redirect links ("Deprecation of legacy ius-release.rpm redirect links") in Japanese Then it looks like this.
IUS has kept the link so that users can use the latest ius-release package. Currently, the link is provided by our CDN.
Before the ius.io domain, you specified a different URL.
https://rhel6.iuscommunity.org/ius-release.rpm https://rhel7.iuscommunity.org/ius-release.rpm https://centos6.iuscommunity.org/ius-release.rpm https://centos7.iuscommunity.org/ius-release.rpm
The server redirect to * .iuscommunity.org will be removed on June 1, 2020. This site has been informing us of new URLs for quite some time. Please update automations, scripts and notes that refer to the old URL.
After changing the link destination, I was able to download it safely.