Suggestion: put a zypper dup button in gnome software and KDE discover

It’d require cooperation with those teams but that’d make it possible to update both flatpaks and other stuff at the same time. Also friendlier for new users who are afraid of white mono text on a black background.

KDE Discover and Gnome Software are software managers from the respective DE. It is unlikely that zypper dup gets implemented, as it is specific to only one single linux distribution. If you want this, you need to raise an enhancement request at upstream.

2 Likes

This might work as long as there are no dependency problems, but if there are any, zypper needs to go interactive to report the problem and to let you choose one of the available solutions; so the whole thing would need to run in a terminal window.

You can do that already with a .desktop file that simply runs zypper dup (and make sure to check “ Run in Terminal Window”). But it has the exact same problem as Myrlyn: You need to run it as root, and prompt for the password. See myrlyn-sudo for a sample implementation. Or use kde-su.

1 Like

KDE Discover and Gnome-Software both use PackageKit on the backend for installation of RPMs. You’re barking up the wrong tree.

And PackageKit already handles dup operations just fine.

1 Like

Rather than asking KDE or GNOME to pretty please implement special considerations for one of the more niche package managers, I would rather they just provided an option to disable system package management.

Discover is nice as a pretty front-end for FlatHub, but Myrlyn is much better suited for system packages.

1 Like

They do.

If you’re using Plasma, just run zypper rm discover6-backend-packagekit

If you’re using GNOME, zypper rm gnome-software-plugin-packagekit

This has been the case as long as these tools have been around, as far as I know.

gnome-software and discover don’t know a darn thing about flatpaks, rpms, snaps, or anything else, without the requisite backend plugins installed.

3 Likes

Thank you! That is exactly what I wanted.

A while back I searched for how to get around Discover wanting to update my system packages and the only answers I had ever found were some variant “Just update in Zypper first before updating in Discover.” I hadn’t thought it was so simple as removing a plugin.

This is great.

1 Like