Bobcares

WeSupport

Call Us! 1-800-383-5193
Call Us! 1-800-383-5193
Call Us! 1-800-383-5193

Need Help?

Emergency Response Time custom

Our experts have had an average response time of 11.98 minutes in June 2021 to fix urgent issues.

We will keep your servers stable, secure and fast at all times for one fixed price.

Cannot find a valid baseurl for repo: ius : Solusvm upgrade fails

by | Jul 20, 2021

Are you stuck with the error ‘Cannot find a valid baseurl for repo: ius’ while upgrading SolusVM to a new version with PHP 7.3? Don’t worry, We can help!

Here at Bobcares, we often handle requests from our customers to fix similar SolusVM upgrade errors.

Today, let see how our Support Engineers fix this as a part of our Server Management Services.

“Cannot find a valid baseurl for repo: ius” error

Our Solusvm users often report to us that they are facing issues while trying to manually upgrading SolusVM to a new version with PHP 7.3. One of the errors that we noticed recently is :

Something went wrong, check /var/log/yum.log

Also, when trying to install the SolusVM repo, we see the following error :

# yum install solusvm-release
Loaded plugins: fastestmirror
Setting up Install Process
Determining fastest mirrors
epel/metalink | 16 kB 00:00
Could not retrieve mirrorlist https://mirrors.iuscommunity.org/mirrorlist?repo=ius-centos6&arch=x86_64&protocol=http error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.iuscommunity.org'"
Error: Cannot find a valid baseurl for repo: ius

While troubleshooting this error, our Support Engineers found that this issue is due to the unavailability of the repository ius.

The IUS Repository is a yum repository that provides the latest upstream versions of selected software, such as PHP, Python, MySQL, MariaDB, Kit, Redis. IUS stands for Inline With Upstream Stable.

How to Fix this error

Let us see the steps followed by our support engineers to resolve this error for our customers.

  1. Firstly, connect the affected node via SSH.
  2. Then disable the repository by setting the directive enabled=0 in /etc/yum.repos.d/ius.repo file.
  3. Save the changes and close the file.
  4. Finally, run the upgrade once again:
# /bin/bash /usr/local/solusvm/tmp/update/php_updater.sh

[Need help to resolve solusvm related errors? We’d be happy to assist]

Conclusion

In short, today we saw the steps followed by our Support Techs to resolve the error ‘Cannot find a valid baseurl for repo: ius’  while upgrading SolusVM to a new version with PHP 7.3.

 

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Categories:

Tags: