If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Note:- This is only for advanced users this might break your system
Note: This is still a beta release. Do not install it on production machines. The final stable version will be released in 23rd April 2009.
apt-p2p features
- Downloads from peers, increasing the available bandwidth to the user
- Reduces the bandwidth requirements needed to setup a repository of packages
- Seamlessly integrates with the current APT tool
- Automatically falls back to downloading from an HTTP mirror when peers are not available
- Builds on other already existing tools where possible
- Fast and requires limited CPU and memory
- Will try to download any file it can find a hash for from peers (including Packages.bz2, Sources.gz, …)
Install apt-p2p in ubuntu
sudo aptitude install apt-p2p
This will complete the installation.
Configuring apt-p2p
First you need to take a backup of your source list
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
Edit sources.list file
gedit /etc/apt/sources.list
Add "localhost:9977? after the "http://" save and exit the file
deb http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
deb-src http://localhost:9977/archive.canonical.com/ubuntu intrepid partner
deb http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
deb-src http://localhost:9977/*mirror-address*/ubuntu/ intrepid main universe restricted multiverse
So basically just insert "localhost:9977″ after the "http://" and where **mirror-address** is the address of the mirror
Now remove the cache files using the following command
sudo rm -rf /var/cache/apt-p2p/cache/*
Update the source list file using the following command
sudo apt-get update
Start upgrade from Interpid to Jaunty
sudo update-manager -d
If you want to Check peers, downloads and uploads speed and DHT statistics Open Internet browser,
go to http://localhost:9977