Kernels galore and no NVIDIA driver in sight

Little Girl littlergirl at gmail.com
Sun Dec 22 20:58:21 UTC 2024


Hey there,

Keith via ubuntu-users wrote:
>On 12/21/24 12:14 PM, Little Girl wrote:

>>> $ sudo apt -s purge ~c
>> 
>> Ouch. That gave output of 363 lines that I've attached to this
>> message as a text file.
>
>Oof, that's a bit unexpected unless you've never run autoremove with
>the "--purge" option before.

I haven't. My routine is:

1. Fetch updates:
sudo apt update && sudo apt full-upgrade && snap refresh

2. Reboot if prompted.

3. Tidy up:
sudo apt update && sudo apt autoremove && sudo apt clean && sudo apt
purge

>That's fine. I just wanted to confirm the nvidia module was the 535 
>version loaded with the 5.15.0-130-generic kernel. So the your
>graphic driver is good with the current kernel.

Interesting. Why is that? I haven't gotten an NVIDIA driver since
before these three latest kernels. Does the current NVIDIA driver get
built with new kernels automatically when the kernel is updated?

>I don't believe that you'll harm anything the way it looks now, but 
>autoremove doesn't remove config files unless you add the "--purge" 
>option (autopurge is just a shortcut for that), so you'll have a
>bunch entries with "rc" still left in your "dpkg -l" output.

Okay, that's a relief that it shouldn't do any harm. I'll be curious
how much space this buys me, too.

>After you run "apt autoremove (or autopurge)" I would still run
>"apt purge ~c" afterwards to remove any residual config files.

Okay, good to know. So, does this look like a good new routine that
would keep things more tidy from now on?

1. Fetch updates:
sudo apt update && sudo apt full-upgrade && snap refresh

2. Reboot if prompted.

3. Tidy up:
sudo apt update && sudo apt autoremove --purge && sudo apt clean &&
sudo apt purge && sudo apt purge ~c

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list