apport - automatically generate crash reports for debugging

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: apport
Package version: 2.20.1
Package release: 0ubuntu2
Package architecture: all
Package type: deb
Installed size: 772 B
Download size: 116.57 KB
Official Mirror:
apport automatically collects data from crashed processes and compiles a problem report in /var/crash/. This utilizes the crashdump helper hook provided by the Ubuntu kernel. This package also provides a command line frontend for browsing and handling the crash reports. For desktops, you should consider installing the GTK+ or Qt user interface (apport-gtk or apport-kde).



  • core-dump-handler


  • core-dump-handler


  • core-dump-handler
  • python-apport << 2.2-0ubuntu1


    Source package: apport

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install apport deb package:
      # sudo apt-get install apport


    • /etc/apport/crashdb.conf
    • /etc/apport/blacklist.d/README.blacklist
    • /etc/apport/blacklist.d/apport
    • /etc/bash_completion.d/apport_completion
    • /etc/cron.daily/apport
    • /etc/default/apport
    • /etc/init/apport.conf
    • /etc/init.d/apport
    • /etc/logrotate.d/apport
    • /lib/systemd/system/apport-forward.socket
    • /lib/systemd/system/apport-forward@.service
    • /lib/udev/rules.d/50-apport.rules
    • /usr/bin/apport-bug
    • /usr/bin/apport-cli
    • /usr/bin/apport-collect
    • /usr/bin/apport-unpack
    • /usr/bin/ubuntu-bug
    • /usr/lib/pm-utils/sleep.d/000record-status
    • /usr/share/apport/apport
    • /usr/share/apport/apport-checkreports
    • /usr/share/apport/apport.jar
    • /usr/share/apport/apportcheckresume
    • /usr/share/apport/
    • /usr/share/apport/gcc_ice_hook
    • /usr/share/apport/is-enabled
    • /usr/share/apport/iwlwifi_error_dump
    • /usr/share/apport/java_uncaught_exception
    • /usr/share/apport/kernel_crashdump
    • /usr/share/apport/kernel_oops
    • /usr/share/apport/package_hook
    • /usr/share/apport/recoverable_problem
    • /usr/share/apport/root_info_wrapper
    • /usr/share/apport/unkillable_shutdown
    • /usr/share/apport/whoopsie-upload-all
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/general-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/package-hooks/
    • /usr/share/apport/testsuite/crash.class
    • /usr/share/apport/testsuite/crash.jar
    • /usr/share/doc/apport/NEWS.gz
    • /usr/share/doc/apport/README
    • /usr/share/doc/apport/changelog.Debian.gz
    • /usr/share/doc/apport/copyright
    • /usr/share/doc/apport/crashdb-conf.txt.gz
    • /usr/share/doc/apport/package-hooks.txt.gz
    • /usr/share/doc/apport/symptoms.txt
    • /usr/share/icons/hicolor/32/apps/apport.png
    • /usr/share/icons/hicolor/32/mimetypes/text-x-apport.png
    • /usr/share/icons/hicolor/48/apps/apport.png
    • /usr/share/icons/hicolor/48/mimetypes/text-x-apport.png
    • /usr/share/icons/hicolor/64/apps/apport.png
    • /usr/share/icons/hicolor/64/mimetypes/text-x-apport.png
    • /usr/share/icons/hicolor/scalable/apps/apport.svg
    • /usr/share/icons/hicolor/scalable/mimetypes/text-x-apport.svg
    • /usr/share/man/man1/apport-bug.1.gz
    • /usr/share/man/man1/apport-cli.1.gz
    • /usr/share/man/man1/apport-collect.1.gz
    • /usr/share/man/man1/apport-unpack.1.gz
    • /usr/share/man/man1/ubuntu-bug.1.gz
    • /usr/share/mime/packages/apport.xml
    • /usr/share/polkit-1/actions/com.ubuntu.apport.policy
    • /usr/share/python/runtime.d/apport.rtupdate


    2016-04-13 - Martin Pitt <> apport (2.20.1-0ubuntu2) xenial; urgency=medium * Merge fixes from trunk: - Make assertion of invalid key names more verbose. - Fix generation of valid report key names from arbitrary paths in attach_file() and related functions. This will now replace all invalid characters with dots, not just a few known invalid ones. (LP: #1566975) - Instead of AssertionError, raise a ValueError for invalid key names and TypeError for invalid kinds of values. Thanks Barry Warsaw. * Disable Launchpad crash upload for final Ubuntu 16.04.

    2016-03-31 - Martin Pitt <> apport (2.20.1-0ubuntu1) xenial; urgency=medium * New upstream release. Changes since our previous snapshot: - crash-digger: Untag bugs which cannot be retraced instead of stopping crash-digger. This led to too many pointless manual restarts on broken bug reports. * Disambiguate overly generic Python exceptions in duplicate signature computation: dbus-glib's DBusException wraps a "real" server-side exception, so add the class of that to disambiguate different crashes; for OSError that is not a known subclass like FileNotFoundError, add the errno. (LP: #989819)

    2016-02-16 - Martin Pitt <> apport (2.20-0ubuntu3) xenial; urgency=medium * Relax report.test_add_gdb_info gdb warning check, as this changed with gdb 7.10.90.

    2016-02-15 - Martin Pitt <> apport (2.20-0ubuntu2) xenial; urgency=medium * Fix signal_crashes.test_modify_after_start test when running as root.

    2016-02-14 - Martin Pitt <> apport (2.20-0ubuntu1) xenial; urgency=medium * New upstream release. - Reimplement forwarding crashes into a container, via activating the new apport-forward.socket in the container and handing over the core dump fd. This is a much safer way than the original implementation with nsexec. Thanks St├ęphane Graber! (LP: #1445064) * Drop long-obsolete sysv-rc dependency. * Add python3-systemd recommendation to apport, to make crash report generation work in containers. * Install new systemd units into apport package.

    2016-01-28 - Martin Pitt <> apport (2.19.4-0ubuntu2) xenial; urgency=medium * debian/apport.upstart: Call systemd-detect-virt instead of the Ubuntu specific running-in-container wrapper. (LP: #1539016)

    2016-01-26 - Martin Pitt <> apport (2.19.4-0ubuntu1) xenial; urgency=medium * New upstream bug fix release: - Fix fileutils.test_find_package_desktopfile test for symlinks and other unowned files in /usr/share/applications/. - Fix ui.test_run_crash_anonymity test case to not fail if the base64 encoded core dump happens to contain the user name, as that's just by chance. - Fix for unreleased gcc versions which have a different --version format. -, attach_hardware(): Stop attaching /var/log/udev. This was an upstart-ism, mostly redundant with the udev db and is not being written under systemd. (LP: #1537211) * etc/apport/crashdb.conf: Enable crash reports on Launchpad for xenial.

    2016-01-12 - Brian Murray <> apport (2.19.3-0ubuntu3) xenial; urgency=medium * data/general-hooks/ Add support to collect more data on PowerNV. (LP: #1499226) Thanks to Kamalesh Babulal for the patch.

    2015-12-10 - Martin Pitt <> apport (2.19.3-0ubuntu2) xenial; urgency=medium * Fix fileutils.test_find_package_desktopfile test for symlinks and other unowned files in /usr/share/applications/. (Cherry-picked from trunk.)