mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-22 23:55:34 -04:00
Add flatpak repair command
This is a fsck-like command that tries to automatically repair your flatpak installations. It works by running an fsck on all the refs in the local repo, and removing all refs that has an unexpectedly missing (or deleted) object. Then it runs a prune, which will remove all the object that were referenced by these removed refs (that were not references by anything else), so that any non-detected invalid objects are also removed. Then it looks at all the deployed refs, and if they lack a ref in the local repo, we `install --reinstall $origin $ref` them. Closes: #1739 Approved by: alexlarsson
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f