---
name: "sync-available"
section: "8"
platform: "linux"
package: "dctrl-tools"
version: "2.24-3+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sync-available"
---

# sync-available(8)

sync dpkg's available database with apt's database

## NAME

sync-available - sync dpkg's available database with apt's database

## SYNOPSIS

**sync-available**

**sync-available --version**

**sync-available --help**

## DESCRIPTION

This program updates the [**dpkg**(8)](/dpkg/8.md) *available* database with the data in the [**apt**(8)](/apt/8.md) package database.  This is required for [**grep-available**(1)](/grep-available/1.md) and other similar programs to give up-to-date results.

The same functionality is available through [**dselect**(8)](/dselect/8.md), when it is configured to use [**apt**(8)](/apt/8.md) as its acquisition method.  However, this program does not require that [**dselect**(8)](/dselect/8.md) is installed.

## EXIT STATUS

The program exits with status code **0** if all went well, and a non-zero status code otherwise.

## OPTIONS

- **--version**

  Output the name and version of the program onto standard output stream.

- **--help**

  Give a brief usage statement on the standard output stream.

## ENVIRONMENT

- **TMPDIR**

  The name of the directory where temporary files are created.  Default is */tmp*.

## AUTHOR

The program and this manual page were written by Antti-Juhani Kaijanaho \<ajk@debian.org\>.

## SEE ALSO

[**grep-available**(1)](/grep-available/1.md), [**apt**(8)](/apt/8.md), [**dpkg**(8)](/dpkg/8.md), [**dselect**(8)](/dselect/8.md)
