[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt parameter (autopurge)



On Mon, Mar 11, 2024 at 11:51:18AM -0300, Maurício Giordano Paiva wrote:
> Good morninga user suggested executing the command "apt autopurge" to delete
> files, as I have never seen this command and I haven't even found references
> on the internet about it, I ask you to clarify if the said command is a
> valid command or is it some shortcut or even a bug in apt !!!

You can find references about it in the man pages,
which incidently also exist on the internet,
beside that I find thousands of hits in $SEARCHENGINE …

Quoting apt-get(8) since 2.5.4 (released 31 Oct 2022):
| autopurge
|   Like autoremove, but autopurge also removes configuration files.
|   This is a shortcut for autoremove --purge.

Please read up on what that means in detail!
(You are on a good way as you haven't just blindly executed it and
 instead asked here, but maybe try searching a little harder next time).

btw: Many, including apts manpages are available in different languages,
perhaps also yours. If not, working on translating man pages is a very
good way of getting to know the program(s) in question. Even if they are,
they might benefit from your contributions……… just saying.


Personally, I would advice to do "apt autoremove" instead, verify that
you haven't accidentally lost packages important for you, and if you
are perfectly sure about that run "apt purge ~c" (and check again).

(Before you ask: ~c is an apt-patterns(8). See there)


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: