You are not logged in.
If you use Aptitude as your package manager here are some configuration options you can place in your /etc/apt/apt.conf file to automatically keep your system free of unneeded packages and configuration files.
Aptitude::Autoclean-After-Update "true";
Aptitude::Clean-After-Install "true";
Aptitude::Purge-Unused "true";
APT::AutoRemove::SuggestsImportant "false";
Offline
Aptitude::Autoclean-After-Update "true";
Aptitude::Clean-After-Install "true";
Aptitude::Purge-Unused "true";
APT::AutoRemove::SuggestsImportant "false";
CAT::Please-Do-Not-The "false";
OR
what do these do please?
Last edited by MLEvD (2021-05-09 11:04:57)
Offline
Excalibur wrote:Aptitude::Autoclean-After-Update "true";
Aptitude::Clean-After-Install "true";
Aptitude::Purge-Unused "true";
APT::AutoRemove::SuggestsImportant "false";CAT::Please-Do-Not-The "false";
OR
what do these do please?
I dont use aptitude but the last once is explained here: https://askubuntu.com/questions/351085/ … d-packages
Last edited by dice (2021-05-09 11:13:25)
Offline
In answer to MLEvD's query:-
Aptitude::Autoclean-After-Update "true"; - this will remove downloaded packages after an update.
Aptitude::Clean-After-Install "true"; - ditto for when installing new packages.
Aptitude::Purged-Unused "True"; - this will remove unwanted packages and in particular package configuration files for packages that have been removed.
APT::AutoRemove::SuggestsImportant "false"; - this affects the APT package management in its entirety and no just Aptitude. A contrived example is needed: if package 'A' installs package 'B' as a Recommends then it could well set up a transitive relationship where package 'B' is a Suggests for package 'C'. Upon removal of package 'A', normally package 'B' would also be removed as part of the dependency checking mechanism. However, Aptitude will detect that package 'B' is a Suggests of package 'C' and will not remove package 'B'. This setting removes this restriction, so that Suggests will be removed. Suggests packages are not installed as a dependency, so it is safe to do this.
I hope this helps.
Offline
Thank you, and can one use "1" in place of "true"?
Offline
As I recall from Aptitude's documentation you can only use "true" and "false". However, it has been awhile since I have read the relevant documentation and therefore I might be wrong. (Sorry for the delay in my reply but I have been somewhat busy).
Offline