Update all Linux packages. Don't look back.
- This assumes you are using the preinstalled Bash shell under Ubuntu.
As root:
bash <(wget -qO- https://gist.githubusercontent.com/Bengt/e545f797474c6aca4e0d571bb3ea2a4c/raw/update-ubuntu-root-script.sh)
As user:
bash <(wget -qO- https://gist.githubusercontent.com/Bengt/e545f797474c6aca4e0d571bb3ea2a4c/raw/update-ubuntu-user-script.sh)
source <(wget -qO- https://gist.githubusercontent.com/Bengt/e545f797474c6aca4e0d571bb3ea2a4c/raw/update-ubuntu-user.sh)
wget -qO- https://gist.githubusercontent.com/Bengt/e545f797474c6aca4e0d571bb3ea2a4c/raw/update-ubuntu-user.sh >> ~/.bashrc
sudo wget -q https://gist.githubusercontent.com/Bengt/e545f797474c6aca4e0d571bb3ea2a4c/raw/update-ubuntu-root-script.sh -O /usr/local/sbin/update && \
sudo chmod +x /usr/local/sbin/update
update
echo "0 8,20 * * * root /usr/local/sbin/update # Update at 8:00 and 20:00" | sudo tee -a /etc/crontab