个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/ReportingBugs}}
 
{{From|https://help.ubuntu.com/community/ReportingBugs}}
 
{{Languages|UbuntuHelp:ReportingBugs}}
 
{{Languages|UbuntuHelp:ReportingBugs}}
If you've come here when trying to file a bug about Ubuntu in Launchpad this was deliberate.  Please read the following documentation regarding how to report a bug about Ubuntu.
+
#title Reporting Bugs - [[UbuntuHelp:HowTo|HowTo]]   
Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to [[UbuntuHelp: https://help.launchpad.net/YourAccount/NewAccount | create an account ]].  Once you have an account you can use the tools we've provided you on your Ubuntu system to file bug reports.
+
<<Anchor(Top)>>
Note: If you use Kubuntu, please see the Kubuntu variant of this page [https://wiki.kubuntu.org/Kubuntu/Bugs/Reporting here].
+
'''If you've come here when trying to file a bug about Ubuntu in Launchpad this was deliberate.  Please read the following documentation regarding how to report a bug about Ubuntu.'''
 
== Reporting bugs ==
 
== Reporting bugs ==
 +
Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to [[UbuntuHelp: https://help.launchpad.net/YourAccount/NewAccount | create an account ]].  Once you have an account you can use the tools we've provided you on your Ubuntu system to file bug reports.
 +
Note 1: If you use Kubuntu, please see the Kubuntu variant of this page [https://wiki.kubuntu.org/Kubuntu/Bugs/Reporting here].
 +
Note 2: After the bug is reported, please '''always''' leave the Status set to ''New'' (Curious about bug status? Details [[UbuntuWiki:Bugs/Status|here]]).
 
=== Use the menu - try this first! ===
 
=== Use the menu - try this first! ===
 +
'''Note:''' Since [[UbuntuWiki:LucidLynx|Lucid|Lynx]] this only works for the Development Releases, If you're running Lucid you might want to use the [[UbuntuHelp:ReportingBugs#Filing_a_bug_with_ubuntu-bug|ubuntu-bug]] method.
 
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'''.
 
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'''.
 
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=report-a-problem.png
第28行: 第32行:
 
Then type the process ID instead of the package name into the "Run Application" window.
 
Then type the process ID instead of the package name into the "Run Application" window.
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=ubuntu-bug-pid.png+%7C+Filing+a+bug+with+the+%22Run+Application%22+window+and+a+process+ID
 
https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=ubuntu-bug-pid.png+%7C+Filing+a+bug+with+the+%22Run+Application%22+window+and+a+process+ID
==== Ubuntu 8.04 LTS ====
+
==== Ubuntu 8.04 LTS to Ubuntu 9.04 ====
 
In Ubuntu 8.04 LTS, you need to type `ubuntu-bug -p` (lowercase `p`) when reporting a bug about a package, or `ubuntu-bug -P` (capital `P`) when reporting a bug about a process ID.  Instructions are otherwise identical to the above.
 
In Ubuntu 8.04 LTS, you need to type `ubuntu-bug -p` (lowercase `p`) when reporting a bug about a package, or `ubuntu-bug -P` (capital `P`) when reporting a bug about a process ID.  Instructions are otherwise identical to the above.
 +
==== Ubuntu 9.10 and Later ====
 +
You only need to type `ubuntu-bug PKGNAME` when reporting against a package, or `ubuntu-bug PID` when reporting a bug about a process ID.  Instructions are otherwise identical to the above.
 
=== Filing bugs when off-line ===
 
=== Filing bugs when off-line ===
In the event that you have a bug with your internet connection or want to file a bug for another system you can still do this using apport.  Using the command `apport-cli -f -p` ''`<package name>`'' on the target system will collect information and provide you with an option to "K: Keep report file for sending later or copying to somewhere else".  The report is then saved on the target system, in your ''/tmp'' directory which is cleared out on reboot,  with a .apport extension.  After copying it to a different system you can file that report using `ubuntu-bug -c` ''`<location of apport file>`''.
+
In the event that you have a bug with your internet connection or want to file a bug for another system you can still do this using apport.  Using the command `apport-cli -f -p` ''`<package name>`'' on the target system will collect information and provide you with an option to "K: Keep report file for sending later or copying to somewhere else".  The report is then saved on the target system, in your ''/tmp'' directory which is cleared out on reboot,  with a .apport extension.  After copying it to a different system you can file that report using `ubuntu-bug ` ''`<location of apport file>`''.
 
=== Filing translation bugs ===
 
=== Filing translation bugs ===
All translations (internationalization or localization) issues should be filled against the [https://bugs.launchpad.net/ubuntu-translations  Ubuntu Translations (ubuntu-translations) project]. From there the bugs will be triaged and assigned to the right persons and package.
+
All translation issues should be filed against the [https://bugs.launchpad.net/ubuntu-translations  Ubuntu Translations project] (ubuntu-translations). From there the bugs will be triaged and assigned to the right person and package.
Here is a (non-exhaustive) list of problems that should be filled against an Ubuntu Translations Project (ubuntu-translations):
+
Here is a non-exhaustive list of problems that are appropriate for the Ubuntu Translations project:
* if a string from the application is not available for translation in Launchpad Translations
+
* Wrong translations or spelling mistakes in applications
* if an application from Ubuntu main repository is not available for translation in Launchpad Translations
+
* Errors in spellcheckers or language support
* if a translation made in Launchpad Translations is not updated in the Ubuntu Language Packs
+
* A string from an application is not available for translation in [http://translations.launchpad.net/ubuntu Launchpad Translations]
* you find a duplicate translation template (same application can be translated in two different places)
+
* An application from the Ubuntu main repository is not available for translation in [http://translations.launchpad.net/ubuntu Launchpad Translations]
* a template/translation is no longer used in Ubuntu and should be deleted from Ubuntu Launchpad Translations
+
* A translation made in [http://translations.launchpad.net/ubuntu Launchpad Translations] is not updated in the Ubuntu language packs
* errors in spellcheckers or language support
+
* There is a duplicate translation template (the same application can be translated in two different places) in [http://translations.launchpad.net/ubuntu Launchpad Translations]
 +
* A template/translation is no longer used in Ubuntu and should be disabled from [http://translations.launchpad.net/ubuntu Launchpad Translations]
 +
You can also consult the [https://bugs.launchpad.net/ubuntu-translations current bugs] to see the big picture. In case of doubt, you can always [[UbuntuWiki:Translations/Contact|contact|the Translations team]].
 
=== Filing bugs at Launchpad.net ===
 
=== Filing bugs at Launchpad.net ===
If for some reason you cannot file a bug through the ''Apport'' tool you can file one via [https://launchpad.net/distros/ubuntu/ Launchpad]. 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 or use [[UbuntuHelp: http://launchpad.net/ubuntu/ | Launchpad's package search feature ]].  To file a bug against a specific package use a url similar to the following, http://bugs.launchpad.net/ubuntu/+source/PACKAGENAME/+filebug?no-redirect, where PACKAGENAME is the name of the source package about which you want to file the bug.  In the event that you want to request a piece of software be packaged for Ubuntu please follow the instructions in the [[UbuntuHelp: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages#Requesting_a_new_package_for_Ubuntu | wiki ]].
+
If for some reason you cannot file a bug through the ''Apport'' tool you can file one via [https://launchpad.net/distros/ubuntu/ Launchpad]. 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 or use [[UbuntuHelp: http://launchpad.net/ubuntu/ | Launchpad's package search feature ]].  To file a bug against a specific package use a url similar to the following, `http://bugs.launchpad.net/ubuntu/+source/PACKAGENAME/+filebug?no-redirect`, where PACKAGENAME is the name of the source package about which you want to file the bug.  In the event that you want to request a piece of software be packaged for Ubuntu please follow the instructions in the [[UbuntuHelp: https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages#Requesting_a_new_package_for_Ubuntu | wiki ]].
 
To report a bug when you don't know the package name [https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect]
 
To report a bug when you don't know the package name [https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect]
 
==== Adding Apport Debug Information to an Existing Launchpad Bug ====
 
==== Adding Apport Debug Information to an Existing Launchpad Bug ====
第56行: 第64行:
 
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.
 
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.
 +
[[UbuntuHelp:[Top|Back to top]]]
 
== When not to file a bug ==
 
== When not to file a bug ==
 +
* '''Requesting new software''' you should follow the guidelines in https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages
 
* '''Support requests''' should go to [https://answers.launchpad.net/ubuntu support requests in Launchpad], the [http://www.ubuntuforums.org/ Ubuntu forums], the [[UbuntuHelp:irc://irc.freenode.net/#ubuntu|#ubuntu]] channel  on the [[UbuntuHelp:InternetRelayChat|Freenode|IRC]] server, or the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-users ubuntu-users] mailing list.
 
* '''Support requests''' should go to [https://answers.launchpad.net/ubuntu support requests in Launchpad], the [http://www.ubuntuforums.org/ Ubuntu forums], the [[UbuntuHelp:irc://irc.freenode.net/#ubuntu|#ubuntu]] channel  on the [[UbuntuHelp:InternetRelayChat|Freenode|IRC]] server, or the [http://lists.ubuntu.com/mailman/listinfo/ubuntu-users ubuntu-users] 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.
 
* '''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/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)], [http://www.ubuntu.com/getubuntu/releasenotes/910 9.10 (Karmic Koala)]. 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)], [http://www.ubuntu.com/getubuntu/releasenotes/910 9.10 (Karmic Koala)]. If you have further information about an already reported bug, add this information to the existing reported bug, instead of opening a new one.
 +
[[UbuntuHelp:[Top|Back to top]]]
 
== Getting advice ==
 
== Getting advice ==
 
If you need help in finding the right package or providing appropriate information ask someone on [[UbuntuHelp:irc://irc.freenode.net/#ubuntu-bugs|#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 [[UbuntuHelp:irc://irc.freenode.net/#ubuntu-bugs|#ubuntu-bugs]] on the [[UbuntuHelp:InternetRelayChat|Freenode|IRC]] server or on the [https://lists.ubuntu.com/mailman/listinfo/Ubuntu-bugsquad bugsquad mailing list].
 +
[[UbuntuHelp:[Top|Back to top]]]
 +
== Other languages ==
 +
* [[UbuntuHelp:ReportingBugs_es|Spanish]]
 +
* [http://www.ubuntu.ro/documentatie/comunitate/RaportareErori  Romanian]
 +
[[UbuntuHelp:[Top|Back to top]]]
 
== See Also ==
 
== See Also ==
 
* [[UbuntuHelp: http://screencasts.ubuntu.com/2009/09/16/Reporting_Bugs | A screencast on using these tools ]] by Daniel Holbach
 
* [[UbuntuHelp: http://screencasts.ubuntu.com/2009/09/16/Reporting_Bugs | A screencast on using these tools ]] by Daniel Holbach
 
* [http://www.chiark.greenend.org.uk/~sgtatham/bugs.html How to Report Bugs Effectively], by Simon Tatham
 
* [http://www.chiark.greenend.org.uk/~sgtatham/bugs.html How to Report Bugs Effectively], by Simon Tatham
 
* [[UbuntuWiki:DebuggingProcedures|Debugging Procedures]]
 
* [[UbuntuWiki:DebuggingProcedures|Debugging Procedures]]
== Other languages ==
+
[[UbuntuHelp:[Top|Back to top]]]
* [[UbuntuHelp:ReportingBugs_es|Spanish]]
+
* [http://www.ubuntu.ro/documentatie/comunitate/RaportareErori  Romanian]
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2010年5月20日 (四) 00:02的最新版本

  1. title Reporting Bugs - HowTo

<<Anchor(Top)>> If you've come here when trying to file a bug about Ubuntu in Launchpad this was deliberate. Please read the following documentation regarding how to report a bug about Ubuntu.

Reporting bugs

Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to create an account . Once you have an account you can use the tools we've provided you on your Ubuntu system to file bug reports. Note 1: If you use Kubuntu, please see the Kubuntu variant of this page here. Note 2: After the bug is reported, please always leave the Status set to New (Curious about bug status? Details here).

Use the menu - try this first!

Note: Since Lucid|Lynx this only works for the Development Releases, If you're running Lucid you might want to use the ubuntu-bug method. 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. ReportingBugs?action=AttachFile&do=get&target=report-a-problem.png This method is preferable to filing a bug at the Launchpad website - it automatically attaches relevant information, which helps analyze the problem. If an application crashes, and you're using a version of Ubuntu which is actively under development, Apport will start automatically, raising an appropriate bug report for you to complete in Launchpad. This provides developers with rich debugging information that will make it easier to fix the problem. ReportingBugs?action=AttachFile&do=get&target=apport-1.png

Filing a bug with ubuntu-bug

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

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

You can still help us by using `ubuntu-bug`.

Ubuntu 8.10 and later

https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=ubuntu-bug.png%7CFiling+a+bug+with+the+%22Run+Application%22+window

Press Alt+F2 to open the "Run Application" window, pictured above. Type `ubuntu-bug ``<package name>` and click Run. Server Edition users should use a terminal instead. If you're not sure which package has a problem, refer to the instructions for finding|the right package. To file a bug against a program that is currently running, go to System > Administration > System Monitor, and find the ID of the process. Server Edition users should use `ps aux`. https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=system-monitor-id.png+%7C+System+Monitor+Processes+tab+ Then type the process ID instead of the package name into the "Run Application" window. https://help.ubuntu.com/community/ReportingBugs?action=AttachFile&do=get&target=ubuntu-bug-pid.png+%7C+Filing+a+bug+with+the+%22Run+Application%22+window+and+a+process+ID

Ubuntu 8.04 LTS to Ubuntu 9.04

In Ubuntu 8.04 LTS, you need to type `ubuntu-bug -p` (lowercase `p`) when reporting a bug about a package, or `ubuntu-bug -P` (capital `P`) when reporting a bug about a process ID. Instructions are otherwise identical to the above.

Ubuntu 9.10 and Later

You only need to type `ubuntu-bug PKGNAME` when reporting against a package, or `ubuntu-bug PID` when reporting a bug about a process ID. Instructions are otherwise identical to the above.

Filing bugs when off-line

In the event that you have a bug with your internet connection or want to file a bug for another system you can still do this using apport. Using the command `apport-cli -f -p` `<package name>` on the target system will collect information and provide you with an option to "K: Keep report file for sending later or copying to somewhere else". The report is then saved on the target system, in your /tmp directory which is cleared out on reboot, with a .apport extension. After copying it to a different system you can file that report using `ubuntu-bug ` `<location of apport file>`.

Filing translation bugs

All translation issues should be filed against the Ubuntu Translations project (ubuntu-translations). From there the bugs will be triaged and assigned to the right person and package. Here is a non-exhaustive list of problems that are appropriate for the Ubuntu Translations project:

  • Wrong translations or spelling mistakes in applications
  • Errors in spellcheckers or language support
  • A string from an application is not available for translation in Launchpad Translations
  • An application from the Ubuntu main repository is not available for translation in Launchpad Translations
  • A translation made in Launchpad Translations is not updated in the Ubuntu language packs
  • There is a duplicate translation template (the same application can be translated in two different places) in Launchpad Translations
  • A template/translation is no longer used in Ubuntu and should be disabled from Launchpad Translations

You can also consult the current bugs to see the big picture. In case of doubt, you can always contact|the Translations team.

Filing bugs at Launchpad.net

If for some reason you cannot file a bug through the Apport tool you can file one via Launchpad. When doing so please ensure that you have determined which package it should be filed against. Read 'finding|the right package' for guidance or use Launchpad's package search feature . To file a bug against a specific package use a url similar to the following, `http://bugs.launchpad.net/ubuntu/+source/PACKAGENAME/+filebug?no-redirect`, where PACKAGENAME is the name of the source package about which you want to file the bug. In the event that you want to request a piece of software be packaged for Ubuntu please follow the instructions in the wiki . To report a bug when you don't know the package name [1]

Adding Apport Debug Information to an Existing Launchpad Bug

If you have already reported a bug directly via Launchpad, but want to add additional debugging information via Apport to the bug, you can do this by running the command `apport-collect bug_number` via "Run Application" or terminal window.

Writing a useful report

When a developer fixes a bug, they will test that the bug occurs, make a small change to the program, then see if the bug has gone away. Depending on the bug, they might need to run the same test dozens or hundreds of times. When you submit a bug report, it's important to specify three things:

  1. What you expected to happen
  2. What actually happened
  3. The minimal series of steps necessary to make it happen, where step 1 is "start the program"

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. [[UbuntuHelp:[Top|Back to top]]]

When not to file a bug

[[UbuntuHelp:[Top|Back to top]]]

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. [[UbuntuHelp:[Top|Back to top]]]

Other languages

[[UbuntuHelp:[Top|Back to top]]]

See Also

[[UbuntuHelp:[Top|Back to top]]]