Debugging Autopackage

This page is intended to contain information on how to debug autopackage if something goes wrong.

Debugging Variables

The following environment variables control how much debugging information is outputted:

Installation of packages
  • DEBUGLEVEL - Controls debugging output from the core program. Can be any number between 0 and 3 where 3 is the most verbose level.
    • Note: Not all messages will be printed to stderr, so for a full debug output, see the file autopackage.log in the directory where you executed the package (or $HOME).
  • GTKFE_DEBUGLEVEL - Controls the debugging output from the GTK Frontend. Can be any number where a higher number means higher verbosity.
Other autopackage programs
  • AUTOPACKAGE_MANAGER_GTK_DEBUG - Makes the GTK version of the manager print debugging info. Value is boolean.
  • AUTOPACKAGE_MANAGER_BACKEND_DEBUG - Makes the backend for the manager print debugging info. Value is boolean.
  • AUTOPACKAGE_MKAPSPEC_DEBUG - Makes mkapspec print debugging information. Value is boolean.
  • APBUILD_DEBUG - Makes apbuild print debugging information. Value is boolean.