LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pacsync

synchronizes pacman package databases with remote repositories

TLDR

Update all sync databases
$ sudo pacsync
copy
Update specific repositories
$ sudo pacsync [repo1] [repo2]
copy
Force update even if up-to-date
$ sudo pacsync --force
copy
Use specific config file
$ sudo pacsync --config [path/to/pacman.conf]
copy
Return true only if database was updated
$ sudo pacsync --updated
copy

SYNOPSIS

pacsync [--config file] [--dbpath path] [--force] [--updated] [repository...]

DESCRIPTION

pacsync synchronizes pacman package databases with remote repositories. It is part of the pacutils collection of utilities that provide enhanced functionality for pacman.When run without arguments, it updates all configured sync databases. Specific repositories can be targeted by providing their names as arguments. The --updated flag is useful for scripts that need to know if updates are actually available.

PARAMETERS

--config _file_

Use alternate pacman configuration file
--dbpath _path_
Use alternate database location
--force
Force database sync even if up-to-date
--updated
Exit successfully only if a database was actually updated
--help
Display help information

CAVEATS

Requires root privileges to update system databases. Uses pacman's configuration for repository and mirror settings. Part of the pacutils package, not installed by default.

HISTORY

pacsync was created by Andrew Gregory as part of pacutils, a collection of helper utilities for pacman. It provides a simpler interface for database synchronization than calling pacman directly.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid