Osamu Aoki wrote: > 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 ... > >
I suppose you meant 'wrong'. What is the correction? How about the following? ---------------------------------------------------------------- ~$ cat /etc/apt/preferences Package: * Pin: release a=testing Pin-Priority: 700 Package: * Pin: release a=unstable Pin-Priority: 200 ---------------------------------------------------------------- and to use "-t" with the package I want. Would this work in tracking the newer version of the kernel package from unstable once I install it using -t? -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org