- bookworm 1.14.10-1~deb12u1
- testing 1.14.10-1
- unstable 1.14.10-1
- experimental 1.15.12-1
FLATPAK UPDATE(1) | flatpak update | FLATPAK UPDATE(1) |
NAME¶
flatpak-update - Update an application or runtime
SYNOPSIS¶
flatpak update [OPTION...] [REF...]
flatpak update [OPTION...] --appstream [REMOTE]
DESCRIPTION¶
Updates applications and runtimes. REF is a reference to the application or runtime to update. If no REF is given, everything is updated, as well as appstream info for all remotes.
Each REF argument is a full or partial identifier in the flatpak ref format, which looks like "(app|runtime)/ID/ARCH/BRANCH". All elements except ID are optional and can be left out, including the slashes, so most of the time you need only specify ID. Any part left out will be matched against what is installed, and if there are multiple matches an error message will list the alternatives.
By default this looks for both apps and runtimes with the given REF, but you can limit this by using the --app or --runtime option, or by supplying the initial element in the REF.
Normally, this command updates the application to the tip of its branch. But it is possible to check out another commit, with the --commit option.
If the configured remote for a ref being updated has a collection ID configured on it, Flatpak will search the sideload-repos directories configured either with the --sideload-repo option, or on a per-installation or system-wide basis (see flatpak(1)).
Note that updating a runtime is different from installing a different branch, and runtime updates are expected to keep strict compatibility. If an application update does cause a problem, it is possible to go back to the previous version, with the --commit option.
In addition to updates, this command will offer to uninstall any unused end-of-life runtimes. Runtimes that were explicitly installed (not as a dependency) or explicitly pinned (see flatpak-pin(1)) are left installed even if unused and end-of-life.
Unless overridden with the --user, --system or --installation option, this command updates any matching refs in the standard system-wide installation and the per-user one.
OPTIONS¶
The following options are understood:
-h, --help
-u, --user
--system
--installation=NAME
--arch=ARCH
--subpath=PATH
--commit=COMMIT
--no-deploy
--no-pull
--no-related
--no-deps
--app
--appstream
--runtime
--sideload-repo=PATH
-y, --assumeyes
--noninteractive
--force-remove
-v, --verbose
--ostree-verbose
EXAMPLES¶
$ flatpak --user update org.gnome.gedit
SEE ALSO¶
flatpak(1), flatpak-install(1), flatpak-list(1), ostree-find-remotes(1)
flatpak |