UbuntuHelp:ReportingBugs
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to create an account.
目录
Reporting bugs
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. Apport is available for Ubuntu 7.04 (Feisty Fawn) and later versions.
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
- Support requests should go to support requests in launchpad, the Ubuntu forums, the #ubuntu channel on the Freenode|IRC server, or the ubuntu-users mailing list.
- Feature and policy discussions (including suggestions to change defaults) should be discussed on the ubuntu-devel-discuss mailing list.
- Development ideas should be posted to http://brainstorm.ubuntu.com/ or discussed on the ubuntu-devel-discuss mailing list.
- Already filed - Please check if it has already been reported by searching through the existing bugs and the release notes for your release of Ubuntu 6.06|(Dapper Drake), 8.04 (Hardy Heron), 8.10 (Intrepid Ibex), 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
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.