Last active
September 2, 2021 14:44
-
-
Save woile/672e663b1e1bac3a4687 to your computer and use it in GitHub Desktop.
Shell command to correctly update system
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
| #!/bin/bash | |
| sudo apt -y autoremove && | |
| sudo apt install -y --fix-broken && | |
| sudo apt update && | |
| sudo apt -y upgrade -f && | |
| sudo apt -y dist-upgrade -f && | |
| sudo apt install -y --fix-broken && | |
| sudo dpkg --configure -a && | |
| sudo apt -y autoremove -f && | |
| sudo aptitude purge -y '~c' && | |
| echo -e '\e[1;32m=[[ system upgrade complete ]]=\033[00m' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment