Auto-replying to myself, will perhaps be useful for somebody …
There is actually an existing script here
https://github.com/stevemeier/cefs/blob/master/errata-wipe.pl to erase the erratas.
I have adapted it to only remove the erratas from the repos I am interested in, and all good, it does exactly what I wanted.
@uyuni team: What is the plan regarding the management of the erratas for CentOS + DEB OS families ? The scripts from Steve Meier/Philicious and
Robert Paschedag
are pretty efficient but needs to be adapted and maintained. Possible to have a new repository attached to the Uyuni project with the erratas scripts ?
Regards,
Philippe.
Philippe Bidault | Unix Engineer
Getronics
M. 34617301667 | E. Philippe.Bidault@Getronics.com | W. www.getronics.com
Getronics CMC Service
Desk Iberia S.L - VAT No:S.L.: B66686262.
Registered Office - Getronics
CMC Service Desk Iberia S.L, C/Rosselloi, Porcel, 21 planta 11, 08016 Barcelona,
Spain.
The information transmitted is intended only for use by the
addressee and may contain confidential and/or privileged material. Any review,
re-transmission, dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities other than the
intended recipient is prohibited. If you received this in error, please inform
the sender and/or addressee immediately and delete the material. Thank
you.
Legal disclaimer: http://www.getronics.com/legal/
From: Bidault, Philippe
Sent: viernes, 7 de agosto de 2020 17:07
To: uyuni-users@opensuse.org
Subject: Removal of Ubuntu erratas in Uyuni
Hi all,
I have noticed that the CVE ID were truncated, importing them from the philicious script (https://github.com/philicious/spacewalk-scripts/blob/master/errata-import.py)
Truncated because of the regexp limitation “CVE = "(?P<cve>CVE-\d{4}-\d{4})".
I have modified it to accept 5 digits (
CVE = "(?P<cve>CVE-\d{4}-\d{5} ),
but to be able to import them again, I would need to remove all the erratas from the Ubuntu repositories.
Is there an easy way to do it ?
Regards,
Philippe.