rackerlabs / auter

Automatic updates for RHEL, Debian, and their derivatives, with the ability to run pre/post hooks & reboot afterwards.
Apache License 2.0
67 stars 18 forks source link

Auter may reinstall a package during --apply which has been uninstalled since --prep #232

Open mark-hyde opened 5 years ago

mark-hyde commented 5 years ago

Situation: auter --prep was run by cron on 1st of month We deleted clamav from servers sometime in the first week to replace it with an alternative AV/malware scanner. auter --apply was then run automatically in the 3rd/4th week and clamav was reinstalled.

I think that had there not been an update available for clamav then there would have been no RPM in the auter download cache and this would not have been an issue, but there's an edge case here which perhaps needs resolving.

Desired outcome: Auter should not reinstall packages which have been deleted from the server since the last prep.