apt-proxy-import(8)

apt-proxy-import8

Import packages into the apt-proxy cache.

Usage

apt-proxy-import [options] <filename> ...

Overview

apt-proxy-import -r [options] <directory> ...

Options

-V, --version

print version and quit

-v, --verbose

give verbose output

-d, --debug

debug output

-q, --quiet

try not to write messages to stdout

-r, --recursive

recurse into subdirectories

-h, --help

Display this help and exit.

-c, --config-file=

Configuration file

apt-proxy-import imports .deb files into the apt-proxy cache.

It uses the package lists to determine where each file should be placed, so you should run 'apt-get update' to allow apt-proxy to update the package lists before running apt-proxy-import.

Using to bootstrap a new apt-proxy cache

If you have been using apt standalone, you probably have built up a large collection of .debs or .udebs in apt's cache directory. You can import these files into apt-proxy as follows:

1. Update apt-proxy's filelists:

    apt-get update

2. Import files from apt's cache:

    apt-proxy-import /var/cache/apt/archives

Importing apt-move cache

You can import the apt-move generated cache into apt-proxy using the following command:

    apt-proxy-import -r /var/cache/apt-move

This tells apt-proxy-import to recuse over each directory in the apt-move cache.

Files

/etc/apt-proxy/apt-proxy.conf

Releases

4 releases since Debian 3.0 (Woody); the text changed 3 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0

--debug since Debian 4.0 (Etch); --quiet since Debian 3.1 (Sarge); --recursive since Debian 3.1 (Sarge); --verbose since Debian 3.1 (Sarge); --version since Debian 3.1 (Sarge); -V since Debian 3.1 (Sarge); -d since Debian 4.0 (Etch); -q since Debian 3.1 (Sarge); -r since Debian 3.1 (Sarge); -v since Debian 3.1 (Sarge).

-c until Debian 3.0 (Woody).

Bugs

apt-proxy-import does not use max_age or max_versions to clean the cache directory on import.

It does not yet import source.tar.gz or Packages files.

You must run it as the apt-proxy user or as root.

Authors

Chris Halls <[email protected]>, Manuel Estrada Sainz <[email protected]>

From apt-proxy 1.9.36.3+nmu1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.