On Sat, 10 Jul 2004 18:00:25 -0400 * Tong* <[EMAIL PROTECTED]> wrote:
> On Thu, 08 Jul 2004 20:14:05 -0500, Jacob S. wrote: > > > If I'm understanding you properly, you want apt-pinning to work with > > 4 repositories: 1) CDs, 2) stable on debian.org servers, 3) testing > > on debian.org server and 4) unstable on debian.org servers. > > This is really a good and comprehensive article. Some further > questions: > > In order to get all stable, testing and unstable from the same server, > I read that the the deb source line should be altered (but no how). > Could you give us an example? You mean like the following? # Stable deb http://http.us.debian.org/debian woody main contrib non-free # Testing deb http://http.us.debian.org/debian sarge main contrib non-free # Unstable deb http://http.us.debian.org/debian unstable main contrib non-free Similar thing for deb-src lines: # Stable deb-src http://http.us.debian.org/debian woody main contrib non-free # Testing deb-src http://http.us.debian.org/debian sarge main contrib non-free # Unstable deb-src http://http.us.debian.org/debian unstable main contrib non-free (Note this is not a complete sources.list file. I just an excerpt as an example.) > [...] > > It should also get Woody's packages off the > > CDs instead of the internet whenever possible. > > Can you explain this a bit please? The first line of my > /etc/apt/sources.list (testing) is > > deb file:///cdrom/ sarge main. > > I think to pick cdrom first, you have to give sarge/woody the top > priority, right? I believe this is correct, but I don't have much experience. If my understanding is correct though, it would only make a difference for the same version of a .deb file in two locations. If the two .deb files are different versions, then it will look at your /etc/apt/preferences and apt.conf file, instead of the order you placed the lines in sources.list. > > You can also set the following line in /etc/apt/apt.conf, but I > > didn't find it essential when I was using it: > > > > APT::Default-Release "stable"; > > Interesting, that was what the article I was reading suggested... Interesting. I've used pinning for over a year now and didn't have that line in apt.conf until after I upgraded to Sarge recently. > > Also, there were a couple of large library upgrades between Woody > > and Sarge (testing), such as libc6. > > How big the difference is between testing and unstable? Anybody knows? When I upgraded from Woody (r2) to Sarge recently, I downloaded about 500 - 600MB in updates. This is on an installation with about 3.8GB of packages installed - including most Gnome and KDE libraries. Also note that I'm seeing another couple MB of updates per week right now. HTH, Jacob -- GnuPG Key: 1024D/16377135 Random .signature #16: Why use Windows, when there's a door? http://www.linux.org
pgpRnmqj2gSme.pgp
Description: PGP signature