Ubuntu Update Script

# automatic update script for ubuntu servers
# By John R. Beckett, johnreabeckett@gmail.com
# Recommended crontab entry for root user to update weekly:
# 6 5 * * 0 /bin/bash /u/standard/linuxupdate_ubuntu >/dev/null 2>&1
# This prevents "TERM is not set, so the dialog frontend is not usable." error
dpkg --configure -a
aptitude update -y
apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade -y
aptitude autoclean -y
apt-get autoremove -y
shutdown -r now

Scripts/UpdateScript (last edited 2016-01-24 19:48:42 by scot)