Different update mechanism for Tumbleweed

Major change in the KDE Plasma bricked the system for many people: midway through zypper dup Plasma crashed, which is completely expected because the packages Plasma 5 session currently running got removed. As a result upgrade is not executed to completion and you get a half-working system Reddit - Dive into anything - here is the proposed solution which is to execute zypper dup in TTY.

I believe it is quite necessary for the distribution to adopt a more streamlined update mechanism. The user would initiate an update through the GUI interface and the second part of the update will be executed upon the reboot before the GUI session is loaded. This is how it’s done in KDE Neon, for example, which I recently updated to Plasma 6 - without much hiccups. This is how Windows is updated too and I see no reason why it shouldn’t be done for more Operating Systems.

This is the first major issue in my 1 year of running TW. I’m personally fine with rolling back with snapper and fixing the system, but I would rather avoid having to look through the forums for a fix if this can be implemented automatically.

3 Likes

This is not a request for help, looks more like a suggestion or request of a new feature (which is OK, but not in this subforum AFAIK).
Anyway every experienced TW user runs “zypper dup” in a TTY or using a screen session, especially when GUI or graphics drivers are involved.
Perhaps this Wiki suggestion (see https://en.opensuse.org/Portal:Tumbleweed):

To keep Tumbleweed updated to the latest snapshot using zypper, run the following command as root (ideally inside a screen or tmux session)

is not meaningful to newcomers and needs an explanation.

1 Like

Thanks! I could not find a suitable subforum so posted here. I will surely now do the upgrades this way, but still, dropping into TTY is not particularly user-friendly for a Desktop operating system. And as I said, this has already been solved in distributions such as KDE Neon. Yes, Tumbleweed might be more suited for technically minded users, but I see no reason why a rolling OS couldn’t have a more streamlined mechanism for applying updates: a button click and a reboot. This might be even more relevant for the upcoming Slowroll.

I am relatively new to openSUSE (and using Linux as Desktop in general) so I didn’t even know what TTY is and would not have been able to start TTY if it wasn’t for the Reddit Post: Reddit - Dive into anything

So it would be helpful if it was explained like this in the Wiki
I’ll start doing my updates in TTY from now on.

Thanks for the recommendation.

I didn’t even know what TTY is and would not have been able to start TTY

I feel like even a button on the login screen that says “Login using TTY” would help a lot with that.

2 Likes

transactional-update already exists.

2 Likes

@Handiwork6369 In Tumbleweed, I prefer to boot to a root console, just feel much safer that way.

Start boot to the Grub Menu, hit the “e” key, this will open an edit screen for the highlighted entry.

Scroll down to the line that begins with “linux”, hit the END key to get to the end of the boot line.

Type a space and the number 3
Hit F10 to boot, this will take you to a login prompt. Log in as root, then simply issue:

zypper dup

You can add any zypper parameters to that line, if you desire.