Peterborough Linux User Group (Canada) Forum

Linux & Android => Distributions => Topic started by: buster on August 17, 2024, 07:00:52 PM

Title: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: buster on August 17, 2024, 07:00:52 PM
This was done on a virtual OS. Marilyn's desktop next. (Anyone who is married will understand this precaution.) The fact that the operation had limited resources may account for it's slowness, but in a few days, when bringing hers up to date, I'll see whether the speed is different. I think I started here and the upgrade itself gave me the rest of the steps from then on.

https://linuxmint-user-guide.readthedocs.io/en/latest/upgrade-to-mint-22.html

The process is wonderfully done. Have something else to do though. It did seem long.

Jesse on Distrowatch gave Linux Mint 22 a perfect score. Never seen that before.

https://distrowatch.com/weekly.php?issue=20240805#mint

For me and my needs Mint is THE Linux desktop. And I've never had to reinstall In Marilyn's computer for ages. In fact her OS was cloned from the previous computer's Mint.

A meticulously crafted OS.



Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: ssfc72 on August 19, 2024, 08:38:40 AM
Thanks Buster, for the notes on your install of the latest release on Mint.

I am still using version 20.3 which is supported until April 2025 and I would normally wait until the support ended, before upgrading.

Do you know if it might cause install issues, by upgrading from that old a version of Mint, to the latest version?
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: buster on August 19, 2024, 09:09:56 AM
There is always a chance that someone like Oscar will get into the process and wreak havoc. However two things.

1. All the releases have to be done in sequence. Any between must be done first.

2. Mint suggests using TimeShift will allow you to go back if update unsuccessful. From using software for years we both know this means "will probably allow".
 
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: ssfc72 on August 20, 2024, 02:52:50 AM
Thanks Buster, for the info.

When I go to upgrade I will just image my Drive first, for a backup.

I seem to recall now, that the last time I did an upgrade of Mint (probably from 19.X to 20.1?) that the upgrade went ok.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: Jason on August 20, 2024, 05:09:22 AM
Quote from: buster on August 19, 2024, 09:09:56 AM2. Mint suggests using TimeShift will allow you to go back if update unsuccessful. From using software for years we both know this means "will probably allow".

I've never had Timeshift fail for me. It does the same thing as cloning software but unlike cloning software, it keeps track of the changes and undoes them when you restore. So it's quicker.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on August 21, 2024, 01:34:14 PM
I also did an upgrade to Mint 22, after first doing an upgrade from 21.2 to 21.3. This is on an external drive running on my 2019 iMac. The upgrade to 21.3 went without a hitch, but the subsequent upgrade to 22 left me without internet. I have a TP Powerline plug-in that connects that computer via ethernet. It works with Ubuntu and Mint up to 21.3, but wouldn't work after the upgrade to 22. I used Timeshift to go back to my earlier configuration and go through the upgrades again, but the result was the same - no internet. I'll probably try it once more, but I have wasted a lot of time on this and am not pleased at all. This is one of the reasons I stick to Ubuntu as my main operating system. I have done Ubuntu upgrades since Feisty Fawn (2007 I believe), and have never experienced a problem with one.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: ssfc72 on August 22, 2024, 01:30:48 AM
Hi Mike.  Perhaps if you had Ubuntu installed on the 2019 iMac, you would have had the same problem with your TP Powerline plug-in for internet connection, that you are now having with Mint install?
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: buster on August 22, 2024, 03:13:32 PM
" you would have had the same problem with your TP Powerline plug-in for internet connection "

Good point Bill. This very problem was discussed heatedly in the forums of Nipple Linux.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: Jason on August 22, 2024, 09:01:31 PM
The problem could have been a driver supported only in an earlier kernel version. That's the kind of exotic hardware that Linux might not support natively. I'm not sure Windows would either. Is it possible you installed a separate driver for the powerline adapter, Mike?
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on September 03, 2024, 09:09:16 PM
I have Ubuntu (24.04) installed on this iMac. No problems with it. With regard to the TP Powerline, I don't have a specific driver for it. I used the term, plug-in to refer to how the Powerline works. You plug it into a wall socket. You can then plug an ethernet cable into the Powerline and into the computer, and the computer sees it as an ethernet connection. According to a Digital Trends article, "Powerline networking is a technology that sits between wired and wireless. Rather than shoot network data into the air or through cables draped along baseboards, it uses the existing electrical wiring in a home or office. It also supports the longest distance of the three, though performance heavily depends on the overall electrical wiring and devices pulling power." The reason I use it is that Ubuntu (or any Linux I have tried) doesn't detect the internal wifi of this particular Mac and I have not been able to find a driver for it. But the Powerline works perfectly, at least with Ubuntu and any Mint version I have tried up until the Mint 22 upgrade. By the way, Powerline does work with the Mint 22 install USB drive, so the problem must be related to the upgrade itself.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on September 05, 2024, 10:01:14 PM
I should add that ethernet is recognized by the Network Manager and I can even ping it. But it won't connect to the internet. So what I did tonight is to restore the Timeshift version right after I upgraded to 21.3, and all works as it should. Except that when I went to install some updates, it wouldn't install them because there was a problem with the Python 3 post-install program that must have been upgraded when I went from 21.2 to 21.3. Once I fixed that, I could do those upgrades. I'm now thinking that this caused the problem when I went to upgrade again. So I will try to upgrade once more to version 22, but not until next week when I have the time.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on September 12, 2024, 11:56:53 AM
Well I tried again and the result is the same: network connected but no internet. I looked at the settings, and they're the same as Ubuntu's and even those of Mint 21.3. Go figure. I guess that the only way to get Mint 22 is to start from scratch. I'm not willing to do that, at least not right now since I don't use it regularly and 21.2 works. But I'm disappointed. This affirms the decision I made years ago to stick with Ubuntu.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: Jason on September 12, 2024, 02:52:53 PM
Quote from: fox on September 12, 2024, 11:56:53 AMWell I tried again and the result is the same: network connected but no internet. I looked at the settings, and they're the same as Ubuntu's and even those of Mint 21.3. Go figure.

Thanks for reporting on these issues. Even if we're not experiencing them, it's good to give other people a heads up before they try.

What I find odd is that I thought Mint *was* Ubuntu underneath. Just with some extra apps and some alternative desktops.

I normally don't do upgrades. I'm like that guy on Ally McBeal with the remote toilet flusher who explains by saying, "I like a fresh bowl." I like a fresh install.

One question: Are you using a VPN by any chance? If you have a kill switch set, it could interfere.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on September 12, 2024, 07:04:06 PM
I have a VPN but was not using it in Mint.

FYI, when I do a new install of Mint 22, the internet works.
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: Jason on September 15, 2024, 04:30:16 AM
Quote from: fox on September 12, 2024, 07:04:06 PMFYI, when I do a new install of Mint 22, the internet works.

If you've already done that, wouldn't you restore your home files from your backup? Or is your backup of the entire drive?
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: fox on September 15, 2024, 07:36:32 AM
Quote from: Jason on September 15, 2024, 04:30:16 AMIf you've already done that, wouldn't you restore your home files from your backup? Or is your backup of the entire drive?
I still have a partition with Mint 21.3. I have a backup of it with TimeShift, but not a specific backup of my Home folder. (Note that the Home folder is not on a separate partition.) Can I then go to the Mint 22 partition (also without the Home folder on a separate partition) and restore just the Home folder from Mint 21.3? If not, what if I made a backup of just the Home folder on Mint 23 with a program like Backup? Could I then "restore" that folder in Mint 22?

Interestingly, I now have good reason not to get rid of the Mint 21.3 partition. I have a piece of statistical software called JMP on it; a very old version that works on Linux (with certain old 32 bit libraries installed). Getting that to work in Mint 22 would take a lot of work, unless those libraries transfer over with the Home folder, so I would keep 21.3 just for that program.

I believe I can back up that Home folder with software called Backup?
Title: Re: Latest Linux Mint Upgrade to 22 a Pleasure Though Long Procedure
Post by: Jason on September 17, 2024, 03:53:22 AM
Quote from: fox on September 15, 2024, 07:36:32 AMI still have a partition with Mint 21.3. I have a backup of it with TimeShift, but not a specific backup of my Home folder. (Note that the Home folder is not on a separate partition.) Can I then go to the Mint 22 partition (also without the Home folder on a separate partition) and restore just the Home folder from Mint 21.3? If not, what if I made a backup of just the Home folder on Mint 23 with a program like Backup? Could I then "restore" that folder in Mint 22?

I believe so. Your backup of /home will copy over the existing files in /home So settings will be replaced, too, unless you choose just your files. Since files will have permissions intact, you should create an account with the same username. But you can fix this later if necessary. Let me know if you have issues accessing files. It could be a permission issue. I usually make those changes in the terminal (old habit) but doing it graphically is probably as easy.


QuoteI believe I can back up that Home folder with software called Backup?

Yep. But you will have to use that program to restore it as well. It zips the files and breaks them into chunks so you can't copy them back using the file manager. If you don't need the files to be compressed, it's probably easier to copy the files as is to a flash drive. Once you're set back up, use it to back up the personal folder regularly. It can do it automatically if you leave a flash drive inserted. It's incremental so it's fast. Unless you change a lot of big files a lot.