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 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  
> wrote:
> 
> HI Andreas,
>  
> What is the complete spacecmd command to remove the relevant errata?
> Thanks.
>  
> 
> 
> Chen Wenkai
> Infrastructure Security Engineer
> 
>  
>    
> 
>   
>   E:  wenkai_c...@ensigninfosecurity.com 
> 
>   A:  30A Kallang Place, Level 9 Right Wing, Singapore 339213
>  
>  
> From: 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  > wrote:
>  
> Hi Users,
>  
> Anyone able to advise? 
> Thank you.
>  
> 
> 
> Chen Wenkai
> Infrastructure Security Engineer
> 
>  
>    
> 
>   
>   E:  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 
> 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.
>  
> 
> 
> Chen Wenkai
> Infrastructure Security Engineer
> 
>  
>    
> 
>   
>   E:  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 
> 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

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]   [A 
picture containing tableware  Description generated with high confidence] 
  [A close up of a sign  Description 
generated with high confidence] 

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


From: 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 
mailto:wenkai_c...@ensigninfosecurity.com>> 
wrote:

Hi Users,

Anyone able to advise?
Thank you.



Chen Wenkai
Infrastructure Security Engineer

   
  


  E:  
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
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.



Chen Wenkai
Infrastructure Security Engineer

   
  


  E:  
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
https://www.redhat.com/mailman/listinfo/spacewalk-list

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

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 
mailto:wenkai_c...@ensigninfosecurity.com>> 
wrote:

Hi Users,

Anyone able to advise?
Thank you.




Chen Wenkai
Infrastructure Security Engineer

   
  



  E:  
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
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.




Chen Wenkai
Infrastructure Security Engineer

   
  



  E:  
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
https://www.redhat.com/mailman/listinfo/spacewalk-list

___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[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 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.

[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]   [A 
picture containing tableware  Description generated with high confidence] 
  [A close up of a sign  Description 
generated with high confidence] 

  E:  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
https://www.redhat.com/mailman/listinfo/spacewalk-list