As noted on this thread, we have fixed a few problems with application updates over the past few months, but we have identified a problem in the ostree library that we believe is responsible for most ofc the remaining problems updating flatpak applications and/or the operating system. For most users, updates are working fine, but on a rare occasion two ostree pruning operations from separate processes overlap (e.g., installing/updating/removing an app while an automatic operating system update is in progress), and this can leave the system in an unexpected state where subsequent updates will continue to fail.
We are working with the upstream community on a permanent fix to avoid the possibility of entering this failed state (see https://github.com/ostreedev/ostree/pull/813 for details), but in the meantime an existing user who cannot update will need to manually clean up the failure so that updates can proceed as normal. We have written a script to do this, and it is available starting with Endless OS 3.2.5.
So, if you are unable to update the operating system, or if you have an app that consistently refuses to install or update, please try the following from a terminal window (e.g., type “terminal” in the desktop search bar)…
If you are already on Endless OS 3.2.5 or later:
If you are on an earlier version of Endless OS and cannot update the operating system:
chmod +x eos-fix-ostree-repo
Enter your password when requested, and wait until the script finishes running before doing anything else. (In particular, please don’t open the app center while this operation is in progress.) Once the script is done, please try to upgrade again, and let us know if you still have any problems.
@fishychachki I see that you are on Endless OS 3.1.1, and some problems with app installations have been fixed since then. I can see that part of the problem is network timeouts, which might be handled better in a newer version of the app center, but I’m not sure off hand. If you are able to update to the latest version of the operating system (Settings --> Details --> Check for updates now), you might have a better experience with app installations. It will be a relatively large download, though, and looking at your log I suspect it will take a very long time on your Internet connection.
@NofFyddink The 3.3.0 release is planned for mid October. In the meantime, keep an eye out for an announcement (in a week or two) on our community forum regarding a beta testing program if you’d like to try out a preview before the general release.