I get this error when trying to upgrade to Virtualmin Pro: Failed to upgrade to Virtualmin Pro : Virtualmin has been installed from an RPM, but not using the Virtualmin GPL repository. Upgrading is not possible at this time.
Problem is, that is completely untrue. I installed Virtualmin GPL using the “install.sh” script straight from the site.
Ah, it doesn’t actually appear that you have the virtualmin.repo file there.
How did you initially install Virtualmin, was that using the install.sh script?
Also, what is the output of this command:
rpm -qa | grep wbm
If the output of the above command all looks good, then it’s just a matter of us re-creating that virtualmin.repo file.
Though, note that it looks like you have a number of third party repositories enabled there. We have seen quite a few issues come up due to third party repositories… we’d suggest caution with those, possible even disabling them until there’s a package you’re certain you need. However, that’s not the cause of the current problem you’re seeing.
Okay, it looks like it’s a case of a missing virtualmin.repo file, everything else looks good. That’s created when the install.sh runs, something may have happened to that afterwards.
We can re-create that though.
What you’d want to do is make a new file named /etc/yum.repos.d/virtualmin.repo, and give it the following contents: