Cameron"> Dale"> February 17, 2008"> 8"> camrdale@gmail.com"> apt-p2p"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2008 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; apt helper for peer-to-peer downloads of Debian packages Normally &dhpackage; is run from init.d using twistd, in which case no &dhpackage; options can be specified on the command-line, and all configuration variables are read from the default config file locations of ${HOME}/.apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf. The command is then: twistd -y /path/to/&dhpackage; For a detailed listing of the twistd options, see twistd1 &dhpackage; can also be run without twistd by executing: &dhpackage; In this case, you can specify the options documented below on the command-line. DESCRIPTION This manual page documents briefly the options available to the &dhpackage; command. &dhpackage; is a helper for downloading Debian packages files with APT. It will download any needed files from other Apt-P2P peers in a bittorrent-like manner, and so reduce the strain on the Debian mirrors. In order for APT to send it's requests to &dhpackage;, the source.list entries must be modified to point to the local &dhpackage; address. Unless you have changed the default port, then adding "localhost:9977/" to the beginning of each entry should be sufficient. For example, if your sources.list contains a line like this: deb http://ftp.us.debian.org/debian etch main contrib non-free then replace it with this: deb http://localhost:9977/ftp.us.debian.org/debian etch main contrib non-free The port can be changed in the &dhpackage; config file in /etc/&dhpackage;/&dhpackage;.conf, but it defaults to 9977. OPTIONS These programs follow the usual &gnu; command line syntax, with short options starting with a single dash (`-'), and long options starting with two dashes (`--'). A summary of options is included below. the filename to use for the configuration file, options found in this file are combined with those in ${HOME}/.apt-p2p/apt-p2p.conf and /etc/apt-p2p/apt-p2p.conf (see apt-p2p.conf5 for the format of the file) the filename to print log messages to, or `-' to log to standard output, if not specified then /var/log/apt-p2p.log will be used , print a help message describing the invocation of the program , print the version of the program SEE ALSO apt-p2p.conf5, twistd1 AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.