Downgrades are broken?
Closed this issue · 3 comments
nekohayo commented
- I have read the
README.md
document - I am using the latest version of Warehouse
- I am using the Flatpak package of Warehouse
- I have not found any other opened issues on the same topic
Describe the issue in detail
Demonstration video:
Screencast from 2024-03-04 10-36-51.webm
Steps to reproduce the issue
flatpak install --user org.gnome.gitgDevel
with GNOME Nightly version- Try to downgrade to a previous version, without "Disable Upgrades"
Result: nothing happens in practice. Both warehouse and flatpak on the commandline confirm that the package has remained at the latest version.
Terminal output
There was no output in the terminal.
nekohayo commented
heliguy4599 commented
I have figured out the issue, the code for downgrades runs with pkexec at all times, even for --user installed paks. This causes Flatpak to think those --user installed apps are not installed because it's being ran as root. I know how to fix this and it will be resolved shortly. Thanks for bringing this to my attention!
nekohayo commented
Seems like the fix was committed and released now!