apt-proxy-import(8)
NAME
apt-proxy-import - Import packages into the apt-proxy cache.
SYNOPSIS
apt-proxy-import [options] <filename> ...
DESCRIPTION
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
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 <halls@debian.org>, Manuel Estrada Sainz <ranty@debian.org>