Debain OS upgrades
Currently the command used for remote OS Upgrade on debian systems is
exec("aptitude update"); exec("aptitude safe-upgrade -y");
This has one issue: Under some circumstances aptitude might request interactive input even though -y is set. I ovvure this on two servers from time to time.
apt-get has a near equivalent to safe-upgrade. apt-get upgrade is even more safe to be serious.
I suggest changing the code to execute
exec("apt-get update"); exec("apt-get upgrade -y");
If you like this idea I will change and do a merge request