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 <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, September 6, 2012 10:37 AM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> 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ř <[email protected]<mailto:[email protected]>> wrote: On Tue, 28 Aug 2012 15:53:41 -0400 Giovanni Torres <[email protected]<mailto:[email protected]>> 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 [email protected]<mailto:[email protected]> Red Hat, Inc. _______________________________________________ Spacewalk-list mailing list [email protected]<mailto:[email protected]> https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
