Apt-Cacher NG maintenance page for @H

Transfer statistics

@T
Period Cache efficiency
  Requests   Data
  Hits Misses Total   Hits Misses Total

Note: data table is created based current log file. Deviation from real request count is possible due to previous log file optimization.

Configuration instructions

Please visit any invalid download URL to see configuration instructions for users. For system administrators, read the manual which may be available on the local filesystem or be browsable here.

Index update and processing options

Temporary options for the general behavour and index update configuration can set in this user interface. They are only relevant to expiration and import features triggered below.
Stop cleanup on errors during index update step
More verbosity
Force the download of index files (even having fresh ones)

Expiration

Expiration mechanism is needed to delete files from the local cache when they are removed on the servers, e.g. when the software versions of the package is updated and the package files are replaced. This is rarely needed when Stable system distribution is used by the clients, but use of unstable branches with high fluctuation requires to clean up the local cache from time to time. ACNG includes helper code to identify unreferenced files automatically (executed with the button below).
Warning: this operation may redownload all index files. The current implementation does not support delta-based reconstruction of index files ("pdiff" mechanism).

Scan and semi-automatic expiration

The default method does update the index files, check the files present in the cache and optionally delete them. The checks consist of file name comparison and optionally file contents verification or directory location comparison. Files that are not listed in any index file or have incorrect contents are marked for removal in one of the later sessions, or can be removed by direct user action triggered with the controls below.

Skip header checks (faster, not detecting bad metadata)
Validate by file name AND file directory (not recommended)
Validate by file name AND file contents through checksum (SLOW). Also detects corrupted files.
Purge unreferenced files after scan

Direct actions

Import

Importing package files from foreign sources works in following case:

Files can be assigned to known download locations. The locations become known when they are found in index files. However, this index files must exist in the package cache, therefore at least one client needs to download them, i.e. running "apt-get update" on a client system which is configured for use with ACNG. See ACNG manual for more details.

When all conditions are met put your files into the "_import" directory, e.g. /var/cache/apt-cacher-ng/_import/. Subdirectories and symlinks are ok. Then run import.