[Spacewalk-list] Recommended way to uninstall Spacewalk

Giovanni Torres giovtorres at hotmail.com
Fri Sep 7 10:55:26 UTC 2012


Eh, I just ended up reinstalling on a new vm.  Whenever you run the 'yum install spacewalk-oracle' on a clean system, you end up downloading 300 - 400 dependencies.  I'd rather not mess with that, although I was considering it.
Perhaps next time, I'll keep the list of all the spacewalk dependencies and then uninstalling all those rpms and see what directories/files get left behind or need to get cleaned up.  Maybe that is the way to go the next time. 

> From: GregWojtak at quickenloans.com
> To: spacewalk-list at redhat.com
> Date: Thu, 6 Sep 2012 16:23:32 +0000
> Subject: Re: [Spacewalk-list] Recommended way to uninstall Spacewalk
> 
> 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
> 
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20120907/289eb285/attachment.htm>


More information about the Spacewalk-list mailing list