On Tue, Aug 01, 2000 at 04:49:23PM -0500, Sean Richardson wrote: > > I guess my question was is there a way to tell apt-get to use woody for > some packages and potato for others...without manually switching my > sources.list every time between potato and woody. >
I use a little script called unstable-apt-get which automates this; --------- cut here #! /bin/bash # -*- sh -*- perl -pi.bak -e 's/^##(deb.*unstable)/$1/g' /etc/apt/sources.list apt-get $@ perl -pi.bak -e 's/^(deb.*unstable)/##$1/g' /etc/apt/sources.list --------- cut here This way I can safely use plain "apt-get dist-upgrade" and apt will ignore unstable, but I can "unstable-apt-get install foo" and get the bleeding edge version of foo. your pal dave -- Dave Thayer Denver, Colorado USA [EMAIL PROTECTED]