Update comparison

No comparison. APT (the Advanced Packaging Tool) beats Windows Update by a million to one. I had hoped that Windows Seven would improve things, but no such luck.

APT: You run this script, once, in the background and it does everything.

sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get clean

Windows Update: You run this program—


—then click on some things, then it downloads and installs, then it asks you to reboot. Then while it shuts down it does things, then while it boots up it does things, then you have to repeat the same process THREE TIMES to get all the updates!

Also, here's my full script:

# ${HOME}/bin/agu -- "Apt, Get Updates"
# Written by Hal Canary
# Dedicated to the public domain.
# You may want to add the following lines to the /etc/sudoers file:
##  %admin ALL=NOPASSWD: /usr/bin/nice /usr/bin/apt-get --yes update
##  %admin ALL=NOPASSWD: /usr/bin/nice /usr/bin/apt-get --yes dist-upgrade
##  %admin ALL=NOPASSWD: /usr/bin/nice /usr/bin/apt-get autoremove
##  %admin ALL=NOPASSWD: /usr/bin/nice /usr/bin/apt-get clean
##  %admin ALL=NOPASSWD: /usr/bin/nice /usr/bin/dpkg --configure --pending
echo "Running apt-get update, dist-upgrade, autoremove, clean"
echo ""
sudo /usr/bin/nice /usr/bin/apt-get --yes update && \
sudo /usr/bin/nice /usr/bin/apt-get --yes dist-upgrade
sudo /usr/bin/nice /usr/bin/apt-get autoremove
sudo /usr/bin/nice /usr/bin/apt-get clean
sudo /usr/bin/nice /usr/bin/dpkg --configure --pending