[Spacewalk-list] spacecmd softwarechannel_removepackages not working correctly
Larry Clegg
lclegg at kyriba.com
Thu May 3 21:58:16 UTC 2018
Spacewalkers:
I am having problems with spacecmd to remove packages from channels.
Spacewalk 2.8 on Centos 6.9
[root at spacewalk]# rpm -qa | grep spacecmd
spacecmd-2.8.25-1.el6.noarch
spacecmd {SSM:0}> softwarechannel_removepackages --help
softwarechannel_removepackages: Remove packages from a software channel
usage: softwarechannel_removepackages CHANNEL <PACKAGE ...>
spacecmd {SSM:0}> softwarechannel_removepackages atlas-epel6-centos6-x86_64
*ganglia*
ERROR: 'NoneType' object is not iterable
spacecmd {SSM:0}> exit
()
This exact command works fine on SW 2.2 (my current production version.)
I also have noticed this change in behavior:
spacecmd {SSM:0}> softwarechannel_removepackages atlas-centos6-x86_64
ganglia-3.7.2-2.el6.x86_64
This command worked and did remove that specific package from the target
channel…but there was no prompting for confirmation…it just did it. Not
good! In SW 2.2 it would prompt for confirmation before removing.
*Larry E. Clegg*
Systems Administrator| *Kyriba*
[Cell Phone] +1 858-357-5579
[Address] 9620 Towne Centre Drive | Suite 250 | San Diego, California |
92121
www.kyriba.com | Facebook <https://www.facebook.com/KyribaCorp> | Twitter
<https://twitter.com/kyribacorp> | LinkedIn
<http://www.linkedin.com/company/kyriba-corporation> | Blog
<http://www.kyriba.com/blog>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180503/cb11912d/attachment.htm>
More information about the Spacewalk-list
mailing list