HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pacsync — Update sync databases. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpacsyncupdatecliinformationdatabasesmoresync
linux

Problem

How to use the pacsync command: Update sync databases. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacsync.pod>.

Solution

pacsync — Update sync databases. More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacsync.pod>.

Update all sync databases:
sudo pacsync


Update specific sync databases:
sudo pacsync {{repository1 repository2 ...}}


Update sync databases even if they are already up-to-date:
sudo pacsync --force


Update sync databases using a specific configuration file:
sudo pacsync --config {{path/to/pacman.conf}}


Update sync databases and return true only if a database was actually updated:
sudo pacsync --updated

Code Snippets

Update all sync databases

sudo pacsync

Update specific sync databases

sudo pacsync {{repository1 repository2 ...}}

Update sync databases even if they are already up-to-date

sudo pacsync --force

Update sync databases using a specific configuration file

sudo pacsync --config {{path/to/pacman.conf}}

Update sync databases and return true only if a database was actually updated

sudo pacsync --updated

Context

tldr-pages: linux/pacsync

Revisions (0)

No revisions yet.