this post was submitted on 13 Jul 2024
34 points (100.0% liked)

Linux

48200 readers
1713 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Zoom is vital to my job this month and prior to an update last week I had the openSUSE version of Zoom's RPM installed and working fine.

I updated my Tumbleweed installation to openSUSE-20240704-0 last week, after which Zoom started crashing when sharing a screen. There was a message in the logs about the library libqt5qml.so and I thought I could fix this by backing out either the update for the libQtQuick5 package in particular, or just booting from the pre-update snapshot.

To make a long story short, I ultimately installed the Zoom Flatpak and resolved to get back to this when I had a bit more time.

My question - Can people suggest the right way in openSUSE Tumbleweed to handle the situation where an update breaks something on the system?

Assuming libQtQuick5 was the updated package that was at fault here, is there a way I could have downgraded just that package? Would booting from the pre-update snapshot and then just carrying on with my week have been a reasonable way to proceed?

To be clear - I'm not so much concerned about Zoom, I'm more curious about how to use the openSUSE Tumbleweed tools to recover from updates that cause problems.

Thank you!

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 4 months ago* (last edited 4 months ago) (1 children)

If a tumbleweed update causes issues, then rollback to a previous snapshot where the issue was not present. You should: reboot into the preupdate snapshot, which will be in read only mode; then launch zoom and check it works without error; then in a terminal enter sudo snapper rollback, which creates a read write copy of the good snapshot; reboot and your computer should be as if you never did the update.

The next question is about updating again in the future and if zoom will break. If you update again in say a month, the issue may not occur. It's hard to say. Otherwise, if you can figure out which library packages caused the problem, you can lock them in yast so that they do not update on zypper dup.

I had a similar issue with zoom in the last few years. If zoom stability is essential for you, just use the flatpak. The web client is an option too.

[–] [email protected] 1 points 4 months ago

Had an issue many many years ago with TW where X11 was completely broken on my system. I just did a btrfs roll back to prior to the update and then updated like a month later

[–] [email protected] 11 points 4 months ago (1 children)

I think the correct way would be to boot from a previous snapshot and roll back to that. No idea what could go wrong when you're staying in a snapshot. I'd mostly be afraid that I'd forget that I'm on a snapshot and find myself with the error again on next boot.

[–] [email protected] 6 points 4 months ago

Snapshots are read only. Best plan is to rollback to a snapshot you think works, test it and if all is good use sudo snapper rollback to make the current snapshot the default. I usually reboot at that point too, not sure if it's necessary though.

[–] [email protected] 3 points 4 months ago

I think you did alright by resorting to flatpak. When it comes to closed source applications, it's not uncommon for problems like this to appear every so often.

[–] [email protected] 3 points 4 months ago* (last edited 4 months ago)

Most people have answered doing a rollback is the best way. I usually find some updates break things then later updates dont have the issues.

But I wanted to add if you go in to yast snapshots and double click a snapshot you can actually select specific changes to rollback via checkboxes. I've not tried this yet though because of dependencies and whatnot

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (1 children)

Using the flatpak is the right answer. Seriously though flatpaks are separate from the base system so this isn't an issue.

The bigger issue is that you are running tumbleweed on a production critical machine. If you want to run it on a personal machine that isn't critical that's fine but for production stick with well tested. Things will break and its best to stick with slow and stable. Think Linux Mint or Debian with Flatpak apps.

[–] [email protected] 0 points 4 months ago (1 children)

Please don't listen to this response. Its as outdated as mentioned distributions.

[–] [email protected] 1 points 4 months ago (1 children)

It isn't outdated Tumbleweed isn't designed to be a stable system because it is frequently updated.

[–] [email protected] 1 points 4 months ago

It is designed to be stable in spite of being regularly updated.

[–] [email protected] -1 points 4 months ago

You can always create a Distrobox and run Zoom in there, the exact same way as you do currently.

Isn't there an Appimage or Flatpak otherwise?