On Wed, Nov 21, 2018 at 5:57 AM Jeremy Davis <jer...@turnkeylinux.org> wrote: > On 20/11/18 18:50, Olaf van der Spek wrote: > > IMO apt shouldn't be run in such a way that packages get removed > > automatically though.. > > If you have any specific suggestions on how to ensure that apt won't > remove packages, I'd be interested to hear.
No, unfortunately. Are you aware of the unattended-upgrades package though? > Also, IIRC there have been cases where removal of old packages were > required (I think that was the case with Samba security updates within > Jessie?! - Although perhaps I am confused). > Possibly the easiest way to reproduce the issue would be to download our > v15.0 (Stretch based) LAMP appliance ISO[1] (signed hash file here[2]) > and install it to a VM and NOT run the initial firstboot "security > updates" script (i.e. select "skip" when asked). Once logged in as root, > you can then poke around inside and see exactly what is going on. Have you tried figuring out why apt wants to remove mariadb-server? Gr, Olaf