Created
March 21, 2017 02:12
-
-
Save malderete/8e33eb022affd98c272db030c2d0a8b4 to your computer and use it in GitHub Desktop.
Bash script to full upgrade a Debian system
This file contains 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
#!/bin/bash | |
sudo apt-get -f install && | |
sudo apt-get update && | |
sudo apt-get check && | |
sudo apt-get upgrade -f -y && | |
sudo apt-get dist-upgrade -f -y -q && | |
sudo dpkg --configure -a && | |
sudo apt-get autoclean && | |
sudo apt-get autoremove -f && | |
#sudo aptitude purge '~c' && | |
echo -e "\033[1;32m[[ system upgrade complete ]]\033[1m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment