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.
67
68       --subpath=PATH
69           Install only a subpath of the ref. This is mainly used to install a
70           subset of locales. This can be added multiple times to install
71           multiple subpaths. If this is not specified the subpaths specified
72           at install time are reused.
73
74       --commit=COMMIT
75           Update to this commit, instead of the tip of the branch. You can
76           find commits using flatpak remote-info --log REMOTE REF.
77
78       --no-deploy
79           Download the latest version, but don't deploy it.
80
81       --no-pull
82           Don't download the latest version, deploy whatever is locally
83           available.
84
85       --no-related
86           Don't download related extensions, such as the locale data.
87
88       --no-deps
89           Don't update or install runtime dependencies when installing.
90
91       --app
92           Only look for an app with the given name.
93
94       --appstream
95           Update appstream for REMOTE, or all remotes if no remote is
96           specified.
97
98       --runtime
99           Only look for a runtime with the given name.
100
101       -y, --assumeyes
102           Automatically answer yes to all questions (or pick the most
103           prioritized answer). This is useful for automation.
104
105       --noninteractive
106           Produce minimal output and avoid most questions. This is suitable
107           for use in non-interactive situations, e.g. in a build script.
108
109       --force-remove
110           Remove old files even if they're in use by a running application.
111
112       -v, --verbose
113           Print debug information during command processing.
114
115       --ostree-verbose
116           Print OSTree debug information during command processing.
117

EXAMPLES

119       $ flatpak --user update org.gnome.gedit
120

SEE ALSO

122       flatpak(1), flatpak-install(1), flatpak-list(1), ostree-find-remotes(1)
123
124
125
126flatpak                                                      FLATPAK UPDATE(1)
Impressum