Ungrade Ubuntu 18.04(Bionic Beaver) to 20.04 (Focal Fossa) on linux deploy

update source.list

Update /etc/apt/sources.list, add following lines:

deb http://ports.ubuntu.com/ bionic-updates main restricted multiverse universe
deb-src http://ports.ubuntu.com/ bionic-updates main restricted multiverse universe

run update

install ubuntu-release-upgrader-core

sudo apt update & apt upgrade & apt install ubuntu-release-upgrader-core

update with do-release-upgrade

sudo do-release-upgrade

Tags

  1. #linux
  2. #ubuntu
  3. #android
  4. #linux-deploy