On 2018-01-10 14:58, MAS Jean-Louis wrote:
Le 10/01/2018 à 12:30, Jonathan Sélea a écrit :
It was installed because CraftCMS depends on it :)
According to term.log - unattended-upgrade performed the update
2018-01-06 06:41 and every package was updated (including
php7.1-mbstring)
Just two minutes after that, unattended-upgrade runs again and removes
php7.1-mbstring and only that package.
I can't find any activity on the server on that time (no users logged
in
and such).
So something triggered unattended-upgrade to do this,
Maybe this line is set to "true" in your
/etc/apt/apt.conf.d/50unattended-upgrades
Mine look like this :
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "false";
Thanks!
My file looks like this:
Unattended-Upgrade::Origins-Pattern {
"o=*";
};
Unattended-Upgrade::Automatic-Reboot "false";
Unattended-Upgrade::Mail "root";
I appended "Unattended-Upgrade::Remove-Unused-Dependencies "false";" to
the end of the file. Let's hope that this does not happend again :)
Thanks for the tip!