个人工具

“UbuntuHelp:ReportingBugs”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第4行: 第4行:
 
== Reporting bugs ==
 
== Reporting bugs ==
 
=== Use the menu - Try this first! ===
 
=== Use the menu - Try this first! ===
The easiest way to report a bug is with the [[UbuntuWiki:Apport|''Apport'']] application. When an application crashes, apport starts automatically and opens an appropriate bug for you to complete in Launchpad. This procedure will provide our developers with rich debugging information that will make it easier for them to fix the problem.
+
If you want to report a bug on an application that is running ''and responding'', use the '''application's''' Help menu: '''Help -> Report a problem'''. This method is preferable to filing a bug directly at the Launchpad website, because it will automatically attach a great deal of important information which will help us to analyze the problem.
 +
If an application crashes, and you're using a version of Ubuntu which is actively under development, [[UbuntuWiki:Apport|''Apport'']] will start automatically and opens an appropriate bug for you to complete in Launchpad. This procedure will provide our developers with rich debugging information that will make it easier for them to fix the problem.
 +
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=report-a-problem.png
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=apport-1.png
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=apport-1.png
If you want to report a bug on an application that is running ''and responding'', you can access the same apport functionality from the Help menu via '''Help -> Report a problem'''. This method is preferable than filing a bug directly at the Launchpad website because of the debugging information it attaches, even for user interface bugs.
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=report-a-problem.png
 
 
Apport is available for Ubuntu 7.04 (Feisty Fawn) and later versions.
 
Apport is available for Ubuntu 7.04 (Feisty Fawn) and later versions.
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=filebug-shot.png
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=filebug-shot.png
 
=== Filing from the command line ===
 
=== Filing from the command line ===
==== Ubuntu Intrepid ====
+
If you can't file your report from the menu, for example:
 +
* Your problem is related to an infrastructure component, such as the Linux kernel or graphics subsystem, rather than an application
 +
* The application doesn't have the appropriate menu item
 +
* You're using the Server Edition
 +
* The application won't start at all
 +
You can still help us by using the command-line version, `ubuntu-bug`.
 +
==== Ubuntu 8.10 and later ====
 
<pre><nowiki>
 
<pre><nowiki>
 
ubuntu-bug PACKAGE</nowiki></pre>
 
ubuntu-bug PACKAGE</nowiki></pre>
Lets you file a bug against a known package and automatically include all the useful debug information. Use
+
Lets you file a bug against a known package and automatically include all the
 +
useful debug information. If you're not sure which package has a problem,
 +
refer to the instructions for [[UbuntuWiki:Bugs/FindRightPackage|finding|the right package]].
 +
Use
 
<pre><nowiki>
 
<pre><nowiki>
 
ubuntu-bug PID</nowiki></pre>
 
ubuntu-bug PID</nowiki></pre>
第21行: 第30行:
 
ubuntu-bug linux</nowiki></pre>
 
ubuntu-bug linux</nowiki></pre>
 
will file a bug on the Linux kernel.
 
will file a bug on the Linux kernel.
==== Ubuntu 7.04 through 8.04 LTS ====
+
==== Ubuntu 8.04 LTS ====
 
<pre><nowiki>
 
<pre><nowiki>
apport-cli -f -p PACKAGE</nowiki></pre>
+
ubuntu-bug -p PACKAGE</nowiki></pre>
 
Lets you file a bug against a known package and automatically include all the useful debug information. Use
 
Lets you file a bug against a known package and automatically include all the useful debug information. Use
 
<pre><nowiki>
 
<pre><nowiki>
apport-cli -f -P PID</nowiki></pre>
+
ubuntu-bug -P PID</nowiki></pre>
 
If you want to file against a running program with a known Process ID (PID) (see '''System -> Administration -> System Monitor''').
 
If you want to file against a running program with a known Process ID (PID) (see '''System -> Administration -> System Monitor''').
=== Filing bugs at Launchpad.net (Ubuntu 6.06) ===
+
=== Filing bugs at Launchpad.net (Ubuntu 6.06 LTS) ===
 
