update_approx(8)

update_approx8

Update cached packages and sources files

Usage

update_approx [OPTION] [FILE] ...

Overview

update_approx updates the Packages and Sources files in the approx(8) cache by downloading and applying pdiffs.

Options

-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:

update_approx --quiet

This is run as a daily cron(8) 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):

update_approx --keep --verbose

Files

/etc/approx/approx.conf

Configuration file for approx and related programs.

/var/cache/approx

Cache directory for archive files.

Author

Eric Cooper <[email protected]>

From approx 3.3.0 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.