Errors trying to update with Discover: can't remove gnome 45

Hi,
Discover suggests me to update this

When I click to update, I have this error message


(translating:
Updating problem
A problem occur during the installation or updating process. Retry later
Check the technical details)

If I check the details, I have this message
Can’t remove org.gnome.Platform/x86_64/45, it is needed for: net.lutris.Lutris

Is there a solution that it will not be to remove Lutris? :slight_smile:

Thanks in advance

Its weird that Flatpak won’t let you update the GNOME 45 platform when something else uses it. Is it possible that Lutris is currently running and preventing the update?

Actually I have Lutris installed…but if it’s Lutris to request the Gnome45, have I to choose to keep Lutris but not able to update or uninstall Lutris ? It seems a bit unconfortable.
I hope I can have both of them… Lutris and updates.

I’m not sure what is going on with your system, but you shouldn’t need to uninstall Lutris, and you can keep using the GNOME 45 platform flatpak - that’s not a problem.

Part of the problem may be that GNOME 45 is obsolete and has reached end-of-life. The update you are trying to install is likely the last update that it will ever get - and Lutris should move to a new version, but until that happens, the update should succeed.

Can you please try to run the following command in a terminal, and see if it managed to do the update, and if not - what errors are shown:

LANGUAGE=en flatpak update -y

this is the result

So, everything is fine now?

Yes…it seems everything ok.
I’ve uninstalled OBS as I don’t use it at the moment…but Lutris yes…anyway Discover doesn’t notify me that I’ve GNOME45 and 46 to update…so it’s seems ok.

So, trying to learn problem and solution, if your console command was the solution, could you explain, if it’s a quick explanation (quick for you, otherwise give me the correct link to read), why your suggestion was the right one?

Thank you.

(I’ve another issue now but I’ll open a new thread, meanwhile thank you again.)

I don’t know why you had trouble with Discover’s update scenario - it sounded like it tried to remove the platform package, tough it wasn’t supposed to.

The terminal command is how flatpaks were designed to be updated, with Discover essentially just providing a convenience graphical user interface on top of it, so doing it from the command line is always the right thing to do.

The other thing is that the terminal command is simple to explain (its just some text to copy, as opposed to “look for that thing, press that button, find this number and check such and such box”) and easier to explain the results (just copy and paste some text, or take a single screenshot) - so the fact that everything in Linux can be done from the command line is great for remote support :smiley:, as it removes a lot of possibilities for user errors.

1 Like