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.
--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).