I was trying to find a way in order to use aptdcon -- the command line client for aptdaemon in a script.
aptdcon misses options such as:
- Loggable output - no progress indicator.
- Assume No to all queries and do not prompt.
The following package will be upgraded (1): xxx
Need to get xxx of archives.
Do you want to continue [Y/n]?
So aptdcon prompts for a user response making it inappropriate for shell scripts.
How can I use aptdcon or any other app (that doesn't need root permissions) in non user-interactive scripts?