How do I upgrade Ubuntu version 21.04 to version 22.04

I want to upgrade versions.

3 Replies

There are two options for upgrading distro versions, the Clean Install method or the Inline method. This guide explains the difference and provide instructions on how to to both:

With the Inline upgrade option, you'd need to upgrade to 21.10 first before upgrading to 22.04 because it's not an option to skip versions.

If you run into any issues with that process, feel free to follow up with any specific errors or steps that aren't working. Someone may be able to provide help if you get stuck.

@CassandraD Thank you. That helped a lot. So I gather one runs 'sudo do-release-upgrade' to get to the subsequent version.

Hi, when i tried to upgrade from 21.04 using the inline method, it return that
"E: The repository ' impish-security Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default"

Is the Clean install method the only way to upgrade?


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct