WEBVTT Kind: captions Language: en 00:00:00.520 --> 00:00:06.800 Hello, dear viewers on the dark side of the force. Today I want to show you 00:00:06.800 --> 00:00:15.200 how to update your Ubuntu LTS version to the new LTS version. As 00:00:15.200 --> 00:00:23.360 you may know, the new LTS version 24.04 was released today, exactly today 00:00:23.360 --> 00:00:29.400 . Canonical releases so-called LTS versions, which stands for Long-Term Support versions, 00:00:29.400 --> 00:00:35.480 meaning they have long-term support. Canonical releases them every two years. And now 00:00:35.480 --> 00:00:41.120 it's that time again, because the new version is always released in April. The last one 00:00:41.120 --> 00:00:45.000 was 22.04, and the current LTS version is 24.04. The next one will be 26.04. In this video, 00:00:51.560 --> 00:00:45.000 I want to show you how to update your existing LTS version, 22.04 in this case, 00:00:58.440 --> 00:00:45.000 to the new LTS version, 24.04. The principles 00:01:04.240 --> 00:00:45.000 are always similar, though. This means you can use this video again when switching 00:01:08.000 --> 00:00:45.000 from 24.04 to 26.04. First of all, I want to show you 00:01:15.800 --> 00:00:45.000 where else you can download the new version. Because we'll also be taking a look 00:01:21.840 --> 00:00:45.000 at the new installer for the new version of Noble Numbat at the same time. 00:01:29.920 --> 00:00:45.000 You can download the current desktop image here at https://releases.ubuntu.com/24.04/. I 00:01:40.360 --> 00:00:45.000 've prepared a VM for you. It's currently running Ubuntu LTS, which 00:01:49.440 --> 00:00:45.000 needs to be updated to version 22.04. First of all, I recommend that you 00:01:57.520 --> 00:00:45.000 always run the installation in a tty. Because it's possible that parts of the desktop will be replaced during installation, 00:02:04.760 --> 00:00:45.000 or, for example, the NetworkManager, which is responsible for the network connection 00:02:09.920 --> 00:00:45.000 . And if there are any crashes or interruptions, the installation may 00:02:15.760 --> 00:00:45.000 freeze, and you'll have to correct this manually. Ubuntu has been reacting 00:02:22.520 --> 00:00:45.000 a little differently for some time now. They try not 00:02:28.000 --> 00:00:45.000 to make errors visible to the end user in the first place, instead simply displaying this so-called Sad Mac, a sad 00:02:33.640 --> 00:00:45.000 little computer screen where you can't do anything, and then you can't even 00:02:37.760 --> 00:00:45.000 switch to the tty. That's a real shame. It's not a practical 00:02:42.560 --> 00:00:45.000 solution at all. They want to make things easier for the user, but unfortunately they achieve the opposite. So 00:02:48.920 --> 00:00:45.000 update in the tty. If you want to be absolutely sure, install 'screen'. 00:02:54.640 --> 00:00:45.000 You can do that; with 'screen' you can open a virtual terminal again. 00:02:59.080 --> 00:00:45.000 I'll show you how to do that first. To do that, type 00:03:04.080 --> 00:00:45.000 'sudo apt install screen' in a console. 'screen', which is a very small application, will 00:03:12.480 --> 00:00:45.000 now be installed. It's already there. Now we want 00:03:18.080 --> 00:00:45.000 to switch to the tty. You can do that quite easily with 'sudo systemctl isolate multi-user.target'. 00:03:32.040 --> 00:00:45.000 That used to be runlevel 3. Now we simply switch to the multi-user target. 00:03:39.000 --> 00:00:45.000 The system will now switch from the graphical interface to the tty and there you can 00:03:45.080 --> 00:00:45.000 log in again as usual with your user. My user is now called 00:03:49.440 --> 00:00:45.000 'ubuntu' with my corresponding password. We previously 00:03:55.320 --> 00:00:45.000 installed the application 'screen'. We can now simply start it. 'screen' and now 00:04:00.880 --> 00:00:45.000 it opens the virtual terminal here, so to speak. I simply press Enter here and I'm 00:04:06.640 --> 00:00:45.000 already in the screen. I can now exit again with 'exit' and am back on my 00:04:11.880 --> 00:00:45.000 normal console. It has now ended the screen session. Now I'll do another 'screen', 00:04:18.280 --> 00:00:45.000 enter, and then I won't say, but I'll do another 'ls' here. I 00:04:22.920 --> 00:00:45.000 won't say 'exit', but I'll say 'Ctrl' or 'Strg', hold the key down, and then 00:04:28.680 --> 00:00:45.000 simultaneously press 'A' and then 'D'. Now it says it has detached the screen, meaning it has 00:04:35.160 --> 00:00:45.000 now separated itself from this screen. It continues to run in the background, and everything that's 00:04:40.600 --> 00:00:45.000 running in it will continue to run. So if I were to run 'top', for example, 00:04:46.560 --> 00:00:45.000 to display the system load, it would continue to run in the background. We can 00:04:51.360 --> 00:00:45.000 look at that again. I can reconnect now with 'screen -r'. Now I'm back in, and you 00:04:57.600 --> 00:00:45.000 Look, I'm back exactly where I was. I type 'top'. 'Ctrl + A + D', 00:05:02.560 --> 00:00:45.000 I say 'ls' here, I'm off the screen. Now I say 'screen -r', 00:05:07.520 --> 00:00:45.000 I'm reconnected, and I see 'top' running in the background. I'll stop that now, 00:05:12.520 --> 00:00:45.000 because we want to run the actual update now. Ubuntu has a 00:05:16.960 --> 00:00:45.000 command for updating the system. It's called 'do-release-upgrade'. I can run it with 00:05:23.320 --> 00:00:45.000 'sudo do-release-upgrade'. Now it says there's no new version yet, 00:05:33.000 --> 00:00:45.000 even though the new version is already there. So you can download the ISOs. 00:05:38.000 --> 00:00:45.000 But it always takes a few days until they're available everywhere. I can 00:05:43.440 --> 00:00:45.000 force this here with 'do-release-upgrade -d', and then it will run the update anyway 00:05:52.760 --> 00:00:45.000 . Please remember, you have to confirm this again with 'Y'. 00:06:00.640 --> 00:00:45.000 The actual installation works like this: it changes the 00:06:05.080 --> 00:00:45.000 sources.list '/etc/apt/sources.list' and enters the new version there, from 'jammy', which is 00:06:11.360 --> 00:00:45.000 the previous version 22.04, to 'noble', which is the new version 24.04. Ubuntu has 00:06:19.000 --> 00:00:45.000 also been using Snap packages in the background for some time now. This means 00:06:23.600 --> 00:00:45.000 it also checks that they are updated accordingly. And it does 00:06:28.680 --> 00:00:45.000 all of this automatically for you. But please bear in mind, this can take some time. 00:06:34.120 --> 00:00:45.000 The installation takes a while; it took me one to two hours. So 00:06:39.520 --> 00:00:45.000 make sure you allow yourself enough time, because if you abandon it halfway through or 00:06:44.280 --> 00:00:45.000 have to jump into it all at once because you have to catch a train or go to work or school, that's 00:06:48.760 --> 00:00:45.000 a pain. So don't do it. Take your time. Let it run in the background. You can 00:06:53.120 --> 00:00:45.000 also do something else at the same time. Listen to a podcast or watch my other YouTube videos. 00:06:58.360 --> 00:00:45.000 I'll say 'Yes' now. It tells me exactly what's being done here and the 00:07:03.720 --> 00:00:45.000 actual update is already being triggered in the background. It's now trying to download everything, of course 00:07:08.920 --> 00:00:45.000 . That's taking its time. We can now 00:07:14.080 --> 00:00:45.000 take a closer look at the new system here. We've already 00:07:22.200 --> 00:00:45.000 started the new version of Ubuntu on a new virtual machine in live mode, and this 00:07:28.560 --> 00:00:45.000 is how the system greets you. You can see that the installer has changed a bit compared to the previous version. 00:07:34.600 --> 00:00:45.000 This primarily affects the appearance of the installer, but also the menu navigation. It's now 00:07:40.000 --> 00:00:45.000 much simpler and more accessible. You can select the language right here at the beginning 00:07:44.280 --> 00:00:45.000 . Click 'Next' and you'll have the option 00:07:49.360 --> 00:00:45.000 to adjust some accessibility settings. You've always been able to do that up here using this 00:07:53.760 --> 00:00:45.000 icon, and I could now set 'Large Text', for example, so you'll see everything better. 00:07:59.840 --> 00:00:45.000 So you can really adjust it to your needs here 00:08:03.880 --> 00:00:45.000 if you need support. I'll say 'Continue' now and you can 00:08:08.920 --> 00:00:45.000 define the keyboard here. I actually have a German keyboard layout here. 00:08:14.760 --> 00:00:45.000 You could also look for the appropriate keyboard layout, for example, for Switzerland, and then 00:08:20.720 --> 00:00:45.000 select it here. As usual, there's an input field down here. I always 00:08:25.880 --> 00:00:45.000 like to test it there, preferably with umlauts, because then I see 'ä' 'ö', and then I can see immediately 00:08:31.360 --> 00:00:45.000 whether it worked. I'll say 'Next' here. Now I could 00:08:38.560 --> 00:00:45.000 connect the computer to the Internet. This is now a virtual machine. That 00:08:43.280 --> 00:00:45.000 means it's already connected to the Internet. If you had Wi-Fi, 00:08:47.880 --> 00:00:45.000 you could establish a Wi-Fi connection here, and I recommend that, because then you can 00:08:52.320 --> 00:00:45.000 really equip the installation with additional packages from the Internet. I'll say 'Next' here. 00:08:58.280 --> 00:00:45.000 Now it asks me at this point—it used to come up right at the beginning—whether I 00:09:03.080 --> 00:00:45.000 want to install Ubuntu or try it out. They deliberately moved that a bit further back. 00:09:08.720 --> 00:00:45.000 Because now I've correctly configured the keyboard, set the language correctly, and 00:09:13.280 --> 00:00:45.000 possibly already have an internet connection. So, even if I just 00:09:17.000 --> 00:00:45.000 want to try out the system, I can actually do something with it. Of course, if you don't need it, you can 00:09:21.520 --> 00:00:45.000 just close this installation program at any time. Then it will simply default 00:09:26.480 --> 00:00:45.000 to English, and you'll have to establish the internet connection manually. I'm now going to select 00:09:32.560 --> 00:00:45.000 'Install Ubuntu' because we want to watch the installation, and 00:09:37.720 --> 00:00:45.000 something new has been added here: the choice of whether I want to perform an interactive installation ( 00:09:42.640 --> 00:00:45.000 interactive meaning the system asks me questions) or an automated installation 00:09:48.320 --> 00:00:45.000 . For an automated installation, however, I need what's called an autoinstall.yaml 00:09:55.240 --> 00:00:45.000 script, or a definition file. A yaml definition file that specifies 00:10:00.840 --> 00:00:45.000 what the system should look like. With this autoinstall.yaml, I would also have the option of 00:10:06.320 --> 00:00:45.000 installing systems the same way again and again. So, I would generate an autoinstall file like this once 00:10:10.840 --> 00:00:45.000 and could then use it again and again. But I'll say 'Interactive Installation' here 00:10:16.240 --> 00:00:45.000 . Now there's another new point: I'm asked 00:10:22.000 --> 00:00:45.000 whether I want to perform a standard installation. Only the bare essentials are 00:10:26.680 --> 00:00:45.000 installed, namely a web browser – in this case Firefox, which has been running 00:10:30.960 --> 00:00:45.000 in Snap format for some time now, the popular Ubuntu format – or a 00:10:37.480 --> 00:00:45.000 full installation. 'Full' doesn't exactly mean everything, of course. 00:10:42.000 --> 00:00:45.000 It includes an Office program, utilities, and a few 00:10:48.120 --> 00:00:45.000 games. Games are no longer installed in the standard installation. I'll say 00:10:51.800 --> 00:00:45.000 'Next' here. Now, as usual, I'm asked whether I 00:10:57.600 --> 00:00:45.000 want to install proprietary graphics card or Wi-Fi drivers, for example. I'll say 'Yes' here. I recommend 00:11:02.440 --> 00:00:45.000 that, because then your hardware will be optimally supported. Here you can also choose 00:11:07.920 --> 00:00:45.000 whether you want to play additional media formats. The 00:11:13.680 --> 00:00:45.000 necessary codecs will then be installed as well. I choose 'Yes' here too. Now it will 00:11:21.120 --> 00:00:45.000 ask more questions here. I say it's messing around a bit here, and now I can say 00:11:26.360 --> 00:00:45.000 what I want to do. I've had Ubuntu on here before. I say 00:11:30.440 --> 00:00:45.000 'Delete' 'Reinstall' and can now set up my account here. I say 00:11:35.160 --> 00:00:45.000 my name, which I'll call 'Ubuntu', I'll say 'ubuntu-noble'. Username, 00:11:46.200 --> 00:00:45.000 as usual, always in lowercase 'ubuntu'. I can now enter a password here. I have to 00:11:55.360 --> 00:00:45.000 repeat this again below and here I can choose, as usual, whether 00:12:00.280 --> 00:00:45.000 or not I want to be asked for my password to log in. I say 'Next' here. 00:12:05.920 --> 00:00:45.000 My time zone will now be set automatically. It recognizes this based on the internet connection; 00:12:10.520 --> 00:00:45.000 it recognizes my IP address and can therefore assign my location and then automatically sets 00:12:16.640 --> 00:00:45.000 the time zone here. If you didn't have an internet connection during installation, 00:12:21.360 --> 00:00:45.000 you would have to select it manually up here. I say 'Next' here. At the 00:12:28.080 --> 00:00:45.000 end it will ask me again if everything is OK. I'll check that again here 00:12:32.720 --> 00:00:45.000 and then I can start the actual installation. To do this, I click on 00:12:37.680 --> 00:00:45.000 'Install' and the installation is already running in the background and 00:12:41.880 --> 00:00:45.000 I can use the little icon to see what's happening. At the same time, we'll take 00:12:49.960 --> 00:00:45.000 another look at our update, which is running in the background on the second system, to see what 00:12:55.760 --> 00:00:45.000 's going on. It asks me something: 'Upgrade to the Thunderbird Snap'. What's that 00:13:01.440 --> 00:00:45.000 all about? 'Starting in 24.04, all new versions of the Thunderbird are only available as Snap 00:13:09.520 --> 00:00:45.000 package. This package update will transition the system over to Snap by installing it. 00:13:15.474 --> 00:00:45.000 It is recommended to close all open Thunderbird windows before proceeding the upgrade'. So 00:13:20.400 --> 00:00:45.000 it is now changing the Thunderbird application to the new Snap format, so it's 00:13:26.200 --> 00:00:45.000 not really that new anymore. But now more and more applications are being converted to this Snap format and now 00:13:32.080 --> 00:00:45.000 it's telling me again that I should close Thunderbird. We did that, of course, because we 00:13:36.280 --> 00:00:45.000 're updating here in the tty to be on the safe side, as I recommended to you at the beginning 00:13:42.720 --> 00:00:45.000 . And it is now actually changing the Thunderbird package format from the 00:13:48.440 --> 00:00:45.000 classic .deb packages that you usually find on a Debian-based system, like Ubuntu 00:13:53.720 --> 00:00:45.000 , to the new Snap format during installation. It does all of this 00:13:59.880 --> 00:00:45.000 automatically for you. You don't need to worry about it at all. Once everything 00:14:04.480 --> 00:00:45.000 has run through, your system should restart and then it should look exactly 00:14:09.680 --> 00:00:45.000 like the system that I presented earlier on the other virtual machine 00:14:14.760 --> 00:00:45.000 . So really give it a try, take your time, and if you encounter any errors 00:14:21.240 --> 00:00:45.000 , please let us know in the comments or, better yet, in the 00:14:26.280 --> 00:00:45.000 Telegram community. We'll be happy to help you quickly. There are lots of 00:14:33.160 --> 00:00:45.000 people in our community who are very familiar with Linux, and there's sure to be someone there 00:14:38.080 --> 00:00:45.000 who has had this problem before or knows how to solve it. I wish you 00:14:43.360 --> 00:00:45.000 the best of luck with your update or reinstallation of the new 00:14:47.080 --> 00:00:45.000 Ubuntu. Give it a try. I'm looking forward to your feedback on whether you like the new 00:14:51.880 --> 00:00:45.000 Ubuntu. I think it's very well done. I think it just seems well-rounded and very stable 00:14:57.680 --> 00:00:45.000 so far - of course, I can only judge that more precisely over time. Please bear in mind that 00:15:03.880 --> 00:00:45.000 if you have 3rd party repositories active, problems are always going to arise. So 00:15:10.920 --> 00:00:45.000 really try to get by without 3rd party repositories on your system. No PPAs or 00:15:17.080 --> 00:00:45.000 anything like that. That always causes problems. Use this new Snap format. If that's not available, 00:15:22.520 --> 00:00:45.000 you can also use Flatpack. Flatpack is more of a Fedora and Red Hat 00:15:27.520 --> 00:00:45.000 environment and is very popular. It works in a similar way to Snap. Not quite the same, but 00:15:32.400 --> 00:00:45.000 it also offers a huge number of applications, which you can find on the FlatHub website 00:15:37.600 --> 00:00:45.000 flathub.org, and you can also install additional apps there. Use these two 00:15:44.720 --> 00:00:45.000 solutions, Snap and Flatpack, and then you'll be secure when updating your system and 00:15:50.600 --> 00:00:45.000 won't have any problems when you do a dist-upgrade - which is actually called a dist-upgrade, 00:15:54.400 --> 00:00:45.000 which is what we're doing here - or a full-upgrade. Because if you use 3rd-party repos, 00:15:59.920 --> 00:00:45.000 there are always problems. So don't do it. Use Snaps and Flatpack and then 00:16:05.360 --> 00:00:45.000 the distribution update will work too. See you soon and bye.