Accidentally delete virtualmin repo from /etc/yum.repos.d

2 posts / 0 new
Last post
#1 Sun, 05/01/2016 - 11:59

Accidentally delete virtualmin repo from /etc/yum.repos.d

Hi, Cannot see how to add the repo back. Running fails with repo not found when trying to delete the existing virtualmin repo, which of course it can't as I already did that by accident.

Searching provides no results and docs just keep talking about clean systems and

any help much appreciated.

Regards BaD

Sun, 05/01/2016 - 14:57

You'll find a list of the CentOS versions at this URL:

Once you determine the version you need, using something like this:

rpm -ivh [version] / [arch] /virtualmin-release-latest.noarch.rpm

For instance, if you were running CentOS 6.7, on a 64 bit machine, use:

rpm -ivh
rpm -ivh

Be cautious.

Topic locked