dup upgrade kills X windows instance

I am running Tumbleweed and XFCE. Regularly i update the system using a terminal and running “zypper dup”.
Sometimes this kills the whole X-session. And i return on the login screen. This also kills the terminal session itself and thus the update itself.

Had this a couple of times in the 3 years running Suse.
My workaround is to open the “external” terminal (ctrl-alt-f2) and running the command.

This of course is not acceptable. Never tried the GUI updater though. Is this “normal” or just (bleeding edge) bugs?

Hi and welcome to the Forum :slight_smile:
Run the command screen first then zypper dup. Else as your doing switch to a tty. It is normal when things get killed off during the upgrade process.

thanks!

sure this works? what is the parent process of “screen”? This is probably my desktop user and killed also? Will it work if “screen” itself is updated?

Does these crashes also happen when using the GUI package manager?

Tumbleweed is probably a bit more bleeding edge but in 2022 you do not expect such quirks. You would hope Linux would warn and/or restart in a “basic” mode before the actual update.
(reminds me of the Linus Sebastian: “do you want to uninstall X-org?”)

Hi
It happens at times hence the use of screen, I always run it before a zypper dup when on my desktop.

See the note here: https://en.opensuse.org/openSUSE:Tumbleweed_upgrade#Running_the_upgrade and this one here: https://forums.opensuse.org/showthread.php/528427-a-Zypper-Dup-survey?p=2846962#post2846962

There are more robust methods: https://en.opensuse.org/Tumbleweed_zypper_dist-upgrade_as_a_systemd_service See also: https://forums.opensuse.org/showthread.php/574921-Does-TW-offer-quot-daily-quot-snapshots-for-download-Viable-alternative-to-zyppering?p=3155575#post3155575