README.md 1.5 KB

Apt-P2P Clean

apt-p2p-clean cleans up the Apt-P2P cache by checking if .deb files in the cache (after it is cleaned by apt-get autoclean or aptitude autoclean) and removing those .deb files that are not present.

It is released under the Apache License, Version 2.0.

Download

You can check out the code straight from the Git repository:

git clone https://git.douglasthrift.net/douglas/apt-p2p-clean.git

Debian/Ubuntu

On Debian or Ubuntu you can install it from apt.douglasthrift.net:

apt-get install apt-p2p-clean

Documentation

Usage: apt-p2p-clean [options]

Options:
  -a ARCHIVE, --archive=ARCHIVE   set the APT archive directory (default:
                                  /var/cache/apt/archives)
  -c CACHE, --cache=CACHE         set the Apt-P2P cache directory (default:
                                  /var/cache/apt-p2p/cache)
  -e, --execute                   clean up the Apt-P2P cache
  -h, --help                      show this help message and exit
  -n, --no-execute                show what would be done to clean up the
                                  Apt-P2P cache
  -v, --version                   show version information and exit