Last active
June 25, 2019 10:43
-
-
Save EdoardoVignati/70820ed7308189424f8b82f5c191ce23 to your computer and use it in GitHub Desktop.
Update debian based distributions with apt
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
########################## | |
# Upgrade to LTS version # | |
########################## | |
sudo apt-get clean | |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
sudo do-release-upgrade | |
sudo apt-get autoremove -y | |
################################ | |
# Upgrade to a NON LTS version # | |
################################ | |
sudo vim /etc/update-manager/release-upgrades | |
# Edit in this way: | |
Prompt=normal | |
# Save and quit. | |
# Upgrade the distributuion with the following commands | |
sudo apt-get clean | |
sudo apt-get update | |
sudo apt-get dist-upgrade -y | |
sudo do-release-upgrade | |
sudo apt-get autoremove -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment