Rechercher une page de manuel
approx-import
Langue: en
Version: November 2008 (ubuntu - 08/07/09)
Section: 8 (Commandes administrateur)
NAME
approx-import - copy local .deb files into the approx cacheSYNOPSIS
approx-import [OPTION]... file.deb ...
DESCRIPTION
approx-import copies local .deb files, such as those found in /var/cache/apt/archives, into the approx(8) cache.
It does so by extracting the Debian package name, version number, and architecture from the filename. If these correspond to a package in one of the Packages files in the approx(8) cache, then the file is copied to the appropriate location in the cache.
Although the size of the file is verified to be correct before copying, the MD5, SHA1, and SHA256 cryptographic checksums are not, in the interest of speed. The approx-gc(8) command can be run subsequently for that purpose.
OPTIONS
- -s, --simulate
- Scan files but do not actually copy them into the cache.
- -q, --quiet
- Don't print the names of files that are imported.
- -v, --verbose
- Print information about each file.
EXAMPLES
To import packages from the local apt(8) cache:
- approx-import /var/cache/apt/archives/*.deb
To import packages from another proxy's cache:
- find other-cache -name "*.deb" | xargs approx-import
(where other-cache is the pathname of the other proxy's cache directory)
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), approx-update(8)AUTHOR
Eric Cooper <ecc@cmu.edu>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre