From the spacecmd console there are several errata-commands. I think errata_delete would be the most interesting for you:
Miscellaneous help topics: ========================== time systems ssm spacecmd {SSM:0}> help errata_delete errata_delete: Delete an erratum usage: errata_delete ERRATA|search:XXX ... spacecmd {SSM:0}> Further details can be found here: https://opensource.suse.com/doc-susemanager/suse-manager/reference/spacecmd/errata_.html Andreas Dijkman > On 7 Oct 2019, at 11:56, Wenkai Chen <wenkai_c...@ensigninfosecurity.com> > wrote: > > HI Andreas, > > What is the complete spacecmd command to remove the relevant errata? > Thanks. > > <image005.png> > > Chen Wenkai > Infrastructure Security Engineer > > <image006.png> <https://www.linkedin.com/company/ensign-infosecurity/> > <image007.png> <https://youtu.be/9J7FkhXpb-4> <image008.png> > <https://www.facebook.com/EnsignGlobal> > > E: wenkai_c...@ensigninfosecurity.com > <mailto:wenkai_c...@ensigninfosecurity.com> > A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 > > > From: spacewalk-list-boun...@redhat.com <spacewalk-list-boun...@redhat.com> > On Behalf Of Andreas Dijkman > Sent: Monday, 7 October 2019 2:18 PM > To: spacewalk-list@redhat.com > Subject: Re: [Spacewalk-list] What is the correct way to safely remove all > errata that is orphaned and not part of any packages > > I removed all my relevant errata with spacecmd. And spacecmd can handle > wildcards, so that should be easy enough to remove them in bulk. And if you > remove too much, just import them again by syncing the channels with errata > available. > > Andreas Dijkman > > On 7 Oct 2019, at 08:01, Wenkai Chen <wenkai_c...@ensigninfosecurity.com > <mailto:wenkai_c...@ensigninfosecurity.com>> wrote: > > Hi Users, > > Anyone able to advise? > Thank you. > > <image005.png> > > Chen Wenkai > Infrastructure Security Engineer > > <image006.png> <https://www.linkedin.com/company/ensign-infosecurity/> > <image007.png> <https://youtu.be/9J7FkhXpb-4> <image008.png> > <https://www.facebook.com/EnsignGlobal> > > E: wenkai_c...@ensigninfosecurity.com > <mailto:wenkai_c...@ensigninfosecurity.com> > A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 > > > From: Wenkai Chen > Sent: Friday, 13 September 2019 11:09 AM > To: spacewalk-list@redhat.com <mailto:spacewalk-list@redhat.com> > Subject: [Spacewalk-list] What is the correct way to safely remove all errata > that is orphaned and not part of any packages > > HI Spacewalk users, > > Recently I just remove a RHEL 7 channel and its associated repository from > Spacewalk. I remove via the spacecmd command and also did a > spacewalk-data-fsck to check the database for any orphan packages that are > not in use. > Now, all the RHEL packages and channels with its repositories are all removed > from Spacewalk. However, the errata information related to the RHEL 7 channel > still exists in Spacewalk. > How do I safely remove all these errata information that are no use? Should I > just remove via the GUI under ‘Errata’ > ‘Manage Errata’? Do I need to do > anything else? Or will the UI take care of everything? > > Thank you. > > <image009.png> > > Chen Wenkai > Infrastructure Security Engineer > > <image010.png> <https://www.linkedin.com/company/ensign-infosecurity/> > <image011.png> <https://youtu.be/9J7FkhXpb-4> <image012.png> > <https://www.facebook.com/EnsignGlobal> > > E: wenkai_c...@ensigninfosecurity.com > <mailto:wenkai_c...@ensigninfosecurity.com> > A: 30A Kallang Place, Level 9 Right Wing, Singapore 339213 > > > > CONFIDENTIALITY NOTICE: “This email is confidential and may also be > privileged. If this email has been sent to you in error, please delete it > immediately and notify us. Please do not copy, distribute or disseminate part > or whole of this email if you are not the intended recipient or if you have > not been authorized to do so. We reserve the right, to the extent and under > circumstances permitted by applicable laws, to monitor, retain, intercept and > block email messages to and from our systems. Thank you.” > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com <mailto:Spacewalk-list@redhat.com> > https://www.redhat.com/mailman/listinfo/spacewalk-list > <https://www.redhat.com/mailman/listinfo/spacewalk-list> > > _______________________________________________ > Spacewalk-list mailing list > Spacewalk-list@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-list
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list