APT_STACK_TRACE

Set the APT_STACK_TRACE environment variable to control the number of lines printed for stack traces.

The possible values for APT_STACK_TRACE are:

  • unset. 10 lines printed
  • 0. infinite lines printed
  • N. N lines printed
  • none. no stack trace

The last setting can be used to disable stack traces entirely.