sourCEntral - mobile manpages

pdf

UPDATE_APPROX

NAME

update_approx − update cached Packages and Sources files

SYNOPSIS

update_approx [OPTION] [FILE]...

DESCRIPTION

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.

SEE ALSO

approx.conf(5), approx(8), gc_approx(8), cron(8)

AUTHOR

Eric Cooper <ecc AT cmu DOT edu>

pdf