Re: Incorporating testing or unstable
On Fri, Mar 08, 2002 at 11:16:54PM -0600, Timothy R. Butler wrote:
> Hi,
> > Can anyone tell me the process by which I might incorporate
> [...]
> > specific- instances of testing packages but on the whole remain
> > at stable.
>
> First, create an /etc/apt/preferences file, and put something like this in
> it:
>
> #------------------------------
> Package: *
> Pin: release a=stable
> Pin-Priority: 900
>
> Package: *
> Pin: release o=testing
> Pin-Priority: 500
>
> Package: *
> Pin: release o=unstable
> Pin-Priority: 1
> #------------------------------
Alternatively you can put the line
Apt::Default-Release "stable";
in /etc/apt/apt.conf. I'm not sure if that has *exactly* the same effect
though.
> Now, once you put that in there, add a testing and/or unstable mirror to
> your sources.list file. By doing this, apt-get should default to stable, then
> to testing, then finally to unstable.
> To grab something from a specific version - say unstable - you can do this:
>
> apt-get install -t unstable [packagename]
Won't this het *all* dependencies from unstable? Even if they're also
available from, say, testing? I always use this:
apt-get install [packagename]/unstable
Of course, any dependencies that must come from unstable will have to be
added on the command line as well.
--
Note that I use Debian version 3.0
Linux mus 2.4.17mvz2 #1 Wed Feb 27 17:41:43 CET 2002 i686 unknown
Matijs
Reply to: