checkupdates.8.txt 1.13 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
/////
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
--------
14
'checkupdates' [options]
15
16
17
18
19
20
21
22
23


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.


24
25
26
27
28
Options
-------
*-d, \--download*::
	Download any pending updates to the pacman cache.

Sam B's avatar
Sam B committed
29
30
31
32
*-n, \--nosync*::
	Do not sync the temporary database, works best when the temporary database is 
	update regularly through some other means such as a cronjob or systemd timer.

33
34
35
36
*-h, \--help*::
	Display syntax and command line options.


37
38
39
40
41
42
43
44
45
Environment
-----------
*CHECKUPDATES_DB*::
	Override the default update db location.

*TMPDIR*::
	Overrides the default '/tmp' temporary directory.


46
47
Errors
------
48
On exit, checkupdates will return one of the following error codes.
49
50
51
52
53
54
55
56
57
58
59

0::
	Normal exit condition.

1::
	Unknown cause of failure.

2::
	No updates are available.


60
61
62
63
64
See Also
--------
linkman:pacman[8], linkman:pacman.conf[5]

include::footer.txt[]