1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 12:55:23 +02:00
tldr/pages/linux/checkupdates.md

29 lines
694 B
Markdown
Raw Normal View History

2022-02-17 06:57:00 -03:00
# checkupdates
> Check pending updates in Arch Linux.
2025-05-01 16:46:24 +00:00
> More information: <https://manned.org/checkupdates>.
2022-02-17 06:57:00 -03:00
2025-05-01 16:46:24 +00:00
- Synchronize the database and list pending updates:
2022-02-17 06:57:00 -03:00
`checkupdates`
2025-05-01 16:46:24 +00:00
- List pending updates without syncing the database:
2022-02-17 06:57:00 -03:00
2025-05-01 16:46:24 +00:00
`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]}}`
2022-02-17 06:57:00 -03:00
- List pending updates using a specific `pacman` database:
2022-02-17 06:57:00 -03:00
`CHECKUPDATES_DB={{path/to/directory}} checkupdates`
- Display help:
2025-05-01 16:46:24 +00:00
`checkupdates {{[-h|--help]}}`