How to upgrade to Linux Mint 22

Releases and other announcements.
Please don't post support questions here
Forum rules
Section reserved for the team. You can reply to announcements here but not post new topics. Do not add support questions to threads here, use the appropriate support forum instead.
neoanderthal
Level 1
Level 1
Posts: 2
Joined: Wed Aug 14, 2024 1:35 pm

Re: How to upgrade to Linux Mint 22

Post by neoanderthal »

I upgraded from LM21 to LM22 yesterday, and I wanted to mention if you use the proprietary AMD GPU drivers (to get ROCm support, for example) you might have to remove them. I had to disable the AMD repos during the upgrade, and run amdgpu-uninstall afterwards before I could get my system to boot with X-Windows (I was able to boot in Recovery mode without issue).

Edge case, and I might've set up the repos and ROCm support incorrectly as I had to do a lot of tinkering to get pytorch working properly in the first place, so it might be user error on top of edge case.
User avatar
SMG
Level 25
Level 25
Posts: 36092
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to upgrade to Linux Mint 22

Post by SMG »

neoanderthal wrote: Thu Aug 15, 2024 9:03 am I upgraded from LM21 to LM22 yesterday, and I wanted to mention if you use the proprietary AMD GPU drivers (to get ROCm support, for example) you might have to remove them. I had to disable the AMD repos during the upgrade, and run amdgpu-uninstall afterwards before I could get my system to boot with X-Windows (I was able to boot in Recovery mode without issue).

Edge case, and I might've set up the repos and ROCm support incorrectly as I had to do a lot of tinkering to get pytorch working properly in the first place, so it might be user error on top of edge case.
Welcome to the forum, neoanderthal.

I don't think AMD has yet released drivers for Ubuntu 24.04 (on which LM22 is based). Their webpage only lists drivers for 20.04.6 HWE and 22.04.4 HWE.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
neoanderthal
Level 1
Level 1
Posts: 2
Joined: Wed Aug 14, 2024 1:35 pm

Re: How to upgrade to Linux Mint 22

Post by neoanderthal »

SMG wrote: Thu Aug 15, 2024 9:08 am
I don't think AMD has yet released drivers for Ubuntu 24.04 (on which LM22 is based). Their webpage only lists drivers for 20.04.6 HWE and 22.04.4 HWE.
That would explain why the repos didn't work :) I didn't see a link either, and just manually substituting the updated version name in the repo definition didn't work so I'm sure you're right.
User avatar
SMG
Level 25
Level 25
Posts: 36092
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: How to upgrade to Linux Mint 22

Post by SMG »

Moderator note: grimer's issue can now be found here Problems with Wireguard and network connection after in-place upgrade to LM22.

Please create new topics to get help with issues with upgrading. This is an announcement topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
DAE51D
Level 1
Level 1
Posts: 1
Joined: Sun Aug 11, 2024 11:55 pm

Re: Linux Mint 22 “Wilma” upgrade borked up postfix & dovecot!

Post by DAE51D »

I just wanted to come warn that I've done a few Mint upgrades over the years, all pretty seemless and straight forward, and this one really fsck'd my Postfix and Dovecot setup. Like really really (thank Lord Xenu that I had just made a few .tgz of the important directories before the upgrade). That aside, the rest went relatively okay. I had to manually remove some other packages that it seemed to get stuck on.

I run my own mail server and have spent a lot of time honing it to be a good mail citizen and do the needful as per
https://www.linuxbabe.com/mail-server/s ... im-and-spf
I was able to re-follow along here and since I had tarballs of my configs, I could get back and sending/receiving mail in a couple hours it felt like (took a while to track down all the problematic things, and had to re-do chown/chmod on dirs and stuff again).

I don't understand why the installer has to be so aggressive and uninstall all of these packages, or reset them to older versions, and yet others are left alone and still others (like dovecot) are upgraded normally and prompted about any conflicting config files?? Why couldn't postfix be done that same way? Like why just `purge` everything about it (which is what it seemingly did) :oops: :cry: :?: :!:

