commands.sh

checkupdates

linux

Check pending updates in Arch Linux.

More info →

Options (4)

-n, --nosyncboolean

List pending updates without syncing the database

Example: checkupdates {{[-n|--nosync]}}
-c, --changeboolean

Display the list of pending updates if it differs from the last time this option was used

Example: checkupdates {{[-c|--change]}}
-d, --downloadboolean

List pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`)

Example: checkupdates {{[-d|--download]}}
-h, --helpboolean

Display help

Example: checkupdates {{[-h|--help]}}

Examples (6)

Synchronize the database and list pending updates

List pending updates without syncing the database

checkupdates [-n|--nosync]

Display the list of pending updates if it differs from the last time this option was used

checkupdates [-c|--change]

List pending updates and download the packages to the `pacman` cache (`/var/cache/pacman/pkg`)

checkupdates [-d|--download]

List pending updates using a specific `pacman` database

CHECKUPDATES_DB=path/to/directory checkupdates

Display help

checkupdates [-h|--help]
made by @shridhargupta | data from tldr-pages