mvo5 / unattended-upgrades

Automatic installation of security upgrades on apt based systems
GNU General Public License v2.0
278 stars 78 forks source link

Pre/post upgrade hooks #55

Open matpen opened 7 years ago

matpen commented 7 years ago

I would be interested in pre/post upgrade hooks.

My use case is as follows: on my VPS I employ tripwire as an intrusion detection system, which requires confirmation of all system changes, listed in a text file. As of now, I am forced to

Ideally I would automate this process as follows:

Is there any way to approach the above?

matpen commented 7 years ago

Sorry to bump... but is there anyone who can answer the above? Or maybe provide some pointers for a pull request?

vmspike commented 6 years ago

@matpen , DPkg::Pre-Invoke or Dpkg::Pre-Install-Pkgs with DPkg::Post-Invoke can be what you're looking for: https://wiki.debian.org/AptConf