flatpak-repair - Man Page

Repair a flatpak installation


flatpak repair [OPTION...]


Repair a flatpak installation by pruning and reinstalling invalid objects. The repair command does all of the following:

Note that flatpak repair has to be run with root privileges to operate on the system installation.

An alternative command for repairing OSTree repositories is ostree fsck.


The following options are understood:

-h, ā€‰--help

Show help options and exit.


Repair per-user installation.


Repair system-wide installation.


Repair the system-wide installation specified by NAME among those defined in /etc/flatpak/installations.d/. Using --installation=default is equivalent to using --system.


Only report inconsistencies, don't make any changes


Reinstall all refs, regardless of whether they were removed from the repo or not

-v, ā€‰--verbose

Print debug information during command processing.


Print OSTree debug information during command processing.


$ sudo flatpak repair

$ flatpak repair --user

See Also

flatpak(1), ostree-fsck(1)

Referenced By


flatpak repair