How to delete patches [answered]
Hey! How do I delete patches instead of just disabling them? Is the only way to search it from the Warehouse and choosing 'uninstall' below 'update'?
Hey! How do I delete patches instead of just disabling them? Is the only way to search it from the Warehouse and choosing 'uninstall' below 'update'?
You can use this snippet to find every installed patch:
find /usr/share/patchmanager/patches -name unified_diff.patch -exec rpm --queryformat "%{NAME}\n" -qf {} \;
and to remove them all, you can use (haven't tested it, but should work) this instead:
find /usr/share/patchmanager/patches -name unified_diff.patch -exec rpm --queryformat "%{NAME}\n" -qf {} \; | xargs pkcon remove -y
Asked: 2015-10-19 07:29:27 +0200
Seen: 1,705 times
Last updated: Oct 19 '15
in terminal pkcon remove 'patchname'
greendts ( 2015-10-19 13:02:27 +0200 )editWhat, if I get the message "failed to remove patch" when trying to delete a patch in Patchmanager?
SagaciousT ( 2017-08-09 18:54:30 +0200 )edit