I have Virtualmin 3.59 running on Webmin 1.510 and I’d like to update Virtualmin.
I tried the command line
yum install virtualmin
and got the result
Setting up Install Process
Setting up repositories
virtualmin 100% |=========================| 951 B 00:00
not using ftp, http[s], or file for repos, skipping - 4ES is not a valid release or hasnt been released yet
Cannot find a valid baseurl for repo: update
Error: Cannot find a valid baseurl for repo: update
What other repositories are setup on your server? It’s possible one of the other repositories is causing trouble. You can determine that by running the following:
ls /etc/yum.repos.d/
Seeing what .repo files are in that dir should give us some clues.
Also, you may want to look at this URL to verify that your license and serial number are still valid:
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
Hrm, I wonder if that CentOS repository is causing you troubles. While CentOS and RHEL have their similarities, having the actual CentOS repository in there may be causing trouble.
Try just renaming the CentOS repo file using something like this: