I dunno if ATS is the best audience for this rant, but hey, it's not politics.
I'd been running an older version of
KDE Neon a while now and for about a year, i'd been getting the dreaded, 'new
system upgrade available, support for this version ending' popup.
Upgrading linux operating systems can be an interesting experience. Sometimes, it's all good no problems...sometimes # gets ugly.
Well, after yet another newer software package refusing to work because of unsolvable dependencies due to being stuck on old versions of libaries
where the workarounds are getting increasingly more convoluted and difficult, I decided to take the plunge and try updating last night after work.
Oh boy...
Normally, i'd just avoid the hassle and just reinstall with the newer version, but I figured, maybe it'd be ok. Famous last words.
So, I popped open a console and clickedy clacked in
sudo do-release-upgrade
Things start off alright, then bam error message. There's a problem with third party repositories...alright so I disable all ppas and do me a
sudo apt-get dist-upgrade
A bunch of packages get downgraded and removed and such...ok.
Give the upgrade a try again...same error, tells me to check the log.
Open up the log, hundreds of lines of a bunch of stuff I have no idea about. Scroll down to the bottom, see a bunch of messages about broken packages.
Scroll up to where that starts find a line that warns about several hundred broken packages.
Scroll through a bunch of them, see no rhyme or reason to it....ok....
Open up synaptic package manager. Start removing a bunch of the packages on the list, luckily removing a few auto removed a bunch of the other
ones.
Try upgrade again...same error.
Check log again....list is smaller now, but still at least a hundred broken packages. Notice many of them are from the 'universe' repository.
Back to synaptic, time to go full demolition on that #. Start just removing as many of the packages from the universe repository as I can. End up
uninstalling the entirety of my desktop environment.
Luckily, on linux anything in running in memory will stay there until closed, so as long as my computer stayed on, the desktop stayed.
So, now I was stuck, I couldn't turn my computer off until I fixed the problem, or # was gonna get real ugly.
Fingers crossed, I tried the upgrade again.
Another error...
This time, I was lacking about 8GB of space in one of my drive partitions. That one was easy. My steam folder happened to be there, so pop over there,
delete a bunch of random games and got me some gigabytes.
Finally, do-release-upgrade starts doing it's thing which takes several hours.
At around 2am it was finally finished. But things weren't over yet. I still had to fix my desktop environment before turning off the computer.
Seemed easy enough, just needed to reinstall plasma desktop right?
Nope....more broken packages. Ok....so now what?
I start to look through the broken packages and notice they're all system libraries stuck on old versions that should have been updated with
everything else but for some reason hadn't and could not be. Which was pretty weird.
So, I checked through the software sources list and noticed the actual kde neon repository was disabled and still set to the older version. I updated
it to the new version and re-enabled it. Then I try a
sudo apt-get update
Error...no internet....
I guess during the update while installing the new network manager, something screwy happened and it disconnected me. I tried reconnecting but there
was errors with the password entry window and I couldn't get it to connect.
Ahhhhhh # # # # #
Not sure what to do at this point. Notice my phone sitting nearby, get an idea. Turn on my phone's hotspot with no password, try connecting on the
computer.
Success!!!
Update repositories, find updates for all the broken packages, update them.
Try reinstalling the desktop again. It works. Finally, going on 4am by this point, I can turn off my computer.
If you managed to make it down to the end of this you probably deserve a gold star or something.
Also, if this makes linux seem even more terrifying than before, I gotta say, if i'd had that kind of update issue on a windows computer, i'd likely
be sitting here staring at a blue screen of death contemplating doing a complete system restore or something instead of writing a long winded nerdy
rant on ats while I wait for my music production software to reinstall.