Skip to content

Instantly share code, notes, and snippets.

@abhinavkorpal
Created October 10, 2017 09:15
Show Gist options
  • Save abhinavkorpal/182714378dbfd86b24d91a35f8304771 to your computer and use it in GitHub Desktop.
Save abhinavkorpal/182714378dbfd86b24d91a35f8304771 to your computer and use it in GitHub Desktop.
Shell Script for Upgrade Ubuntu via APT in one step
sudo apt-get update -o Dir::Etc::SourceList=/etc/apt/security.sources.list
sudo apt-get upgrade -o Dir::Etc::SourceList=/etc/apt/security.sources.list
sudo apt-get autoremove
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment