Created
March 17, 2019 17:29
-
-
Save Kautenja/c8d0589c94441eaa4b0e683baf8bd643 to your computer and use it in GitHub Desktop.
a script to upgrade packages on Debian systems one at a time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for package in $(apt list --upgradable | cut -d "/" -f1); do | |
sudo apt-get install --only-upgrade -y $package; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script is useful if
sudo apt-get upgrade
fails for whatever reason.