---
name: "approx-update"
section: "8"
platform: "linux"
package: "approx"
version: "4.5-1+squeeze1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/approx-update"
---

# approx-update(8)

update cached Packages and Sources files

## NAME

approx-update - update cached Packages and Sources files

## SYNOPSIS

**approx-update** \[*OPTION*\]...

## DESCRIPTION

**approx-update** updates the Packages and Sources files in the [**approx**(8)](/approx/8.md) cache by downloading and applying pdiffs.

## OPTIONS

- **-c** file, **--config** file

  Specify an additional configuration file. May be used multiple times.

- **-k**, **--keep**, **-s**, **--simulate**

  Don't download, update, or remove any files in the cache.

- **-q**, **--quiet**

  Don't print information about status, updates, or removals.

- **-v**, **--verbose**

  Print the status of each Packages or Sources file.

## EXAMPLES

To download and apply any pdiffs necessary to bring the Packages and Sources files in the cache up to date:

-

  approx-update --quiet

This is run as a daily [**cron**(8)](/cron/8.md) job.

To show the status of each Packages and Sources file in the cache (whether it is up-to-date according to the corresponding Release file):

-

  approx-update --keep --verbose

## FILES

- */etc/approx/approx.conf*

  Configuration file for **approx** and related programs.

- */var/cache/approx*

  Default cache directory for archive files.

## SEE ALSO

[*approx.conf*(5)](/approx.conf/5.md), [**approx**(8)](/approx/8.md), [**approx-gc**(8)](/approx-gc/8.md), [**cron**(8)](/cron/8.md)

## AUTHOR

Eric Cooper \<ecc@cmu.edu\>
