We are within days of the release of version 9.04 of Ubuntu. In each update to a new version is an enormous saturation of the Canonical servers and point the huge consumer demand. This makes upgrading difficult, sometimes fail and use a long time. If your idea is to download the CD ISO image for your architecture, burn and install on your computer my recommendation is to always use bittorrent. With bittorrent you can get a good download speed, which improves as the CD image you want to download this more distributed among the bittorrent network clients. Bittorrent files are on the same page as direct downloads. Just click on the you want to start downloading the client you have installed on your system.

For version 9.04 of Ubuntu Jaunty Jackalope known to the download page is at: Downloads Jaunty . Search for torrents at the end of the page.

On the other hand if you want to upgrade your Ubuntu 8.10 the recommended option is to use apt-p2p.

Apt-P2P is a daemon that keeps running in the background responding to the request made apt for files to download. Apt-p2p is downloading from other users and if this fails try to download packages from the Ubuntu servers so that you really nungun limited time using it. The sharing of packages is done completely using HTTP and works both as a server for other users' requests as a client for requests that do from our machine, ie it is a p2p network.
At any time we can see statistics of how apt-p2p visit our browser http://localhost:9977/ our own machine. This stat sheet can see for example the amount of information downloaded from other users and from Ubuntu servers.

Importantly, our connection to share with others we have port 9977 open for TCP / UDP from the router and firewall to our team or it will not be able to connect to your machine.

Installation

In the Ubuntu repositories have version 1.5.0 of apt-p2p edition only available for 8.10 Intrepid Ibex on. From the terminal we can install it with the following command:

sudo aptitude update && sudo aptitude install apt-p2p

or simply click on the link Install apt-p2p from this article.

Configuration

At this point the first thing to do is backup of our sources.list. For this purpose we use the following command:

sudo cp /etc/apt/sources.list /etc/apt/sources.list-apt-p2p_backup

At any moment we can restore the configuration file apt repositories using this other command:

sudo cp /etc/apt/sources.list-apt-p2p_backup /etc/apt/sources.list

Once the backup can proceed to edit our sources.list. The idea is simple, apt-p2p acts as a proxy on your machine intercepting connections to Ubuntu servers. So we have to add the information to bring to our local proxy which is listening on port 9977.

That is, we add "localhost: 9977 /" without quotes on each line that describes how to access the Ubuntu repositories. Here is an example. If your sources.list appears something like:

intrepid partner deb http://archive.canonical.com/ubuntu
deb-src intrepid partner http://archive.canonical.com/ubuntu

must change to something like:

deb http:// localhost: 9977 / archive.canonical.com / ubuntu intrepid partner
deb-src http:// localhost: 9977 / archive.canonical.com / ubuntu intrepid partner

To open the configuration file repositories from the terminal can use the following command:

sudo gedit /etc/apt/sources.list

Edit the file as seen above, and save. Close gedit to return to the terminal.

After this step we will clear the cache of packages with the following command. Enter it exactly as it is here, as it is a powerful computer and could damage your system.

sudo rm -rf /var/cache/apt-p2p/cache/*

Then you can update the repositories in the same way you've always done with:

sudo apt-get update

You can also do it from Synactic if you prefer.

Once installed and properly configured you can install the same way you did before. For example to install Frozen Bubble can use the following command:

sudo aptitude install frozen-bubble

To find out if you take advantage of apt-p2p can see the stats page with your browser http://localhost:9977/ and you can see how this running apt-p2p.

And most importantly and the reason for this article. When you want to upgrade Ubuntu to the next edition can use any of the following commands:

sudo update-manager -d

Thus opens the Ubuntu update utility. You'll see a button that puts the text [change] with which you start the upgrade process.

or

sudo apt-get dist-upgrade

When using this alternative must manually switch to the new Jaunty repositories, ie change where it says "intrepid" to "jaunty" in your sources.list for the official Ubuntu repositories.

And that's all. In a few days will see the effectiveness of this tool and if we can return her to Ubuntu a bit of everything given to us.

Project page: http://www.camrdale.org/apt-p2p/
Package description: http://packages.ubuntu.com/intrepid/apt-p2p