Closed PatrLind closed 7 months ago
Same problem, seemingly, here: clicking 'install updates' does not install anything. Or rather it seemed not too - MintUpdate kept showing the same updates when I clicked 'refresh'; but now, when I close and re-run MintUpdate, and why I try to update flatpaks via the terminal, I find that the updates have been installed. Weird.
I think I found out why this happened to me, and it seems to be fixed for now. The issue (in my case) seems to have been caused by some version conflict with org.gnome.Platform. Apparently every time I would start my computer Flatpak would uninstall any "unused" packages. But when the updater was running, it would re-install those "unused" packages, because they were used. My solution was to manually install those packages so they aren't uninstalled all the time.
@PatrLind
My solution was to manually install those packages so they aren't uninstalled all the time.
Thanks for the information. I have the problem with the 'fwupd' flatpak, which I installed manually. Perhaps though I miss something.
Describe the bug I can update all other flatpak updates in the update manager, but org.gnome.Platform is always left behind for some reason. I can update it manually in the command line without problem.
Screenshots See this screen recording of the issue: https://github.com/linuxmint/mintupdate/assets/4456415/7bb8b6d5-3681-47e6-8b5c-8e06c5e78ef2
To Reproduce Steps to reproduce the behavior (in my system):
Expected behavior I expect the update to be installed
Distribution: Linux Mint 21.2
Software version: 6.0.3
Logs:
Console log:
Additional context It works on my other computer with the same installation...
I traced the issue to these lines of code: self.task.confirm() returns False, so the else case gets called. I don't really have any experience with Python, so I'm not sure how to figure out why self.task.confirm() returns False.
Here: https://github.com/linuxmint/mintupdate/blob/dd23d405019c1fbae790fdb0aa8a1a69cadc8352/usr/lib/linuxmint/mintUpdate/flatpak-update-worker.py#L253