
My last update on Ubuntu didn’t go very well. After the typical sudo apt update && sudo apt upgrade -y, the system downloaded and installed the usual assortment of packages. When it was done, it required a reboot to finish the installation, because of the updated kernel. So, I clicked the “restart now” button.
The system shutdown, rebooted, and then went to the splash screen, like normal. Except, it stayed there a LOOOOOOONG time. After about 15 minutes, I decided to do something else and come back to it. After 30 minutes, it was still spinning the little ubuntu logo, and had not left the start splash screen. At this point, there is not much you can do, I tried a few things, to no avail, and eventually rebooted the computer.
At the GRUB boot loader, I chose to start the new kernel in recovery mode, so I could watch everything as it came up. That’s when I saw the job that was hanging up the whole process:
systemd-tmpfiles-setup.service
This job just get going, and going, and going. Some reading online states that this is either caused by wrong permissions of files in the /tmp folder, or issues with snap applications. In either event, while in recovery, I cleared out the tmp folder with:
$ sudo rm -rf /tmp/*
A quick reboot, and startup was as fast as usual. I did run into a little problem with the snap application I had installed, but in my case it was only firefox, to which I just ran:
$ sudo snap refresh
Which refreshes all the snaps to their latest version and seemed to fix my problem, and affirmed my love/hate relationship with snaps.
Linux – keep it simple.
That was awfully familiar to read! I have a sneaking suspicion I did the same or something very similar at some point last winter.
Errors caused by snaps seem to be a regular thing, I now avoid them, almost like a plague. I’m not exactly sure Why we have them. I have even compiled from source(and I’m sure you remember my joy and love of THAT process) to avoid the snap manager, and it’s errors.
Give me an old fashioned apt repo to add, or a .deb package, or even an app image(although in a lot of ways I can’t stand packaged software I can’t actually install to a dir, that runs self contained, although I am getting used to them… kinda).