apt-p2p - apt helper for peer-to-peer downloads of Debian packages

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name apt-p2p
Package version 0.1.8
Package architecture all
Package type deb
Installed size 522 B
Download size 87.90 KB
Official Mirror ftp.br.debian.org
Apt-P2P is a helper for downloading Debian packages files with APT.
It will download any needed files from other Apt-P2P peers in a
peer-to-peer manner, and so reduce the strain on the Debian mirrors.
The Apt-P2P daemon runs automatically on startup and listens for
requests from APT for files, as well as maintaining membership in a
Distributed Hash Table (DHT). For any files which have a hash
available (most files), peers that have the file are looked for in the
DHT. The file can then be downloaded from them, using the uploading
bandwidth of other peers while reducing the demand on the Debian mirror
network. However, if a package can not be found on any peers, Apt-P2P
will fall back to downloading from a mirror to ensure all packages are
downloaded. Once downloaded, the file is hash checked and added to the
DHT so that other peers can download it without the mirror.
The configuration is very simple, and only involves prepending
'localhost' and the port to your current sources.list lines (similar
to other apt-proxy-like software).


Package Version Architecture Repository
apt-p2p_0.1.8_all.deb 0.1.8 all Debian Main
apt-p2p - - -


Name Value
adduser -
python -
python-apt >= 0.7.93
python-debian >= 0.1.15
python-pysqlite2 >= 2.1
python-twisted-web2 >= 8.0
python:any << 2.8
python:any >= 2.7.5-5~


Name Value
python-apt-p2p -
python-apt-p2p-khashmir -


Type URL
Binary Package apt-p2p_0.1.8_all.deb
Source Package apt-p2p

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install apt-p2p deb package:
    # sudo apt-get install apt-p2p




2015-02-22 - Michael Gilbert <mgilbert@debian.org>
apt-p2p (0.1.8) unstable; urgency=medium
* QA upload.
* Really import OpProgress from apt.progress.base (closes: #778674).
2014-10-13 - Michael Gilbert <mgilbert@debian.org>
apt-p2p (0.1.7) unstable; urgency=medium
* QA upload.
* Set maintainer to Debian QA Group.
* Update package to newer standards.
* Use dh-python instead of python-support.
* Import OpProgress from apt.progress.base (closes: #745306).
2012-11-18 - Michael Gilbert <mgilbert@debian.org>
apt-p2p (0.1.6+nmu1) unstable; urgency=medium
* Non-maintainer upload.
* Import OpProgress from apt.progress.old (closes: #635969).
2010-03-21 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.6) unstable; urgency=low
* Update for python-apt 0.8 API transition (Closes: #572078)
* Fix a lot of lintian warnings and errors
- Update standards version to 3.8.4 (no changes)
* Fix various documentation issues
(Closes: #518590, #518549, #518548, 518550)
* Add an enable variable to the /etc/default file (Closes: #518594)
* Use python-debian's new debian package instead of debian_bundle
2008-06-21 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.5) unstable; urgency=low
* Prevent BitTorrent nodes from infiltrating the DHT.
* Consume ping errors so they aren't printed in the log.
* Add a logrotate file that should work with the twistd log rotation.
2008-06-15 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.4) unstable; urgency=low
* Add remote_fs dependency in init.d LSB header (Closes: #480645)
* Use the version number in the Khashmir node ID.
2008-05-09 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.3) unstable; urgency=low
* Speed up downloading from peers
- Set a new peer's ranking values so they don't get an unfair
- Reduce the HTTP connection timeout to 10s.
- Drop peers after a limited number of errors.
* Speed up the DHT requests when nodes fail
- Schedule a re-ping message after adding a new node.
- When a node fails, schedule a future ping to check again.
- Send periodic finds to nodes that are stale.
- Increase the stored value redundancy to 6.
- Increase the concurrency of DHT requests to 8.
- Add early termination and ignoring slow responses to
recursive DHT actions when timeouts occur.
* Remove the debconf note about port forwarding (Closes: #479492)
- Add a NEWS entry for port forwarding
2008-05-04 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.2) unstable; urgency=low
* Fixed a bug in the HTTP downloader that caused errors with some
mirrors that always close the connections (Closes: #479455)
2008-05-03 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.1) unstable; urgency=low
* Fix: no files were added to the DHT due to missing hashing results.
* Lower the timeout to 9 sec to reduce delays.
* Be more careful about which nodes get added to the routing table
- Only add nodes to the routing table that have responded to a request.
- Don't try and add ourself to the routing table during an action.
- Don't add local IP addresses to the routing table (with config
option to override).
- Fix the broken local IP regexes.
* Don't log KRPC errors for receiving an invalid store_value token.
2008-04-25 - Cameron Dale <camrdale@gmail.com>
apt-p2p (0.1.0) unstable; urgency=low
* Initial release.

See Also

Package Description
apt-rdepends_1.3.0-3_all.deb Recursively lists package dependencies
apt-show-source_0.10_all.deb Shows source-package information
apt-show-versions_0.22.4_all.deb lists available package versions with distribution
apt-src_0.25.1-0.2_all.deb manage Debian source packages
apt-transport-https_1. https download transport for APT
apt-transport-spacewalk_1.0.6-4.1_all.deb APT transport for communicating with Spacewalk servers
apt-transport-tor_0.2.1-1_amd64.deb APT transport for anonymous package downloads via Tor
apt-utils_1. package management related utility programs
apt-venv_1.0.0-1_all.deb apt virtual environment
apt-xapian-index_0.47+deb8u1_all.deb maintenance and search tools for a Xapian index of Debian packages
apt_1. commandline package manager
aptdaemon-data_1.1.1-4+deb8u1_all.deb data files for clients
aptdaemon_1.1.1-4+deb8u1_all.deb transaction based package management service
aptfs_0+git201108031956-38fb8dc-3_all.deb FUSE filesystem for APT source repositories
apticron_1.1.57_all.deb Simple tool to mail about pending package updates