个人工具

UbuntuHelp:ReportingBugs

来自Ubuntu中文

Wikibot讨论 | 贡献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.