Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'org.gnome.Platform/x86_64/45' dependency error with Flatpak install of 3.0.3 on latest Gnome 47 #770

Closed
neekfenwick opened this issue Nov 11, 2024 · 2 comments

Comments

@neekfenwick
Copy link

I just downloaded https://github.com/projecthamster/hamster/releases/download/v3.0.3/Hamster-3.0.3.flatpak from the Releases page and tried to install it on Fedora 41 running Gnome 47 (Fedora 41 was recently released and I upgraded to it today).

The application org.gnome.Hamster/x86_64/master requires the runtime org.gnome.Platform/x86_64/45 which was not found

Screenshot From 2024-11-11 13-32-11

I'm not familiar with Flatpak, but I see the package appears to depend on Gnome version 45 (if that's what the 45 means in that message) and we're on Gnome 47 now.

Is this a problem with my system or the Flatpak build?

@neekfenwick
Copy link
Author

neekfenwick commented Nov 11, 2024

Update: apparently one should install Flathub, then the org.gnome.Platform/x86_64/45 package, which should solve this problem.

So, for my Fedora system, I found https://fedoramagazine.org/install-flathub-apps-fedora/ which says to install https://dl.flathub.org/repo/flathub.flatpakrepo, which I clicked on in the browser and installed via the Software GUI app. Then I tried flatpak install org.gnome.Platform/x86_64/45 and got an end-of-life warning:

$ flatpak install org.gnome.Platform/x86_64/45
Looking for matches…

Info: runtime org.gnome.Platform branch 45 is end-of-life, with reason:
   The GNOME 45 runtime is no longer supported as of September 18, 2024. Please ask your application developer to migrate to a supported platform.

With a 'do you want to continue' prompt, so saying Yes did install the package.

Then:

$ flatpak install ~/Downloads/Hamster-3.0.3.flatpak

Info: (pinned) runtime org.gnome.Platform branch 45 is end-of-life, with reason:
   The GNOME 45 runtime is no longer supported as of September 18, 2024. Please ask your application developer to migrate to a supported platform.
[..cut..]
Proceed with these changes to the system installation? [Y/n]: 

This did install Hamster successfully! So it was the Flatpak speedbump of needing to install Flathub and the org.gnome package that tripped me up.

A note for anyone else upgrading from an older version, I used to have my main hamster.db file in /home/neek/.local/share/hamster/hamster.db and the new Flatpak version seems to use /home/neek/.var/app/org.gnome.Hamster/data/hamster/hamster.db .. I was able to copy the old database over the new one (since my new one was empty, but backing it up first is a good idea anyway) and the new Hamster then loads with all my old time tracking etc present, which is very nice to have.

I notice now that the readme.md say to run flatpak install flathub org.gnome.Hamster which may have automatically fixed my lack of Flathub and requisite org.gnome package, I don't know. I just went to the Releases page and tried to install the .flatpak file I found there.

I'll close this, but I hope it helps someone in future.

@neekfenwick neekfenwick changed the title Gnome dependency error on Flatpak install of 3.0.3 on latest Gnome 47 'org.gnome.Platform/x86_64/45' dependency error with Flatpak install of 3.0.3 on latest Gnome 47 Nov 11, 2024
@neekfenwick
Copy link
Author

Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant