APTITUDE-ROBOT-SESSION(8) | User Commands | APTITUDE-ROBOT-SESSION(8) |
aptitude-robot-session - call aptitude-robot non-interactively
aptitude-robot-session
aptitude-robot-session is a helper script meant to be run from cron or init scripts. It will call aptitude-robot with some options suitable for non-interactive use. It will also redirect all output (STDERR and STDOUT) to LOGFILE defined in "/etc/default/aptitude-robot".
There are a few configuration options that can be defined in "/etc/default/aptitude-robot".
But be aware that this limit also affects _all_ daemons started or restarted during the aptitude-robot-session run, including e.g. the OpenSSH daemon which again will propagate the limit to its remote login sessions. Use with care.
aptitude-robot-session exits with 0 on success, 1 if dpkg is locked, 2 if apt failed to fetch some APT repositories.
The non-interactive nature of aptitude-robot-session may trigger the condition reported in https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/257279
Elmar S. Heeb <elmar@heebs.ch> and Axel Beckert <abe@debian.org>
2023-03-01 | 1.5.5 |