I want to install kernel 4.5 on a Debian Jessie machine (I want to be as close as possible to a specific machine I have in production).

Currently the version on the backports repo is 4.7, and I can't find a way to obtain 4.5

How do I look for versions that are not the latest? Any repository I can add that holds an archive?

2 Answers 2

echo 'Acquire::Check-Valid-Until false;' > /etc/apt/apt.conf.d/archive
echo 'deb http://snapshot.debian.org/archive/debian/20160529T223338Z/ jessie-backports main contrib non-free' > /etc/apt/sources.list.d/debian-snapshot.list
apt-get update
apt-get install linux-image-4.5.0-0.bpo.2-amd64

But you don't need this, because 4.7 is fully compatible with 4.5 and there are no significant performance issues at all. I do not recommend to use kernel 4.5, but if you want...

  • It's for investigation purposes, not really usage in production. checking for specific vulnerabilities
    – Tom Klino
    Commented Nov 16, 2016 at 14:57
  • Also, how did you know to look for that specific snapshot. They seem to be organized by date, not by version. Is there a way to look for a version in them?
    – Tom Klino
    Commented Nov 16, 2016 at 15:01
  • 1
    @TomKlino: Yes. From snapshot.debian.org you can navigate to snapshot.debian.org/binary/?cat=l and choose what version do you want. Commented Nov 16, 2016 at 20:50

You can use the GUI Ukuu Kernel Upgrade Utility for debian too, although it installs the Ubuntu-Kernels then on your Debian-System, which could lead to problems (I am not sure)

Just download the .deb package and install with

dpkg -i ukuu-latest-amd64.deb

(at the moment the debian download seems offline, I hope they fix that)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .