Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #204094

Re: How to ensure that old kernel does not get removed

From "hdv@gmail" <hdv.jadev@gmail.com>
Newsgroups linux.debian.user
Subject Re: How to ensure that old kernel does not get removed
Date 2019-01-05 17:00 +0100
Message-ID <xcWwG-7gr-7@gated-at.bofh.it> (permalink)
References <xcKca-8aP-15@gated-at.bofh.it> <xcVqW-6Bw-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/01/2019 14.45, songbird wrote:
> hdv@gmail wrote:
> ...
>> So how do I make sure that 4.18.0-2 does not get removed from the boot menu
>> after the next kernel upgrade? I'd like to keep it until I have verified that an
>> upgrade does work. However, as far as I can tell only the last 3 kernels are
>> kept. Thus now I run the risk of having the only working version removed before
>> I am sure that a new version will work.
> 
>   another way to do it for all kernels is to add the
> options to apt itself (in /etc/apt/apt.conf or ...)
> 
>   i set options to make sure apt doesn't get rid of
> my saved cache files without me explicitly requesting
> it and there is another option for setting which files
> are never marked for autoremoval.
> 
> 
> APT::Clean-Installed "false";
> APT::NeverAutoRemove  { "linux-image.*";  };  // packages that should never
>                                             // considered for autoRemove
> 
>   i no longer see grub menus very often (using
> uefi boot menu and refind).

Thanks for this information! Very useful. I will add it to the list of things I
have to (re)educate myself in.

Grx HdV

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to ensure that old kernel does not get removed "hdv@gmail" <hdv.jadev@gmail.com> - 2019-01-05 03:50 +0100
  Re: How to ensure that old kernel does not get removed Reco <recoverym4n@enotuniq.net> - 2019-01-05 09:00 +0100
    Re: How to ensure that old kernel does not get removed "hdv@gmail" <hdv.jadev@gmail.com> - 2019-01-05 11:20 +0100
      Re: How to ensure that old kernel does not get removed Reco <recoverym4n@enotuniq.net> - 2019-01-05 11:20 +0100
        Re: How to ensure that old kernel does not get removed "hdv@gmail" <hdv.jadev@gmail.com> - 2019-01-05 11:40 +0100
  Re: How to ensure that old kernel does not get removed songbird <songbird@anthive.com> - 2019-01-05 15:50 +0100
    Re: How to ensure that old kernel does not get removed "hdv@gmail" <hdv.jadev@gmail.com> - 2019-01-05 17:00 +0100
    Re: How to ensure that old kernel does not get removed Greg Wooledge <wooledg@eeg.ccf.org> - 2019-01-07 14:40 +0100
      Re: How to ensure that old kernel does not get removed songbird <songbird@anthive.com> - 2019-01-07 15:40 +0100
        Re: How to ensure that old kernel does not get removed David Wright <deblis@lionunicorn.co.uk> - 2019-01-07 21:30 +0100

csiph-web