How to install several kernels on Debian

How to install several kernels on Debian

Tzafrir Cohen tzafrir at cohens.org.il
Tue Dec 15 16:04:04 IST 2015


On Tue, Dec 15, 2015 at 02:03:34PM +0200, Oleg Goldshmidt wrote:
> Yedidyah Bar David <linux-il at didi.bardavid.org> writes:
> 
> > On Sun, Dec 13, 2015 at 3:06 PM, Oleg Goldshmidt <pub at goldshmidt.org> wrote:
> >>
> >> this is something that Red Hat do without being asked
> >> (they keep several versions, usually 3), so it is something that seems
> >> natural to me.
> >
> > Generally, should work similarly in Debian.
> 
> So what's the apt-get equivalent of yum install (as apt-get install is
> similar to yum update)?

You can't have multiple versions of the same package installed. Note
that a kernel package with a different release (uname -r) has a
different name, and is thus a different package - they don't conflict.

> > No idea about your specific issue. Did you try to also upgrade udev and
> > initramfs-tools?
> 
> Will my 3.2 keep working? I have no confidence in that. Again, I do not
> want to "upgrade" anything - I want to switch between several kernels at
> will. I also do not want to compile - I want stock Debian kernels.

Thus you can keep your 3.2 kernel. It's a different package.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
tzafrir at debian.org    |                    | friend



More information about the Linux-il mailing list