I have been trying to upgrading my Ubuntu server from the following :
Distributor ID: Ubuntu Description: Ubuntu 16.04.7 LTS Release: 16.04 Codename: xenial to Ubuntu 18.04 LTS. I have updated the system
$ sudo apt update && sudo apt upgrade Get:1 xenial InRelease [247 kB] Get:2 xenial-updates InRelease [109 kB] Get:3 xenial-backports InRelease [107 kB] Get:4 xenial/main amd64 Packages [1,201 kB] Get:5 xenial/main i386 Packages [1,196 kB] Hit:6 xenial InRelease Get:7 xenial/main Translation-en [568 kB] Get:8 xenial/restricted amd64 Packages [8,344 B] Fetched 29.9 MB in 7s (4,183 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. $ sudo do-release-upgrade Checking for a new Ubuntu release No new release found. You have new mail in /var/mail/root $ sudo do-release-upgrade -d Checking for a new Ubuntu release Upgrades to the development release are only available from the latest supported release. Am I missing something?
22 Answers
The regualr way to upgrade
To upgrade from lts to lts, edit your /etc/update-manager/release-upgrades with the following line:
Prompt=lts Then run:
sudo do-release-upgrade See: Upgrade policy
The Debian way of upgrading:
sudo sed -i.ORIG 's/xenial/bionic/g' /etc/apt/sources.list sudo mv /etc/apt/sources.list.d/ /etc/apt/ sudo mkdir /etc/apt/sources.list.d/ sudo aptitude update sudo aptitude safe-upgrade sudo aptitude full-upgrade Upgrading from Ubuntu 16.04 LTS or 17.10
Thank you everyone for the assist.
Problem was in :
/etc/update-manager/meta-release # There was a couple lines for some monitoring software removed them and saved and worked perfectly :)
command that assisted , cant remember where i saw it but thank you
export DEBUG_UPDATE_MANGER=true
Hope this helps anyone else that has this problem