checkupdates

Tool to check pending updates in Arch Linux.

TLDR

List pending updates

$ checkupdates
copy


List pending updates and download the packages to the pacman cache
$ checkupdates --download
copy


List pending updates using a specific pacman database
$ CHECKUPDATES_DB=[path/to/directory] checkupdates
copy


Display help
$ checkupdates --help
copy

SYNOPSIS

checkupdates [options]

DESCRIPTION

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

-d, --download

Download any pending updates to the pacman cache.

-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.

-h, --help

Display syntax and command line options.

ENVIRONMENT

CHECKUPDATES_DB

Override the default update db location.

TMPDIR

Overrides the default /tmp temporary 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.

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 <johannes@kyriasis.com>

·

Daniel M. Capella <polyzen@archlinux.org>

For additional contributors, use git shortlog -s on the pacman-contrib.git repository.

SEE ALSO

pacman(8), pacman.conf(5)

Copied to clipboard