2 added 284 characters in body
source | link
  • Reboot the machine.
  • From Debian advanced menu on Grub, choose a kernel different from the one you want to remove.
  • If you're on Debian you'd have a meta package for the kernel installed.

    gayan@deb:~$ dpkg -l | grep linux 
    ii  linux-image-amd64                     4.9.25-1~bpo8+1
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    ii  linux-image-4.9.0-0.bpo.3-amd64       4.9.25-1~bpo8+1
    
  • Simply purge the meta package (linux-image-amd64) and and reinstall it.

    Then you'd have:

    gayan@deb:~$ dpkg -l | grep linux
    ii  linux-image-amd64                     3.16.43-2
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    
  • Reboot.


Info:

linux-image-amd64 is a meta package. It could point to a either stable kernel or a back-ported one (4.9.25-1~bpo8+1) depending on how you install it:

apt-get -t jessie-backports install linux-image-amd64

or

apt-get install linux-image-amd64
  • Reboot the machine.
  • From Debian advanced menu on Grub, choose a kernel different from the one you want to remove.
  • If you're on Debian you'd have a meta package for the kernel installed.

    gayan@deb:~$ dpkg -l | grep linux 
    ii  linux-image-amd64                     4.9.25-1~bpo8+1
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    ii  linux-image-4.9.0-0.bpo.3-amd64       4.9.25-1~bpo8+1
    
  • Simply purge the meta package (linux-image-amd64) and and reinstall it.

    Then you'd have:

    gayan@deb:~$ dpkg -l | grep linux
    ii  linux-image-amd64                     3.16.43-2
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    
  • Reboot.

  • Reboot the machine.
  • From Debian advanced menu on Grub, choose a kernel different from the one you want to remove.
  • If you're on Debian you'd have a meta package for the kernel installed.

    gayan@deb:~$ dpkg -l | grep linux 
    ii  linux-image-amd64                     4.9.25-1~bpo8+1
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    ii  linux-image-4.9.0-0.bpo.3-amd64       4.9.25-1~bpo8+1
    
  • Simply purge the meta package (linux-image-amd64) and and reinstall it.

    Then you'd have:

    gayan@deb:~$ dpkg -l | grep linux
    ii  linux-image-amd64                     3.16.43-2
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    
  • Reboot.


Info:

linux-image-amd64 is a meta package. It could point to a either stable kernel or a back-ported one (4.9.25-1~bpo8+1) depending on how you install it:

apt-get -t jessie-backports install linux-image-amd64

or

apt-get install linux-image-amd64
1
source | link

  • Reboot the machine.
  • From Debian advanced menu on Grub, choose a kernel different from the one you want to remove.
  • If you're on Debian you'd have a meta package for the kernel installed.

    gayan@deb:~$ dpkg -l | grep linux 
    ii  linux-image-amd64                     4.9.25-1~bpo8+1
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    ii  linux-image-4.9.0-0.bpo.3-amd64       4.9.25-1~bpo8+1
    
  • Simply purge the meta package (linux-image-amd64) and and reinstall it.

    Then you'd have:

    gayan@deb:~$ dpkg -l | grep linux
    ii  linux-image-amd64                     3.16.43-2
    ii  linux-image-3.16.0-4-amd64            3.16.43-2
    
  • Reboot.