If for some reason you cannot file a bug through the ''Apport'' tool you can file one via [https://launchpad.net/distros/ubuntu/ Launchpad] (Apport is available for Ubuntu 6.10 (Edgy Eft) and later versions.). When doing so please ensure that you have determined which package it should be filed against. Read '[[UbuntuWiki:Bugs/FindRightPackage|finding|the right package]]' for guidance.
 
If for some reason you cannot file a bug through the ''Apport'' tool you can file one via [https://launchpad.net/distros/ubuntu/ Launchpad] (Apport is available for Ubuntu 6.10 (Edgy Eft) and later versions.). When doing so please ensure that you have determined which package it should be filed against. Read '[[UbuntuWiki:Bugs/FindRightPackage|finding|the right package]]' for guidance.
 
=== Writing a useful report ===
 
=== Writing a useful report ===
 
Fill in the description field with as much information as you can, including the release of Ubuntu you are using and steps for someone else to recreate the bug.  It is better to have too much information in the description than not enough.
 
Fill in the description field with as much information as you can, including the release of Ubuntu you are using and steps for someone else to recreate the bug.  It is better to have too much information in the description than not enough.
 
Only describe a single problem per bug report so that each can be followed up on in detail. If you experience several issues file separate reports.
 
Only describe a single problem per bug report so that each can be followed up on in detail. If you experience several issues file separate reports.
Add supporting attachments to explain or help others reproduce your bug. This might include a screen shot or video capture of the problem or a sample document that triggers the fault.  To add an attachment to the bug use the '''Include an attachment''' section of the bug form.  Additional attachments, if necessary, can be added after the bug is reported via '''Add a comment/attachment''' at the bottom of the page.
+
Add supporting attachments to explain or help others reproduce your bug. This might include a screenshot or video capture of the problem or a sample document that triggers the fault.  To add an attachment to the bug use the '''Include an attachment''' section of the bug form.  Additional attachments, if necessary, can be added after the bug is reported via '''Add a comment/attachment''' at the bottom of the page.
 
For anything hardware related, give precise details about your hardware. Attaching the output of "lspci -vvnn" and "dmesg", after a fresh boot, will help a lot.
 
For anything hardware related, give precise details about your hardware. Attaching the output of "lspci -vvnn" and "dmesg", after a fresh boot, will help a lot.
 
== When not to file a bug ==
 
== When not to file a bug ==
第39行: 第48行:
 
* '''Feature and policy discussions''' (including suggestions to change defaults) should be discussed on the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss ubuntu-devel-discuss] mailing list.
 
* '''Feature and policy discussions''' (including suggestions to change defaults) should be discussed on the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss ubuntu-devel-discuss] mailing list.
 
* '''Development ideas''' should be posted to http://brainstorm.ubuntu.com/ or discussed on the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss ubuntu-devel-discuss] mailing list.
 
