On Mon, Dec 26, 2005 at 02:41:19AM +0200, Alex Alexander wrote:
> On Sunday 25 December 2005 17:16, Tzafrir Cohen wrote:
> >
> > The hard way:
> >
> >   kernel-image-2.6.8-2-686
> >
> > The easy way:
> >
> >   kernel-image-2.6-686
> >
> > > - Source of the packages (if not mirrored by Hamakor)
> >
> >   kernel-source-<version>
> 
> It's 
>       linux-image-2.6-686
> and
>       linux-source-<version>
> 
> actually :)

kernel-image . linux-image is a new Etch thingie.

> 
> adding 
>       deb http://security.debian.org/ stable/updates main
> in your 
>       /etc/apt/sources.list 
> and running
>       apt-get update && apt-get upgrade
> 
> should fix everything for u without much hassle (just reboot afterwards).

Not if you have "kernel-image-2.6.8-1-686" installed and didn't install
the virtual package kernel-image-2.6-686 .

The change from -1- to -2- was because there was a change there that
broke theABI to many modules. And thus you had to use a different
version string in case someone built third party modules against it.

> 
> However you could add the testing repositories, create a preferences file (to 
> block testing packages from being used automatically) and only install the 
> testing kernel package.

And then you get a linux-image package (rather than kernel-image
package). 

> 
> Here's how:
> 
> * add testing to your sources.list file 
> * create /etc/apt/preferences with the following contents:
> 
> Package: *
> Pin: release o=Debian,a=stable
> Pin-Priority: 900
> 
> Package: *
> Pin: release o=Debian,a=testing
> Pin-Priority: 400
> 
> * #apt-get update
> * #apt-get install linux-image-2.6-686 -t testing
> 
> apt-get upgrade will still stick to sarge/stable (best of both worls ;)

And now I get to update my kernel image package whenever the testing
package changes. Not to mention the daily downloads of the whole
Packages.gz of testing just for one package. 

For such simple cases, I rather just dpkg --install package.deb .

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                           | a Mutt's  
[EMAIL PROTECTED] |                           |  best
ICQ# 16849755         |                           | friend


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to