OSBN/Ubuntuusers Planet RHEL / CentOS XING / LinkedIn / Amazon

Short tip: remove Katello completely

If you’re testing the nightly builds of Katello, you might come into a situation where it is advisable to re-install the software completely.

As the particular installation steps are automated using Puppet, there is also a dedicated utility which automates uninstalling the software in a clean way: katello-remove.

This utility removes all required packages, stored content and also appropriate repositories:

# katello-remove 

WARNING: This script will erase many packages and config files.
Important packages such as the following will be removed:

  * httpd (apache)
  * mongodb
  * tomcat
  * puppet
  * ruby
  * rubygems
  * All Katello and Foreman Packages

Once these packages and configuration files are removed there is no going back.
If you use this system for anything other than Katello and Foreman you probably
do not want to execute this script.

Read the source for a list of what is removed.  Are you sure(Y/N)? Y

ARE YOU SURE?: This script permanently deletes data and configuration.
Read the source for a list of what is removed.  Type [remove] to continue? remove

In my environment I only had to remove the Red Hat Software Collections (RHCSL) repositories manually:

# yum remove $(rpm -qa|grep -i rhscl)
  Removing : rhscl-v8314-epel-7-x86_64-1-2.noarch
  Removing : rhscl-rh-ror41-epel-7-x86_64-1-2.noarch

Afterwards, you are ready to perform a fresh installation.

Sharing is caring

Leave a Reply

Your email address will not be published. Required fields are marked *