1FLATPAK UPDATE(1)               flatpak update               FLATPAK UPDATE(1)
2
3
4

NAME

6       flatpak-update - Update an application or runtime
7

SYNOPSIS

9       flatpak update [OPTION...] [REF...]
10
11       flatpak update [OPTION...] --appstream [REMOTE]
12

DESCRIPTION

14       Updates applications and runtimes.  REF is a reference to the
15       application or runtime to update. If no REF is given, everything is
16       updated, as well as appstream info for all remotes.
17
18       Each REF argument is a full or partial identifier in the flatpak ref
19       format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements
20       except ID are optional and can be left out, including the slashes, so
21       most of the time you need only specify ID. Any part left out will be
22       matched against what is installed, and if there are multiple matches an
23       error message will list the alternatives.
24
25       By default this looks for both apps and runtimes with the given REF,
26       but you can limit this by using the --app or --runtime option, or by
27       supplying the initial element in the REF.
28
29       Normally, this command updates the application to the tip of its
30       branch. But it is possible to check out another commit, with the
31       --commit option.
32
33       If the configured remote for a ref being updated has a collection ID
34       configured on it, flatpak will search mounted filesystems such as USB
35       drives as well as Avahi services advertised on the local network for
36       the needed refs, in order to support offline updates. See ostree-find-
37       remotes(1) for more information.
38
39       Note that updating a runtime is different from installing a different
40       branch, and runtime updates are expected to keep strict compatibility.
41       If an application update does cause a problem, it is possible to go
42       back to the previous version, with the --commit option.
43
44       Unless overridden with the --user, --system or --installation option,
45       this command updates any matching refs in the standard system-wide
46       installation and the per-user one.
47

OPTIONS

49       The following options are understood:
50
51       -h, --help
52           Show help options and exit.
53
54       --user
55           Update a per-user installation.
56
57       --system
58           Update the default system-wide installation.
59
60       --installation=NAME
61           Updates a system-wide installation specified by NAME among those
62           defined in /etc/flatpak/installations.d/. Using
63           --installation=default is equivalent to using --system.
64
65       --arch=ARCH
66           The architecture to update for. See flatpak --supported-arches for
67           architectures supported by the host.
68
69       --subpath=PATH
70           Install only a subpath of the ref. This is mainly used to install a
71           subset of locales. This can be added multiple times to install
72           multiple subpaths. If this is not specified the subpaths specified
73           at install time are reused.
74
75       --commit=COMMIT
76           Update to this commit, instead of the tip of the branch. You can
77           find commits using flatpak remote-info --log REMOTE REF.
78
79       --no-deploy
80           Download the latest version, but don't deploy it.
81
82       --no-pull
83           Don't download the latest version, deploy whatever is locally
84           available.
85
86       --no-related
87           Don't download related extensions, such as the locale data.
88
89       --no-deps
90           Don't update or install runtime dependencies when installing.
91
92       --app
93           Only look for an app with the given name.
94
95       --appstream
96           Update appstream for REMOTE, or all remotes if no remote is
97           specified.
98
99       --runtime
100           Only look for a runtime with the given name.
101
102       --sideload-repo=PATH
103           Adds an extra local ostree repo as source for installation. This is
104           equivalent to using the sideload-repos directories (see
105           flatpak(1)), but can be done on a per-command basis. Any path added
106           here is used in addition to ones in those directories.
107
108       -y, --assumeyes
109           Automatically answer yes to all questions (or pick the most
110           prioritized answer). This is useful for automation.
111
112       --noninteractive
113           Produce minimal output and avoid most questions. This is suitable
114           for use in non-interactive situations, e.g. in a build script.
115
116       --force-remove
117           Remove old files even if they're in use by a running application.
118
119       -v, --verbose
120           Print debug information during command processing.
121
122       --ostree-verbose
123           Print OSTree debug information during command processing.
124

EXAMPLES

126       $ flatpak --user update org.gnome.gedit
127

SEE ALSO

129       flatpak(1), flatpak-install(1), flatpak-list(1), ostree-find-remotes(1)
130
131
132
133flatpak                                                      FLATPAK UPDATE(1)
Impressum