Kernels galore and no NVIDIA driver in sight

Little Girl littlergirl at gmail.com
Wed Dec 25 23:07:13 UTC 2024


Hey there,

Bret Busby wrote:

>I do not know whether this would suit you, and, other, more 
>knowledgeable people may be better able to advise on this, but, the 
>sequence of commands that I recommend, is
>
>sudo -i
>apt update
>apt full-upgrade -y
>apt autoremove -y
>apt autoclean

Interesting, thanks. The autoclean one was new to me. Here's what
I've found for both that and apt clean:

sudo apt clean - Remove all packages from the local repository, but
do not remove the lock file from the /var/cache/apt/archives/partial/
directory and from the /var/cache/apt/archives/ directory.

sudo apt autoclean - Remove only obsolete packages (that can no
longer be downloaded and are largely useless) from the local
repository, allowing a cache to be maintained over a long period
without it growing out of control. Unlike a simple apt clean, the
autoclean command only deletes package files that are not accessible
from any currently-configured repositories, meaning you won't
accidentally remove packages you might still need.

I think I'll stick with apt clean, though, because it makes it so you
don't store any packages locally.

-- 
Little Girl

There is no spoon.




More information about the ubuntu-users mailing list