Plasma update?
Jeffrey Walton
noloader at gmail.com
Tue Dec 20 17:37:27 UTC 2022
On Tue, Dec 20, 2022 at 12:07 PM Bret Busby <bret at busby.net> wrote:
>
> On 20/12/2022 05:29, Liam Proven wrote:
> [...]
> > So I do:
> >
> > sudo -s
> > apt update ; apt full-upgrade -y ; apt autoremove ; apt clean ; apt
> > purge ; snap refresh
>
> What is the difference (or, what are the differences) between apt clean
> and apt autoclean?
There are no entries for clean and autoclean subcommand in the apt(8) man pages:
$ man apt > apt.txt
$ grep clean apt.txt
$ grep autoclean apt.txt
$
However, apt-get(8) has entries:
clean
clean clears out the local repository of retrieved package files.
It removes everything but the lock file from
/var/cache/apt/archives/ and /var/cache/apt/archives/partial/.
autoclean (and the auto-clean alias since 1.1)
Like clean, autoclean clears out the local repository of retrieved
package files. The difference is that it only removes package files
that can no longer be downloaded, and are largely useless. This
allows a cache to be maintained over a long period without it
growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being
erased if it is set to off.
And from the apt(8) man page on autoremove:
autoremove (apt-get(8))
autoremove is used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no
longer needed as dependencies changed or the package(s) needing
them were removed in the meantime.
You should check that the list does not include applications you
have grown to like even though they were once installed just as a
dependency of another package. You can mark such a package as
manually installed by using apt-mark(8). Packages which you have
installed explicitly via install are also never proposed for
automatic removal.
Jeff
More information about the ubuntu-users
mailing list