Skip to content

Instantly share code, notes, and snippets.

@mslinn
Last active July 15, 2021 19:33
Show Gist options
  • Save mslinn/d1a365341de9c95fcf005b3a3d0e3f94 to your computer and use it in GitHub Desktop.
Save mslinn/d1a365341de9c95fcf005b3a3d0e3f94 to your computer and use it in GitHub Desktop.
Upgrade Ubuntu from groovy to hirsute
# See https://help.ubuntu.com/community/HirsuteUpgrades
sudo apt install update-manager-core update-manager
sudo cp /etc/apt/sources.list{,.groovy}
sudo sed -i 's/groovy/hirsute/g' /etc/apt/sources.list
sudo perl -pi -e 's/^Prompt=.*/Prompt=normal/' /etc/update-manager/release-upgrades
sudo RELEASE_UPGRADER_ALLOW_THIRD_PARTY=1 do-release-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment