Created
November 25, 2017 11:07
-
-
Save h4cc/1b0bc779bf2b1662a1bb8775bbc52469 to your computer and use it in GitHub Desktop.
Updating a Ubuntu LTS version to the next available. Used for Noez.de vServer with a broken locale setting, LOL.
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
# Updating a Ubuntu 14.04 LTS to 16.04 LTS | |
# by Julius Beckmann | |
# Prepare and Fix Locales. | |
apt-get update; apt-get install -y dialog language-pack-en-base language-pack-de-base; update-locale LANG=de_DE.UTF-8; dpkg-reconfigure locales; apt-get upgrade -y ; apt-get install -y update-manager-core | |
# Perform Dist Upgrade if presets ok | |
cat /etc/update-manager/release-upgrades | grep Prompt=lts && do-release-upgrade --check-dist-upgrade-only && do-release-upgrade -m server | |
# Answer questions, mostly with yes "y" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment