1FLATPAK REPAIR(1) flatpak repair FLATPAK REPAIR(1)
2
3
4
6 flatpak-repair - Repair a flatpak installation
7
9 flatpak repair [OPTION...]
10
12 Repair a flatpak installation by pruning and reinstalling invalid
13 objects. The repair command does all of the following:
14
15 • Scan all locally available refs, removing any that don't correspond
16 to a deployed ref.
17
18 • Verify each commit they point to, removing any invalid objects and
19 noting any missing objects.
20
21 • Remove any refs that had an invalid object, and any non-partial
22 refs that had missing objects.
23
24 • Prune all objects not referenced by a ref, which gets rid of any
25 possibly invalid non-scanned objects.
26
27 • Enumerate all deployed refs and re-install any that are not in the
28 repo (or are partial for a non-subdir deploy).
29
30 Note that flatpak repair has to be run with root privileges to operate
31 on the system installation.
32
33 An alternative command for repairing OSTree repositories is ostree
34 fsck.
35
37 The following options are understood:
38
39 -h, --help
40 Show help options and exit.
41
42 --user
43 Repair per-user installation.
44
45 --system
46 Repair system-wide installation.
47
48 --installation=NAME
49 Repair the system-wide installation specified by NAME among those
50 defined in /etc/flatpak/installations.d/. Using
51 --installation=default is equivalent to using --system.
52
53 --dry-run
54 Only report inconsistencies, don't make any changes
55
56 --reinstall-all
57 Reinstall all refs, regardless of whether they were removed from
58 the repo or not
59
60 -v, --verbose
61 Print debug information during command processing.
62
63 --ostree-verbose
64 Print OSTree debug information during command processing.
65
67 $ sudo flatpak repair
68
69 $ flatpak repair --user
70
72 flatpak(1), ostree-fsck(1)
73
74
75
76flatpak FLATPAK REPAIR(1)