NAME
checkupdates - safely print a list of pending updates
SYNOPSIS
checkupdates [options]
DESCRIPTION
checkupdates checks for pending updates using a separate pacman database located in TMPDIR if CHECKUPDATES_DB is not set and outputs a list of updates with the old and new version.
OPTIONS
- -c, --change
-
Check for new available updates only, prints the list of available updates only if it differs from the last time checkupdates was run with that option.
- -d, --download
-
Download any pending updates to the pacman cache.
- -h, --help
-
Display syntax and command-line options.
- --nocolor
-
Do not colorize output. Color must be enabled in pacman.conf for the listing to be colored to begin with.
- -n, --nosync
-
Do not sync the temporary database, works best when the temporary database is updated regularly through some other means such as a cronjob or systemd timer.
- -V, --version
-
Display version information.
ENVIRONMENT
CHECKUPDATES_DB
Override the default ${TMPDIR:-/tmp}/checkup-db-${UID} temporary database location.
CHECKUPDATES_CHANGE
state file location for the -c/--change option.
TMPDIR
Override the default /tmp temporary directory.
XDG_STATE_HOME
Override the default $HOME/.local/state state directory
ERRORS
On exit, checkupdates will return one of the following error codes.
0
Normal exit condition.
1
Unknown cause of failure.
2
No updates are available.
SEE ALSO
BUGS
Bugs? You must be kidding; there are no bugs in this software. But if we happen to be wrong, file an issue with as much detail as possible at https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/new.
AUTHORS
Current maintainers:
• Johannes Löthberg <[email protected]>
• Daniel M. Capella <[email protected]>
For additional contributors, use git shortlog -s on the pacman-contrib.git repository.