Failed to upgrade to Virtualmin Pro :

4 posts / 0 new
Last post
#1 Wed, 05/13/2009 - 12:48
mobiusllc

Failed to upgrade to Virtualmin Pro :

Creating Virtualmin license file .. .. done

Failed to upgrade to Virtualmin Pro : No Virtualmin GPL repository was found in /etc/yum.repos.d/virtualmin.repo

I got this error while in VM after entering my serial and license key and hitting upgrade.

I'm on CentOS 5.3

Any ideas?

Wed, 05/13/2009 - 13:57
Joe
Joe's picture

If you didn't install using the automated install script, but <i>did</i> use the RPM packages of Virtualmin and Webmin, you've got a system state that the upgrader doesn't know how to handle (the upgraded best deals with systems installed with install.sh, but it can be fooled into working pretty well with just about any other Virtualmin GPL system).

Here's what you do:

Remove /etc/virtualmin-license to undo the bit of the upgrade that did occur

Setup the yum repository for Virtualmin GPL with:

rpm -ivh http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-1.0-...

<i>Then</i> try the upgrade within Virtualmin

I, of course, assume you have good backups. Upgrades are not particularly dramatic or dangerous. But, I want to remind you to keep good backups, because something is bound to go wrong someday. ;-)

--

Check out the forum guidelines!

Wed, 05/13/2009 - 14:03 (Reply to #2)
mobiusllc

Retrieving http://software.virtualmin.com/gpl/centos/5/i386/virtualmin-release-1.0-...
Preparing... ########################################### [100%]
package virtualmin-release-1.0-1.rhel.gpl.noarch is already installed

What do I do then? heh.

Wed, 05/13/2009 - 14:39 (Reply to #3)
Joe
Joe's picture

Whoah. How's that even possible?

So, does /etc/yum.repos.d/virtualmin.repo exist?

--

Check out the forum guidelines!

Topic locked