/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
checkupdates(8)
=============

Name
----
checkupdates - safely print a list of pending updates


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.

*-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, checkpkg will return one of the following error codes.

0::
	Normal exit condition.

1::
	Unknown cause of failure.

2::
	No updates are available.


See Also
--------
linkman:pacman[8], linkman:pacman.conf[5]

include::footer.txt[]
