OPERATING SYSTEMSOS Linux

Upgrade Ubuntu Server 20.04 to 22.04

In this vid we upgrade Ubuntu Server 20.04 to 22.04 on my netbook files server.

WARNING! Do this at your own risk. This is a quick and dirty method and you need to backup up completely before attempting yourself.

UPGRADE TO UBUNTU 22.04 FROM COMMAND LINE

1. Check current release:

uname -r

cat /etc/lsb-release

2. Update Your System:

sudo apt update && sudo apt dist-upgrade

3. Remove orphaned packages no longer needed:

sudo apt autoremove

4. Reboot system:

sudo reboot

5. Upgrade To Ubuntu 22.04:

sudo apt install update-manager-core

sudo do-release-upgrade -d

(The -d flag is only necessary before official release.)

Configure libc6 service to restart when required.

Select local ssh config when promoted.

6. Reboot system and check status:

uname -r

cat /etc/lsb-release

Get bash scripts and wallpaper files at: https://www.ezeelinux.com/

Listen to me on the radio Monday through Friday 7p to Midnight (US EST): https://www.b999fm.com/

source

ubuntu

37 thoughts on “Upgrade Ubuntu Server 20.04 to 22.04

  • The reason that rsa standard of ssh key verification was discontinued was do to security issues surrounding the fact that rsa keys are more likely to be subjected to people with computers that have significantly more computing power being able to crack the rsa algorithm this was also the same issues that plagued early WiFi encryption standards like WiFi Protected access or the first generation of wireless protected setup etc.

  • Hey Joe, I know I speak for a lot of people when I say it's great to have you back. Please believe me when. I say this is truly constructive criticism – you are simply out of practice. I've done amateur stand-up comedy, I know what it's like to tell jokes to a crowd that isn't laughing and I know what it's like to practice in an empty room. I don't think it's so different from what you do. Please pay no mind to the haters, they're the same people who heckle comics. There's a lot of love for you out there. Hell, I owe you a debt that you don't even understand. Much love, Joe.

  • Thank you Teacher, I m totally new to Linux
    Trying to install Ubuntu 22.04 but fail on virtual box so I installed 20.04
    U r great …u always put it on description..
    So I can start to learn from zero

  • Joe, thank you. I have learned so much because of the time you give to make these videos and teach.

  • Okay have to say this is one of your worst video you have made.

    The reason you had those packages to remove were because you told the dist-upgrade to not remove the old packages

    Also best practice of what I have learned is when ever you upgrade over ssh then run it within a screen or tmux session on the machine you are upgrading because if you get disconnected then it will continue in the tmux/screen session so you are able to login and attach to the session again ( if you get disconnected ) to continue the upgrade

  • I think that A to Z idea is a great one. While I find all of you presentations interesting, the most benefit to me were the "how to" aspects.

  • The message "Set to manually installed" in fact proves you did not do this (on this server) before. The package was automatically installed before, as a dependency of some other package. If that other package would be removed, the current package would be autoremoved. Now that you issued an install command, the packages has been marked from "automatically installed" to "manually installed". This means it will never be autoremoved in the future.

  • What is the difference between 'apt clean' and 'apt autoclean'?

  • I did a similar upgrade of a laptop from Debian 10 to Debian 11 without an upgrade tool. It worked out rather, only broke a couple of things which were easily fixed. A few days ago I ran the bate of the Linus Mint upgrade to upgrade from LMDE 4 to LMDE 5 and it worked without a hitch.

  • Joe, good to know you are back with an excellent video. I miss your regular videos on Linux. A to Z Linux would be fantastic. Thank you.

  • Enjoyed you being back. Missed. The A-Z command explanation would be cool!

  • As to "commands from A to Z", I have been using Linux a LONG time….started my computing career in about 1958-1962 (IBM 650). However, I find that every time that I listen to an elementary tutorial on linux commands, I learn something new. There's just so much there!

  • Hi Joe,

    Thanks for posting a new video!

    I’m still using Linux as my daily-driver OS but have switched form Ubuntu to ArcoLinux as I wanted to have a system which is based on a rolling release model.

    Instead of being forced to do dist-upgrades when the release comes to end-of-life all I now do is update Arco regularly and its always running the latest version of the software which is often a much newer version than would be available on Ubuntu.

    Linux is Linux and apart from a few system-specific things most stuff just works as it does on any flavour of Linux.

    Additionally, I’ve now ditched the idea that I need to be running a new high-performance system and have bought a refurbished system from Amazon which is working well for me.

    I use a refurbished Dell Optiplex 3010 which has only 8GB RAM and for what I do nowadays that does all I need. At most I use 2GB of memory running Cinnamon and it all just works – granted I no-longer make use of virtualisation and so can forgo having a lot of RAM.

    Maybe you’d like to take a look at Arco as it has a slightly different feel about it than an Ubuntu-based distro but is still easy to install and is extremely customisable. In theory you don’t need to reinstall Arco because doing a standard update means you’re always running the latest software which could make it a good distro for new users?

    I’d love to see more content from you and would welcome a video series about useful commands on Linux. Don’t feel that your content isn’t of value because you’re not getting a lot of response you just need to tweak things a little and you’ll still attract the views. As you know how to produce good content you’ll have no trouble figuring out a new direction for the channel to go in.

    All the best and thanks once again for all you do!

    Neall

  • Joe greetings from Chiapas MEXICO

    I'm so but SOOOO GLAD to hear you again Joe and hope everything with the creepy guys it's sorted out.

    I heard that you no longer have air time only on Fridays and Saturdays but also Mondays and Thursdays on the radio, that's so cool. Cause I like to listen to you on the radio.

    Could you please make a video how you set your mic out on Linux? You are one of the few that really have a nice and clear crispy and so pleasant sound on your videos.

    As far as I know you use an Audiotechnica mic that your mother gave you as present right? Do you still use it?

    I want to set a mic on my machine to make videos and calls in Spanish, there's not a clear and understandable guide for Linux on the web, certainly not well explained as your videos.

    Hope everything in the family is going OK, keep rocking on the radio and again, greetings from CHIAPAS. Sorry for the bad grammar and stuff, 🙂

  • a to z sounds cool to me, thanks for the video 🙋‍♂️🖖🙋‍♂️

  • Yes, you left 86 packages that should have been removed when you replied n not Y.

  • Sneaker net… back in the days of the ARPAnet a comment was made, "Never underestimate the bandwidth of a stationwagon full of mag-tapes."

  • A-Z sounds like a great idea! I always learn a lot from your videos, Thanks for all the Linux content!

  • The A to Z presentations sounds like a winner to me.

    Thank you for all you do for Linux,

    John R

  • Hi Joe, good to see a new video from you. I was wondering if you'll be interested in doing an audio on Linux related video (or video series)… I mean, what gear you use to record, and the ins and outs of Pulse Audio, ALSA and Pipewire. Thanks again… and… have fun!

  • I like the sounds of the Linux commands list. I often learn from channels like yours of new useful commands I had never previously heard of. I recently found out about screen which I now use regularly. Also simple commands like 'du' which are so useful on the CLI but I didn't know existed. Maybe I should get a book on Linux… one day… 😉 Put me down as an affirmative for the A-Z list of Linux commands! Do you use Docker? Something I hope to learn about when I get some time.

  • How to Install DVWA Lab on Ubuntu 20.04 please make a video

Comments are closed.