* '''Development ideas''' should be posted to http://brainstorm.ubuntu.com/ or discussed on the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss ubuntu-devel-discuss] mailing list.
* '''Already filed''' - Please check if it has already been reported by searching through the [https://launchpad.net/distros/ubuntu/+bugs existing bugs] and the release notes for your release of Ubuntu [[UbuntuWiki:DapperReleaseNotes|6.06|(Dapper Drake)]], [http://www.ubuntu.com/getubuntu/releasenotes/704 7.04 (Feisty Fawn)], [http://www.ubuntu.com/getubuntu/releasenotes/710 7.10 (Gutsy Gibbon)], [http://www.ubuntu.com/getubuntu/releasenotes/804 8.04 (Hardy Heron)], [http://www.ubuntu.com/getubuntu/releasenotes/810 8.10 (Intrepid Ibex)]. If you have further information about an already reported bug, add this information to the existing reported bug, instead of opening a new one.
+
* '''Already filed''' - Please check if it has already been reported by searching through the [https://launchpad.net/distros/ubuntu/+bugs existing bugs] and the release notes for your release of Ubuntu [[UbuntuWiki:DapperReleaseNotes|6.06|(Dapper Drake)]], [http://www.ubuntu.com/getubuntu/releasenotes/804 8.04 (Hardy Heron)], [http://www.ubuntu.com/getubuntu/releasenotes/810 8.10 (Intrepid Ibex)], [http://www.ubuntu.com/getubuntu/releasenotes/904 9.04 (Jaunty Jackalope)]. If you have further information about an already reported bug, add this information to the existing reported bug, instead of opening a new one.
 
== Getting advice ==
 
== Getting advice ==
 
If you need help in finding the right package or providing appropriate information ask someone on #ubuntu-bugs on the [[UbuntuHelp:InternetRelayChat|Freenode|IRC]] server or on the [https://lists.ubuntu.com/mailman/listinfo/Ubuntu-bugsquad bugsquad mailing list].
 
If you need help in finding the right package or providing appropriate information ask someone on #ubuntu-bugs on the [[UbuntuHelp:InternetRelayChat|Freenode|IRC]] server or on the [https://lists.ubuntu.com/mailman/listinfo/Ubuntu-bugsquad bugsquad mailing list].

2009年5月12日 (二) 18:36的版本

Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to create an account.

Reporting bugs

Use the menu - Try this first!

If you want to report a bug on an application that is running and responding, use the application's Help menu: Help -> Report a problem. This method is preferable to filing a bug directly at the Launchpad website, because it will automatically attach a great deal of important information which will help us to analyze the problem. If an application crashes, and you're using a version of Ubuntu which is actively under development, Apport will start automatically and opens an appropriate bug for you to complete in Launchpad. This procedure will provide our developers with rich debugging information that will make it easier for them to fix the problem. ReportingBugs?action=AttachFile&do=get&target=report-a-problem.png ReportingBugs?action=AttachFile&do=get&target=apport-1.png Apport is available for Ubuntu 7.04 (Feisty Fawn) and later versions. ReportingBugs?action=AttachFile&do=get&target=filebug-shot.png

Filing from the command line

If you can't file your report from the menu, for example:

  • Your problem is related to an infrastructure component, such as the Linux kernel or graphics subsystem, rather than an application
  • The application doesn't have the appropriate menu item
  • You're using the Server Edition
  • The application won't start at all

You can still help us by using the command-line version, `ubuntu-bug`.

Ubuntu 8.10 and later

ubuntu-bug PACKAGE

Lets you file a bug against a known package and automatically include all the useful debug information. If you're not sure which package has a problem, refer to the instructions for finding|the right package. Use

ubuntu-bug PID

If you want to file against a running program with a known Process ID (PID) (see System -> Administration -> System Monitor).

ubuntu-bug linux

will file a bug on the Linux kernel.

Ubuntu 8.04 LTS

ubuntu-bug -p PACKAGE

Lets you file a bug against a known package and automatically include all the useful debug information. Use

ubuntu-bug -P PID

If you want to file against a running program with a known Process ID (PID) (see System -> Administration -> System Monitor).

Filing bugs at Launchpad.net (Ubuntu 6.06 LTS)

If for some reason you cannot file a bug through the Apport tool you can file one via Launchpad (Apport is available for Ubuntu 6.10 (Edgy Eft) and later versions.). When doing so please ensure that you have determined which package it should be filed against. Read 'finding|the right package' for guidance.

Writing a useful report

Fill in the description field with as much information as you can, including the release of Ubuntu you are using and steps for someone else to recreate the bug. It is better to have too much information in the description than not enough. Only describe a single problem per bug report so that each can be followed up on in detail. If you experience several issues file separate reports. Add supporting attachments to explain or help others reproduce your bug. This might include a screenshot or video capture of the problem or a sample document that triggers the fault. To add an attachment to the bug use the Include an attachment section of the bug form. Additional attachments, if necessary, can be added after the bug is reported via Add a comment/attachment at the bottom of the page. For anything hardware related, give precise details about your hardware. Attaching the output of "lspci -vvnn" and "dmesg", after a fresh boot, will help a lot.

When not to file a bug

Getting advice

If you need help in finding the right package or providing appropriate information ask someone on #ubuntu-bugs on the Freenode|IRC server or on the bugsquad mailing list.

Further reading

See this guide for general information on writing a good bug report. If you need help with debugging a problem, see DebuggingProcedures.