Kernels galore and no NVIDIA driver in sight
Keith
keithw at caramail.com
Thu Jan 2 14:35:57 UTC 2025
On 12/31/2024 2:03 PM, Little Girl wrote:
> Hey there,
>
> Keith via ubuntu-users wrote:
>> Little Girl wrote:
>
>> There are little to no files on your system associated with those
>> packages. They've been removed when the packages were uninstalled.
>
> You're right. A bit more research showed that they were for a
> different architecture, so they wouldn't have been used on my machine
> anyway.
>
>>> Actually, if you run it without sudo, it pops up a little window
>>> for you to put your password into.
>>
>> Well, yes, but it kinda defeats the whole point of chaining those
>> commands together. But as you say its just a minor annoyance.
>
> True, and even minor annoyances are worth taking care of. Updated:
>
> sudo apt update && sudo apt full-upgrade && sudo snap refresh
>
>> If you use apt exclusively to manage packages, then apt clean isn't
>> necessary because apt doesn't keep downloaded packages. If you use
>> anything else, then its likely they will saved to the cache
>> directory unless you set an apt config directive that says not to.
>
> I'm not certain apt is exclusively used to manage packages since a
> lot of stuff was installed for me by the operating system to begin
> with and since my NVIDIA drivers are handled for me by Ubuntu and
> NVIDIA. I suppose I could leave it off and just simulate it once in a
> while to check if anything needs to be cleaned up.
If you ever happen to use the gui update-manager, or aptdcon (apt daemon
cli) or synaptic, or aptitude, or apt-get, or pkcon (packagekit cli) or
gnome-software manager, or even the Ubuntu store, then I believe the
default for them is to keep downloaded packages. But apt by itself
doesn't. I kinda think "apt clean" is superfluous, but that doesn't mean
it's harmful, so using it is perfectly ok as part of your package
management routine.
>
> Thank you for all of your help and your patience with me. I hope you
> had wonderful holidays and are having a good New Year.
Well thanks, I did enjoy the holidays and I'm glad the info was useful
to you. You have a good New Year too.
--
Keith
More information about the ubuntu-users
mailing list