Install aptitude-robot by entering the following commands in the terminal:
sudo apt update sudo apt install aptitude-robot
Automate package choice management
Framework to use aptitude for automated package management including unattended upgrade, installation, removal, hold, etc. Allows you to automate what you would manually do with aptitude.