{
    "mode": "man",
    "parameter": "apport-bug",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/apport-bug/1/json",
    "generated": "2026-10-22T12:01:55Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "apport-bug, apport-collect - file a bug report using Apport, or update an existing report\n\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "apport-bug",
                    "content": "apport-bug symptom | pid | package | program path | .apport/.crash file\n\napport-collect report-number\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "apport-bug  reports problems to your distribution's bug tracking system, using Apport to col‐\nlect a lot of local information about your system to help the developers to fix  the  problem\nand avoid unnecessary question/answer turnarounds.\n\nYou  should always start with running apport-bug without arguments, which will present a list\nof known symptoms. This will generate the most useful bug reports.\n\nIf there is no matching symptom, you need to determine the affected program or package  your‐\nself. You can provide a package name or program name to apport-bug, e. g.:\n\napport-bug firefox\napport-bug /usr/bin/unzip\n\nIn  order to add more information to the bug report that could help the developers to fix the\nproblem, you can also specify a process ID instead:\n\n$ pidof gnome-terminal\n5139\n$ apport-bug 5139\n\nAs a special case, to report a bug against the Linux kernel, you do not need to use the  full\npackage name (such as linux-image-2.6.28-4-generic); you can just use\n\napport-bug linux\n\nto report a bug against the currently running kernel.\n\nFinally, you can use this program to report a previously stored crash or bug report:\n\napport-bug /var/crash/binbash.1000.crash\napport-bug /tmp/apport.firefox.332G9t.apport\n\nBug reports can be written to a file by using the --save option  or by using apport-cli.\n\napport-bug detects whether KDE or Gnome is running and calls apport-gtk or apport-kde accord‐\ningly.  If  neither  is available, or the session does not run under X11, it calls apport-cli\nfor a command-line client.\n\n",
            "subsections": []
        },
        "UPDATING EXISTING REPORTS": {
            "content": "apport-collect collects the same information as apport-bug, but adds it  to  an  already  re‐\nported  problem  you  have  submitted.  This is useful if the report was not originally filed\nthrough Apport, and the developers ask you to attach information from your system.\n\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Please see the apport-cli(1) manpage for possible options.\n\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "APPORTIGNOREOBSOLETEPACKAGES\nApport refuses to create bug reports if the package or any dependency is not  current.\nIf this environment variable is set, this check is waived. Experts who will thoroughly\ncheck  the  situation before filing a bug report can define this in their ~/.bashrc or\ntemporarily on the command line when calling apport-bug.\n\n",
            "subsections": []
        },
        "FILES": {
            "content": "apport crash files are written in to /var/crash by default, named uniquely  per  binary  name\nand  user  id.   They are not deleted after being sent to the bug tracker (but from cron when\nthey get older than 7 days). You can extract the core file (if any) and other information us‐\ning apport-unpack.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "apport-cli(1), apport-unpack(1)\n\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "apport and the accompanying tools are developed by Martin Pitt <martin.pitt@ubuntu.com>.\n\nMartin Pitt                              September 08, 2009                            apport-bug(1)",
            "subsections": []
        }
    },
    "summary": "apport-bug, apport-collect - file a bug report using Apport, or update an existing report",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "apport-cli",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/apport-cli/1/json"
        },
        {
            "name": "apport-unpack",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/apport-unpack/1/json"
        }
    ],
    "tldr": {
        "source": "official",
        "description": "File a bug report on Ubuntu.",
        "examples": [
            {
                "description": "Report a bug about the whole system",
                "command": "apport-bug"
            },
            {
                "description": "Report a bug about a specific package",
                "command": "apport-bug {{package}}"
            },
            {
                "description": "Report a bug about a specific executable",
                "command": "apport-bug {{path/to/executable}}"
            },
            {
                "description": "Report a bug about a specific process",
                "command": "apport-bug {{process_id}}"
            }
        ]
    }
}