Upgrade ubuntu version from 1804 to 2004

sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get autoclean
sudo do-release-upgrade -d

执行最后一条命令如果不加选项 -d, 则不会找到最新版的镜像。