remove awstats from another repo

I have awstats installed by accident (yum -y update) from another repo. How can i uninstall it and install awstats from virtualmin repos?

When i do yum remove awstats, it looks like it is gonna remove some important stuff related to virtualmin too. so i stopped; but i dont have awstats on the server now.

Status: 
Closed (fixed)

Comments

Yeah, you need to be careful with any third party repositories, they can cause trouble :-)

What I would suggest is removing awstats not using yum, but with "rpm -e --nodeps PACKAGE_NAME" (where "PACKAGE_NAME is the awstats package name).

Then, disable the third party repository, and finally use yum to reinstall awstats from the CentOS repo.

bislinks's picture
Submitted by bislinks on Sat, 10/29/2011 - 13:03 Pro Licensee

Thank you very much, it worked.