Use apt-p2p To Improve Ubuntu 9.04 Upgrade 269
An anonymous reader writes "With Jaunty Jackalope scheduled for release in 12 days on April 23, this blog posting describes how to switch to apt-p2p in preparation for the upgrade. This should help significantly to reduce the load on the mirrors, smooth out the upgrade experience for all involved, and bypass the numerous problems that have occurred in the past on Ubuntu release day. Remember to disable all third-party repositories beforehand."
Re:Website and Warning (Score:5, Insightful)
The site looks badly outdated. The caveat I would add to your warnings is that the upload speed is uncapped by default. You'll want to limit this unless you want the world to be able to leech you hard. If I left this unlimited my ISP would fucking kill me.
Re:Alternate CD (Score:3, Insightful)
That will help a lot, but you're still going to have a lot to get from the mirrors on a typical system. Odds are, many of the packages in the ISO will be outdated by the time you get it :P I'm running apt-get update on my apt-p2p'd system and so far, so good.
I'm upgrading to 8.10 (Score:2, Insightful)
Currently on 8.04, I'll be upgrading to 8.10 sometime after 9.04 is released.
Staying 6 months behind is a reasonable compromise. Let the lab rats (er, enthusiasts!) debug the new stuff first. Last time I checked 8.10 in a VM there was something like 320MB worth of updated packages.
As for the packages themselves, run a local apt proxy like approx [debian.org], especially if you have more than one Debian or Ubuntu system. It keeps a copy of every .deb you download, and automatically purges the ones that are outdated.
Good citizenship (Score:3, Insightful)
What I like about this is not so much the potentially faster upgrade as the ability to contribute a bit to others. The six-monthly upgrades are are rate enough that I don't mind if they are a bit slow - not that they have been. But I am very conscious that I am using other people's freely given bandwidth and I am pleased to be able to give some back.
Does anybody know if I can force my various machines to cross-peer from each other? If I update one first, I don't want the others searching the Net for peers - they should just copy from the first.
More Linux mirrors needed (Score:5, Insightful)
Many primary Linux download sites wind up taking an unreasonable amount of traffic from default setups. If you want to contribute back to the OS's and packages that you find so useful, consider setting up a local mirror to share with the world at large. If you can't justify that, at least consider setting up an internal rsync mirror anytime you have a dozen or more boxes to make updates and downloads much faster for your site, and configure your local machines to point to that local mirror.
This turns out to be especially useful for PXE installaters and cluster setups, for any Linux or other OS. There's nothing like having 100 internal Linux machines all trying to update OpenOffice at the same time from an external primary site, through a corporate DSL line, to ensure that many of the updates will fail.
Why upgrade? (Score:5, Insightful)
If it works, why upgrade at all?
Ubuntu 8.04 is a Long Term Support (LTS) release. It will have any security patches until the next LTS release, which is typically every 18 months. So, why not just wait for 9.10?
ws
Re:I'm upgrading to 8.10 (Score:3, Insightful)
I've never had an Ubuntu upgrade completely kill my filesystem or hard drive.
"I know what you're asking yourself..."
Re:good idea but... (Score:3, Insightful)
They are in bed with the RIAA and MPAA, but they give massive bandwidth, and do not block any ports or filter p2p.
So, they're letting you do whatever you want, to make sure they maximize the amount of money they can sue you for?
Partitions are your friend (Score:4, Insightful)
Me too. Often it's quicker to do a full install from scratch.
That's why my systems always have at least two different partitions: one for "/" and another for "/home". I can reformat my system partition and still have my data intact.
Re:good idea but... (Score:1, Insightful)
Of course, if you're not using p2p to download copyrighted material, that might not be a problem.
Re:good idea but... (Score:3, Insightful)
Mirror anxiety (Score:1, Insightful)
Is it just me or is the fun game of "pick your closest mirror" not very fun at all? Just download the damn thing at best possible speed. I don't care where you get it from.
As if I'm in a position to pick the best site where to download something from. Give me a break. Apologies to the power users who can lick their Ethernet cable and tell which site will have the best download performance and availability.
Re:More Linux mirrors needed (Score:4, Insightful)
its reasonable, but yes you should have one computer set to upgrade and hour before the rest, and large deployments could use a local mirror. Its smart unlike a regular proxy server.
Re:Mirror anxiety (Score:5, Insightful)
Is your point that a host that's connected via T-1 that's a mile away is faster than a host that's connected on an OC-3 3,000 miles away? That is, based on knowing the geographic location of a host, you're saying it's somehow an indication of how fast my download will complete? That's the only thing that matters to me -- when will I have my completed bits. My only point here is that the information given in mirror selection is not enough to pick the "fastest" way to get what I want. It lists the geographical location and that's it.
Yes. Yes it is. If such a list can be generated, then why not just generate it in normal operation or list the mirrors based on the output of that tool? Though I do appreciate the tip, and I will try it. Obviously bandwidth and availability varies on a day by day basis. So taking a snapshot at one point in time seems like it will get stale.
It's a legitimate end-user concern. "Which mirror should I select" should not be a user problem. The user wants his bits as soon as possible, which is a technical problem that has allegedly been solved with apt-spy. If that's the case, we should probably integrate that with the mirror selection process, and then you don't have to put up with all the "Nonsense".
Re:Alternate CD (Score:3, Insightful)
The person who modded you up obviously misunderstood my comment and/or the situation vis-a-vis updating your system in the same way you did: every package on your system is unlikely to be represented on the alternate install CD, and even some of those which are will be outdated by the time you get the ISO, so you will still be downloading numerous packages from the repositories. I didn't say it wouldn't help. You either didn't read my comment, didn't understand my comment, or don't understand the relationship between the repo on the CD and the live repo.
Re:Is upgrading worthwhile? (Score:3, Insightful)
Upgrades of Linux distributions work much better than Windows distributions because of the library structure and package dependancy system.
If you try to upgrade a library on Linux to a new version that cannot coexist with a previous version that other apps depend on, the new package will be set up so that it tells you it needs to remove the old library and its dependent apps if you really want to proceed.
There's also not going to be a lot of garbage hanging around in a "registry". If a package doesn't work because of settings, they're easily removed from /etc (or a '.' directory in your home directory, for personal settings) and can in no way be harming unrelated apps.
On Windows.... I agree that clean installs are the better policy.
Re:Website and Warning (Score:2, Insightful)
In any case, even if somebody could produce a file that matched the checksum, you would have to download the entire file from that one source, as any discrepancies in the data would produce an incorrect checksum. Typically with p2p (though I'm not sure of apt-p2p's particular method), you are downloading from multiple sources, and it's unlikely that they would all have that file unless they themselves were downloading it only from that one source.