On Fri, 28 Feb 2025 22:00:41 -0800
Van Snyder <van.sny...@sbcglobal.net> wrote:

> On Fri, 2025-02-28 at 12:46 -0800, Van Snyder wrote:
> > On Fri, 2025-02-28 at 14:34 -0500, Greg Wooledge wrote:  
> > > On Fri, Feb 28, 2025 at 11:27:40 -0800, Van Snyder wrote:  
> > > > "apt update" says everything is up to date, but the kernel is
> > > > 6.1.0-18.
> > > > I believe there are several newer ones, maybe up to 6.1.0-31?  
> > > 
> > > That's correct.  You're probably missing the metapackage that
> > > brings
> > > in new kernels automatically.  For an amd64 machine, that
> > > metapackage
> > > is named "linux-image-amd64".  (If you use DKMS kernel modules,
> > > you'll
> > > also want the corresponding linux-headers-* metapackage.)  
> > 
> > The NVidia 570 driver is a kernel package. What's the name of the
> > corresponding linux-headers-* metapackage?  
> 
> The NVidia 570 driver is a kernel package. It's installed by
> downloading and running an bash script that requires the kernel
> headers. If I get the metapackage linux-image-amd64 will I need to
> rebuild the NVidia driver every time it loads a new kernel?
> 
> If I get a new kernel by way of "apt update" it leaves a line in grub
> to load older kernels. Will the metapackage do that so I can at least
> boot something until I rebuild the NVidia 570 driver to go with a new
> kernel?
> 
> 
> 

It will normally install a new kernel and keep the previous one. I
can't remember if it removes earlier ones or whether I do that, as I
run apt autoremove regularly. Autoremove certainly leaves the last
kernel installed as well as the current one.

-- 
Joe

Reply via email to