Re: [Spacewalk-list] What is the correct way to safely remove all errata that is orphaned and not part of any packages

2019-10-07 Thread Andreas Dijkman
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

Re: [Spacewalk-list] What is the correct way to safely remove all errata that is orphaned and not part of any packages

2019-10-07 Thread Wenkai Chen
HI Andreas, What is the complete spacecmd command to remove the relevant errata? Thanks. [A close up of a sign Description generated with very high confidence] Chen Wenkai Infrastructure Security Engineer [A picture containing building Description generated with high confidence]

Re: [Spacewalk-list] What is the correct way to safely remove all errata that is orphaned and not part of any packages

2019-10-07 Thread Andreas Dijkman
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

[Spacewalk-list] What is the correct way to safely remove all errata that is orphaned and not part of any packages

2019-09-12 Thread Wenkai Chen
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