Re: apt pinning and getting linux-image-686 from unstable
On Wed, Jun 03, 2009 at 04:31:32PM -0400, H.S. wrote:
> Hello,
>
> Can somebody tell me if the following is possible using apt pinning? I
> want to install the newer version of kernel (linux-image-2.6-686, ver
> now is, I think, 2.6.29-3) from Untable to my Testing machine.
Please read:
http://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_tweaking_candidate_version
> I am thinking of using apt pinning. I know that I need to set the
> default release to "testing" in apt.conf, add unstable sources to
> sources.list and then create /etc/apt/preferences file specifying the
> package I want from unstable and its priority. Something like:
> ----------------------------------------------------------------
> ~$ cat /etc/apt/preferences
> Package: *
> Pin: release a=testing
> Pin-Priority: 700
>
> Package: <package to be pulled from unstable>
> Pin: release a=unstable
> Pin-Priority: 1000
>
> Package: *
> Pin: release a=unstable
> Pin-Priority: -1
> ----------------------------------------------------------------
Quite wong ...
Reply to: