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 : [email protected] 
[mailto:[email protected]] De la part de J Epperson
        Envoyé : 29 octobre 2013 13:18
        À : [email protected]
        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 : [email protected] 
[mailto:[email protected]] De la part de J Epperson
                        Envoyé : 29 octobre 2013 10:37
                        À : [email protected]
                        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
                                [email protected]
                                
https://www.redhat.com/mailman/listinfo/spacewalk-list

                         


                _______________________________________________
                Spacewalk-list mailing list
                [email protected]
                https://www.redhat.com/mailman/listinfo/spacewalk-list

         

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to