Size: 1278
Comment:
|
Size: 11293
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Your problem may not get fixed unless you file a bug report. | #title Reporting Bugs - HowTo #language en |
Line 3: | Line 4: |
In some sense, it is better to file a useless bug report than to let a bug continue to exist. Before filing, please take a few minutes and search for a similar bug on bugzilla.ubuntu.com. You may also click the Bug Report Tool from the Applications - System tools menu. | <<Anchor(Top)>> |
Line 5: | Line 6: |
If you find a bug which resebmles your's, add to it. | '''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.''' |
Line 7: | Line 8: |
Try to file a thoughtful bug report. You should be informative, but that does not mean that you have to fix the bug before filing your report. It is okay to not know what to do to fix it. | = Reporting bugs = |
Line 9: | Line 10: |
If your bug report is compelling, it will be assigned to someone and you will be prompted to add information to the bug report thread. You will be given clear instructions on how to gather relevant information. | ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;"><<TableOfContents(2)>>|| |
Line 11: | Line 12: |
It is very satisfying to file a bug report which ends up making a difference. | Ubuntu uses Launchpad to keep track of bugs and their fixes. To file a bug you first need to [[ 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 [[https://wiki.ubuntu.com/Bugs/Status|here]]). == Filing a bug with ubuntu-bug == === Ubuntu 8.10 and later === ||<style="border: 0px solid black">{{attachment:ubuntu-bug.png|Filing a bug with the "Run Application" 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 [[https://wiki.ubuntu.com/Bugs/FindRightPackage|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`. {{attachment:system-monitor-id.png | System Monitor Processes tab }} Then type the process ID instead of the package name into the "Run Application" window. {{attachment:ubuntu-bug-pid.png | Filing a bug with the "Run Application" 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 bugs at Launchpad.net == If for some reason you cannot file a bug through the ''Apport'' tool you can file one via [[https://bugs.launchpad.net/ubuntu/+filebug/?no-redirect | Launchpads own bug report form]]. When doing so it is best if you have determined which package it should be filed against. Read '[[http://wiki.ubuntu.com/Bugs/FindRightPackage|finding the right package]]' for guidance or use [[ http://launchpad.net/ubuntu/ | Launchpad's package search feature ]]. To file a bug against a specific package you can also use a URL like 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 [[ https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages#Requesting%20a%20new%20package%20for%20Ubuntu | wiki ]]. == Using the help menu in the affected application == '''Note:''' Since [[https://wiki.ubuntu.com/LucidLynx|10.04]] this only works for the Development Releases, If you're running Lucid you might want to use the [[https://help.ubuntu.com/community/ReportingBugs#Filing%20a%20bug%20with%20ubuntu-bug|ubuntu-bug]] method. (See [[https://wiki.ubuntu.com/DesktopTeam/Specs/Lucid/BugHandling|Lucid/BugHandling]] for information on this change.) 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'''. {{attachment: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, [[https://wiki.ubuntu.com/Apport|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. {{attachment:apport-1.png}} |
Line 14: | Line 72: |
== Filing translation bugs == | |
Line 15: | Line 74: |
Be sure to '''not''' file bug reports for the following: {{{ Support requests: You should use the forums, IRC or the Ubuntu-users mailing lists. |
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. |
Line 19: | Line 76: |
Here is a non-exhaustive list of problems that are appropriate for the Ubuntu Translations project: | |
Line 20: | Line 78: |
Feature and policy discussions: This should be brought up on the Ubuntu-devel mailing list, IRC or create a wiki page. | * Wrong translations or spelling mistakes in applications * Errors in spellcheckers or language support * A string from an application is not available for translation in [[http://translations.launchpad.net/ubuntu|Launchpad Translations]] * An application from the Ubuntu main repository is not available for translation in [[http://translations.launchpad.net/ubuntu|Launchpad Translations]] * A translation made in [[http://translations.launchpad.net/ubuntu|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 [[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]] |
Line 22: | Line 86: |
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 [[http://wiki.ubuntu.com/Translations/Contact|contact the Translations team]]. | |
Line 23: | Line 88: |
Development ideas: Make such suggestions directly to the developers on the ubuntu-devel mailing list. }}} |
=== 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. If this fails then run `apport-collect -p <package name> bug_number`. == 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 1. What actually happened 1. 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. [[#Top|Back to top]] = 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 [[irc://irc.freenode.net/#ubuntu|#ubuntu]] channel on the [[https://help.ubuntu.com/community/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. * '''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: [[http://wiki.ubuntu.com/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)]],[[http://www.ubuntu.com/getubuntu/releasenotes/1004|10.04 (Lucid Lynx)]] . If you have further information about an already reported bug, add this information to the existing reported bug, instead of opening a new one. [[#Top|Back to top]] = Getting advice = If you need help in finding the right package or providing appropriate information ask someone on [[irc://irc.freenode.net/#ubuntu-bugs|#ubuntu-bugs]] on the [[https://help.ubuntu.com/community/InternetRelayChat|Freenode IRC]] server or on the [[https://lists.ubuntu.com/mailman/listinfo/Ubuntu-bugsquad|bugsquad mailing list]]. [[#Top|Back to top]] = Other languages = * [[ReportingBugs_es|Spanish]] * [[http://www.ubuntu.ro/documentatie/comunitate/RaportareErori | Romanian]] [[#Top|Back to top]] = See Also = * [[ 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 * [[Ubuntu:DebuggingProcedures|Debugging Procedures]] [[#Top|Back to 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).
Filing a bug with ubuntu-bug
Ubuntu 8.10 and later
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.
Then type the process ID instead of the package name into the "Run Application" window.
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 bugs at Launchpad.net
If for some reason you cannot file a bug through the Apport tool you can file one via Launchpads own bug report form. When doing so it is best if 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 you can also use a URL like 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.
Using the help menu in the affected application
Note: Since 10.04 this only works for the Development Releases, If you're running Lucid you might want to use the ubuntu-bug method. (See Lucid/BugHandling for information on this change.)
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 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.
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.
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. If this fails then run apport-collect -p <package name> bug_number.
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:
- What you expected to happen
- What actually happened
- 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.
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 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), 9.10 (Karmic Koala),10.04 (Lucid Lynx) . 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.
Other languages
See Also
A screencast on using these tools by Daniel Holbach
How to Report Bugs Effectively, by Simon Tatham