Also it should provide a list (text file) of the things it uninstalled (so I can put them back). I have no idea what they all are at this point. Even better if it can be in some kind of format to pipe into `apt get` or something to re-install them again easier (with instructions on how to do that post upgrade/reboots). :idea:
Last edited by SMG on Tue Aug 20, 2024 8:39 pm, edited 1 time in total.
Reason: Post moved from Wilma release announcement to the Upgrade announcement.
User avatar
W_A_Watson_II
Level 1
Level 1
Posts: 33
Joined: Tue Dec 01, 2020 5:24 pm

Re: How to upgrade to Linux Mint 22

Post by W_A_Watson_II »

I've tried it on two of my 3 systems, and one hung, but I was able to restore to LM21 via time shift, the other is fried and had to just go and load a fresh install of LM22. I WILL NOT be updating my main system to LM22.
feodor
Level 1
Level 1
Posts: 42
Joined: Fri Mar 26, 2010 7:45 am

Re: How to upgrade to Linux Mint 22

Post by feodor »

I have updated on my Lenovo X13-laptop, which is dual boot with Win11. After the update Win11 was blocked and asked for a bitlocker recovery key, which I was not able to obtain. I needed the help of several IT-persons to get it fixed: Along the way they corrected the bios-time, managed to find a recovery key, turned off bitlocker and then on again.
User avatar
Midnight True
Level 8
Level 8
Posts: 2241
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: How to upgrade to Linux Mint 22

Post by Midnight True »

feodor wrote: Fri Aug 23, 2024 6:35 am
did you do a windows update prior to LM upgrade? if so please see this August Windows updates break dual boot on some Linux systems
feodor
Level 1
Level 1
Posts: 42
Joined: Fri Mar 26, 2010 7:45 am

Re: How to upgrade to Linux Mint 22

Post by feodor »

Midnight True wrote: Fri Aug 23, 2024 9:50 am
feodor wrote: Fri Aug 23, 2024 6:35 am
did you do a windows update prior to LM upgrade? if so please see this August Windows updates break dual boot on some Linux systems
Not sure, but the page you link to seems to be about Mint becoming unbootable - my problem was with the windows part. I am pretty sure that I have not turned off "Secure boot"; I am not sure that my IT-department (who silently accepts that I use Linux even though the policy is "use windows") would like it if I did.

Needing a bitlocker recovery key after a linux update does not appear to be unusual, and I know how to find my recovery key. My problem was that my machine ID (needed to look up the recovery key) was not recognized. I have no idea why and I cannot say whether it was a result for the mint update.

I just thought that it might be useful to mention my problem here in case anybody else had the same problem; if so, it could be related to the Mint-update rather than my laptop.
User avatar
Midnight True
Level 8
Level 8
Posts: 2241
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: How to upgrade to Linux Mint 22

Post by Midnight True »

feodor wrote: Fri Aug 23, 2024 10:43 am My problem was that my machine ID (needed to look up the recovery key) was not recognized. I have no idea why and I cannot say whether it was a result for the mint update.
I see ... i suggest you make a separate thread for this so that folks who might know how to help can easily see your issue
GemStater_376
Level 3
Level 3
Posts: 163
Joined: Fri Jun 14, 2024 3:54 pm

Re: How to upgrade to Linux Mint 22

Post by GemStater_376 »

I did the upgrade to 22 Wilma today. So far so good. Computer details in the signature below.

Thanks to the Mint team for all their hard work on this.
ASUS B450M-A II Prime - AMD Ryzen 7 5700G - 32GB RAM - LMDE 6 Faye
HP Pavilion Slimline s5-1126 - AMD A8-3870K - 8GB RAM - LMDE 6 Faye
ASRock B450M Pro4 - AMD Ryzen 5 3600 - 32GB RAM - Windows 10 Home
Post Reply

Return to “Releases & Announcements”