Is there a command that will install all updates with no output at all except for errors? The use case is systems which automatically update themselves by running a suitable command as a cronjob and those who maintain the systems them only get an email about it if something goes wrong.
I thought
Code:
apt-get -qq -y dist-upgrade && reboot
would do it, but even though that appears to be maximum quiet it still emits a lot of information. I've been doing this for years on CentOS with
Code:
yum -y -e 0 -d 0 update && reboot
but can't work out a Ubuntu version of that.
Bookmarks