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

Wenkai Chen wenkai_chen at ensigninfosecurity.com
Mon Oct 7 09:56:56 UTC 2019


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] <https://www.linkedin.com/company/ensign-infosecurity/>      [A picture containing tableware  Description generated with high confidence] <https://youtu.be/9J7FkhXpb-4>      [A close up of a sign  Description generated with high confidence] <https://www.facebook.com/EnsignGlobal>

  E:  wenkai_chen at ensigninfosecurity.com
  A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213


From: spacewalk-list-bounces at redhat.com <spacewalk-list-bounces at redhat.com> On Behalf Of Andreas Dijkman
Sent: Monday, 7 October 2019 2:18 PM
To: spacewalk-list at 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_chen at ensigninfosecurity.com<mailto:wenkai_chen at 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_chen at ensigninfosecurity.com<mailto:wenkai_chen at 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 at redhat.com<mailto:spacewalk-list at 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_chen at ensigninfosecurity.com<mailto:wenkai_chen at 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 at redhat.com<mailto: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/20191007/7f10bb99/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 4746 bytes
Desc: image005.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191007/7f10bb99/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 634 bytes
Desc: image006.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191007/7f10bb99/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1032 bytes
Desc: image007.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191007/7f10bb99/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 552 bytes
Desc: image008.png
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20191007/7f10bb99/attachment-0003.png>


More information about the Spacewalk-list mailing list