[Spacewalk-list] CLI delete rpm command

Barbitsas, George Barbitsas.George at hydro.qc.ca
Tue Oct 29 17:27:36 UTC 2013


It worked!
 
I think the cache file was getting in the way.
 
I tried spacecmd logout, and spacmd softwarechannel_removepackages channel rpm and it worked.
 
I have to work in the cache removal command to my script....
 
 
regards,


________________________________

	De : spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] De la part de J Epperson
	Envoyé : 29 octobre 2013 13:18
	À : spacewalk-list at redhat.com
	Objet : Re: [Spacewalk-list] CLI delete rpm command
	
	

	My guess is that your package string does not match anything it's expecting (or same for the channel).  Does what you're trying to remove match anything in "softwarechannel_listpackages"?

	On 2013-10-29 13:02, Barbitsas, George wrote:

		I tried that and keep getting the following ERROR
		 
		ERROR: cannot marshal None unless allow_none is enabled
		
		regards,


________________________________

			De : spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] De la part de J Epperson
			Envoyé : 29 octobre 2013 10:37
			À : spacewalk-list at redhat.com
			Objet : Re: [Spacewalk-list] CLI delete rpm command
			
			 

			spacecmd has a "softwarechannel_removepackages" command.  Will that do what you want?

			On 2013-10-29 10:09, Barbitsas, George wrote:

				Hi,
				 
				I am trying to automate rpm intégration in spacewalk 1.9, but I keep getting rpm duplicates after every rhnpush.
				Is there a command line that enables me to delete rpm's from a specific channel in spacewalk??
				 
				Regards,

				_______________________________________________
				Spacewalk-list mailing list
				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/20131029/a8ff7798/attachment.htm>


More information about the Spacewalk-list mailing list