Trying to update 20.04 LTS to 22.04 LTS

Keith keith at caramail.com
Fri Apr 22 15:35:38 UTC 2022


On 4/22/22 9:49 AM, Jerry Geis wrote:
> I have another machine I am trying to update from 20.04 to 22.04 LTS
> These are my files:
> 
> more /etc/update-manager/release-upgrades
> [DEFAULT]
> # Default prompting and upgrade behavior, valid options:
> #
> #  never  - Never check for, or allow upgrading to, a new release.
> #  normal - Check to see if a new release is available.  If more than 
> one new
> #           release is found, the release upgrader will attempt to 
> upgrade to
> #           the supported release that immediately succeeds the
> #           currently-running release.
> #  lts    - Check to see if a new LTS release is available.  The upgrader
> #           will attempt to upgrade to the first LTS release available after
> #           the currently-running one.  Note that if this option is used and
> #           the currently-running release is not itself an LTS release the
> #           upgrader will assume prompt was meant to be normal.
> Prompt=lts
> 
> 
> 
> root at silentm-ThinkPad-W530:~# more /etc/os-release
> NAME="Ubuntu"
> VERSION="20.04.4 LTS (Focal Fossa)"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 20.04.4 LTS"
> VERSION_ID="20.04"
> HOME_URL="https://www.ubuntu.com/ <https://www.ubuntu.com/>"
> SUPPORT_URL="https://help.ubuntu.com/ <https://help.ubuntu.com/>"
> BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/ 
> <https://bugs.launchpad.net/ubuntu/>"
> PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy 
> <https://www.ubuntu.com/legal/terms-and-policies/privacy-policy>"
> VERSION_CODENAME=focal
> UBUNTU_CODENAME=focal
> 
> 
> 
> root at silentm-ThinkPad-W530:~# do-release-upgrade
> Checking for a new Ubuntu release
> There is no development version of an LTS available.
> To upgrade to the latest non-LTS development release
> set Prompt=normal in /etc/update-manager/release-upgrades.
> 
> 
> 
> So it seems i am set for LTS upgrades ....
> I am 20.04 LTS fully updated....
> I do he do-release-upgrade and it is saying "no"
> 
> Why ?
> 
> Jerry
> 

Current 20.04 LTS users won't get a prompt to upgrade until the first 
point release (22.04.1) due at the beginning of August. You need to 
specify the "-d" option to do an upgrade to Jammy now.

$ sudo do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,261 kB]
Fetched 1,262 kB in 0s (0 B/s)
authenticate 'jammy.tar.gz' against 'jammy.tar.gz.gpg'
extracting 'jammy.tar.gz'

..etc

-- 
Keith






More information about the ubuntu-users mailing list