problem upgrading to VM Pro

When trying to upgrade VM GPL to VM Pro under Centos 5.4 I get:

Error
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.

eh?

How did you go about installing Virtualmin GPL?

I’m assuming you’re on CentOS – do you have a file named /etc/yum.repos.d/virtualmin.repo?

If so, what are it’s contents?

-Eric

well, it was installed a year and a half ago and I’m not sure how I went about it, I think I used the install.sh file and it just happened automagically.

Centos 5.4 and

yes, like this:

[root@cserver yum.repos.d]# ls -l
total 28
-rw-r–r-- 1 root root 2245 Oct 1 05:28 CentOS-Base.repo
-rw-r–r-- 1 root root 626 Oct 1 05:28 CentOS-Media.repo
-rw-r–r-- 1 root root 626 Mar 16 2009 CentOS-Media.repo.rpmnew
-rw-r–r-- 1 root root 954 Apr 25 2008 epel.repo
-rw-r–r-- 1 root root 1054 Apr 25 2008 epel-testing.repo
-rw-r–r-- 1 root root 922 Dec 19 2008 pgdg-83-centos.repo
-rwxr-x— 1 root root 440 Nov 25 19:33 virtualmin.repo.rpmsave

[root@cserver yum.repos.d]# cat virtualmin.repo.rpmsave
[virtualmin]
name=Red Hat Enterprise $releasever - $basearch - Virtualmin
baseurl=http://–obscured–@software.virtualmin.com/rhel/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

[virtualmin-universal]
name=Virtualmin Distribution Neutral
baseurl=http://–obscured–@software.virtualmin.com/universal/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
gpgcheck=1

Dave

Hrm, the .rpmsave extension of your virtualmin repo file might be causing trouble.

Does it help to rename that from “virtualmin.repo.rpmsave” to “virtualmin.repo”?

-Eric