Downgrade from Pro to GPL

15 posts / 0 new
Last post
#1 Thu, 04/01/2010 - 11:35

Downgrade from Pro to GPL

I wanted to ensure I had a perfect setup on a new server, so took the cheeky step of using the Pro license install command.

Alsthough it is nice having VM on the server, I do not need Pro, so I want to downgrade to gpl.

Searching the forum, all I can see is a reference to documentation I cant find and 'installing the GPL RPM or deb or .wbm file (depending on how Professional was installed) and converting the package manager to the GPL version of the repository'.

Are there some simple commands for Centos5 to acheive this, as I do not want to break the license terms?

Thu, 04/01/2010 - 11:39


Yeah, the process of downgrading from Pro to GPL is described here:

You can follow the instructions mentioned under the heading "RPM-based systems".


Thu, 04/01/2010 - 11:44

thanks for the very prompt response!

Tue, 02/22/2011 - 12:42

I just downgraded to GPL. However, with ever attempt to do a Yum update, yum tries to reinstall the Pro version. What did I miss? I followed the instructions closely, and I am running Centos5. Thanks!

Tue, 02/22/2011 - 12:49


It sounds like your yum repository is still pointing at the Pro version.

The directions for moving from Pro to GPL are here:

The key step for fixing the repo is this part:

rpm -Uvh --oldpackage

After that, it should configure yum to use Virtualmin's GPL repository.


Tue, 02/22/2011 - 12:52

I tried the following:

# rpm -Uvh --oldpackage
Preparing...                ########################################### [100%]
package virtualmin-release-1.0-1.rhel.gpl.noarch is already installed

Then ran yum update:

# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons:
* base:
* extras:
* updates:
Reducing CentOS-5 Testing to included packages only
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package virtualmin-release.noarch 0:1.0-4.rhel set to be updated
---> Package wbm-virtual-server.noarch 2:3.83-1 set to be updated
--> Finished Dependency Resolution

As you can see, it still keeps trying to update. Not sure what else to check. I tried to clear the yum cache, but it did not help. Thanks for your help!

Tue, 02/22/2011 - 13:11 (Reply to #6)

I should also point out what I see from my RPM query:

-bash-3.2# rpm -qa | grep wbm-virtual-server


Wed, 03/09/2011 - 13:25

Hey there, sorry to bump this, but I am still having problems. No matter what I do, the commercial version of Virtualmin keeps getting reinstalled.


Wed, 03/09/2011 - 13:31

In order for it to be reinstalled, there would have to be an entry for the Pro repository, containing your serial number and such, in /etc/yum.repos.d/ -- probably in a file named virtualmin.repo.

What does that particular file look like on your system?

And also, does /etc/virtualmin-license look like this now:

Wed, 03/09/2011 - 13:34

Hi there,

The contents of /etc/yum.repos.d/virtualmin.repo is:

name=Red Hat Enterprise $releasever - $basearch - Virtualmin

name=Virtualmin Distribution Neutral

The contents of /etc/virtualmin-license is:


Thanks for your help!

Wed, 03/09/2011 - 13:39

Hmm, so that's unusual, since that file in theory should have been replaced with the GPL equivalent when running this command:

rpm -Uvh --oldpackage

Are there other virtualmin related files residing in /etc/yum.repos.d?


Wed, 03/09/2011 - 13:43

Hi Eric,

This is what I have in that folder:

-rw-r--r--  1 root root 2245 Apr 25  2010 CentOS-Base.repo
-rw-r--r--  1 root root  626 Apr 25  2010 CentOS-Media.repo
-rw-r--r--  1 root root  723 Apr  2  2010 CentOS-Testing.repo
-rwxr-xr-x  1 root root  440 Dec 31  2009 virtualmin.repo
-rw-r--r--  1 root root  100 Dec 29  2009 webmin.repo

I am also attaching a screenshot of the update screen. It's interesting because according to it, it wants to upgrade the GPL version, but in-fact it is NOT the GPL version that gets installed if I say OK.


Wed, 05/16/2012 - 14:44

This problem occurs because rpm does not overwrite the old virtualmin.repo, it writes virtualmin.repo.rpmnew

So, you have to remove the PRO virtualmin.repo and rename the new GPL repo, and that will solve your problem.

Thu, 08/15/2019 - 20:27

It could be because these instructions are very old, but I wasn't able to downgrade to GPL.

I changed the license numbers to GPL, deleted the old repo, used any command I found on this site and tried to reinstall.

Could someone kindly point me to a 2019 instruction, please?


Mon, 12/02/2019 - 16:21

Just followed this successfully as my virtualmin license lapsed when I realised I needed docker so switched to cloudmin a few months ago. Been meaning to do this for ages but worried it was overly time-consuming or complex, how wrong was I.

Went to /etc/apt/ in filemanager and edited sources.list to remove my username/password combo and add the gpl section to the virtualmin urls. I have cloudmin too but this uses a different source domain ( and different username/password (license) combo so these lines were unchanged. Refreshed available packages in virtualmin package update manager, ran updates, then went and updated the /etc/virtualmin-license file to be GPL. Job done, dashboard immediately recognised the change.

Should mention:- ubuntu 18.04.2

Topic locked