sudo do-release-upgrade

Bug #1981939 reported by Nathan RIDET
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Hello,

Distributor ID: Ubuntu
Description: Ubuntu 21.04
Release: 21.04
Codename: hirsute

By using the command "sudo do-release-upgrade" i was expecting my server upgrading from Ubuntu 21.04 (Hirsute) to 22.04 (Jammy Jellyfish), but the following error shew up :

" Reading cache

Checking package manager

Can not upgrade

An upgrade from 'hirsute' to 'jammy' is not supported with this tool.
=== Command detached from window (Sun Jul 17 20:12:08 2022) === "

Cordially,
Nathan

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: linux-image-5.11.0-49-generic 5.11.0-49.55
ProcVersionSignature: Ubuntu 5.11.0-49.55-generic 5.11.22
Uname: Linux 5.11.0-49-generic x86_64
AlsaDevices:
 total 0
 crw-rw---- 1 root audio 116, 1 Jul 17 19:24 seq
 crw-rw---- 1 root audio 116, 33 Jul 17 19:24 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.20.11-0ubuntu65.4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
CasperMD5CheckResult: unknown
Date: Sun Jul 17 20:10:28 2022
Ec2AMI: ami-0002e2be
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: vps2020-comfort-4-16-80
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb:
 Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Lsusb-t:
 /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
     |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
MachineType: OpenStack Foundation OpenStack Nova
PciMultimedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-49-generic root=UUID=570c046d-9998-4858-8aaa-786b6dc160bc ro console=tty1 console=ttyS0
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-49-generic N/A
 linux-backports-modules-5.11.0-49-generic N/A
 linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: Upgraded to hirsute on 2022-07-17 (0 days ago)
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 2:1.10.2-58953eb7
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.version: pc-i440fx-focal
dmi.modalias: dmi:bvnSeaBIOS:bvr21.10.2-58953eb7:bd04/01/2014:br0.0:svnOpenStackFoundation:pnOpenStackNova:pvr19.0.4:sku:cvnQEMU:ct1:cvrpc-i440fx-focal:
dmi.product.family: Virtual Machine
dmi.product.name: OpenStack Nova
dmi.product.version: 19.0.4
dmi.sys.vendor: OpenStack Foundation

Revision history for this message
Nathan RIDET (obseline) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for reporting this bug to Ubuntu.

Ubuntu 21.10 (impish) reached end-of-life on July 14, 2022.
Ubuntu 21.04 (hirsute) reached end-of-life on January 20, 2022.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

Ubuntu 21.04 was not a LTS release; had one supported & quality-assurance tested upgrade path; to Ubuntu 21.10 or the next release; which closed the moment Ubuntu 21.10 reached EOL.

The upgrade path you're trying to use is not supported.

Use a LTS or long-term-support release if you don't wish to release-upgrade every 6-9 months. Ubuntu 21.04 told you it was the 2021-April release (ie. a year.month format is used with 2000 added to year) meaning the 9 months supported life is pretty easy to calculate & thus plan. If using a LTS release you have had 2-5 years and not 6-9 months which is generally better for most users (eg. 20.04 LTS or the 2020-April release has support until 2025-April for standard support; which can be extended via use of ESM too)

Changed in linux (Ubuntu):
status: Confirmed → Invalid
affects: linux (Ubuntu) → ubuntu-release-upgrader (Ubuntu)
Revision history for this message
Rob Thomas (xrobau) wrote :

The fix for upgrading 21.04 to 21.10 (which does not work) is in https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1982055

Simply change the 'continue' to 'pass' on line 332 of /usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py which will allow the machine to upgrade, instead of being blocked forever.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.