Save this update script in your homedir to easily maintain and cleanup your Ubuntu packages using apt-get. The process is wrapped in a screen session so it continues and can still be accessed when your connection is dropped.
update -y to skip all prompts.
2016-01-27 – Wrap process in screen session
2014-10-07 – Added &&’s to only continue if the previous command succeeded