[Spacewalk-list] Recommended way to uninstall Spacewalk

Wojtak, Greg (Superfly) GregWojtak at quickenloans.com
Thu Sep 6 16:23:32 UTC 2012


I'd try

yum remove spacewalk\* rhncfg\* osad yum-rhn-plugin rhn\*

Be careful with the wildcards though.  You could verify which packages it will remove before actually doing it.

Greg Wojtak
Sr. Unix Systems Engineer
Office: (313) 373-4306
Cell: (734) 718-8472


From: visinix the great <visinix at gmail.com<mailto:visinix at gmail.com>>
Reply-To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Date: Thursday, September 6, 2012 10:37 AM
To: "spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>" <spacewalk-list at redhat.com<mailto:spacewalk-list at redhat.com>>
Subject: Re: [Spacewalk-list] Recommended way to uninstall Spacewalk

I assume your talking about the spacewalk client?

If you are, doing as you suggested is just that simple. I have done this a few times, and I remove all things spacewalk.

rpm -qa |grep spacewalk

This will get you all the spacewalk specific stuff. Replace spacewalk with osad if you have that part of the setup in place as well.

I believe that yum will remove all the files and configs so long as they are stock / default. If you made a change they will hand around. On reinstall, it should preserve these files. Look in /etc/sysconfig/rhn for most of these.

In any case, if you are just reinstalling, this should do it for you, its worked enough for my needs.

Charlie

On Thu, Aug 30, 2012 at 1:01 AM, Jan Hutař <jhutar at redhat.com<mailto:jhutar at redhat.com>> wrote:
On Tue, 28 Aug 2012 15:53:41 -0400 Giovanni Torres
<giovtorres at hotmail.com<mailto:giovtorres at hotmail.com>> wrote:

> Is there a "clean" or recommended way to uninstall spacewalk
> on a system?  Is it a matter of just doing yum remove
> spacewalk* and perhaps going back and cleaning up some
> directories if they didn't get deleted?  Ultimately, I need to
> uninstall and then reinstall spacewalk. Any suggestions?
>
> Thanks,Giovanni

Hello,
no way I know about. You can uninstall all package-names you see
in Spacewalk installation repo, but that will not help with
dependencies which were brought from your operating system repo.
Also some config files might stay on your system (because of
some hidden bugs).

If you want to install Spacewalk on such a system again, I do
not recommend. Please reinstall the system.

Regards,
Jan



--
Jan Hutar     Systems Management QA
jhutar at redhat.com<mailto:jhutar at redhat.com>     Red Hat, Inc.

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list





More information about the Spacewalk-list mailing list