1
How to report a bug in Debian using reportbug
3
We strongly recommend that you report bugs in Debian using the
4
reportbug program. To install and start it, simply run:
6
aptitude install reportbug; reportbug
8
It will guide you through the bug reporting process step by step.
10
If you have questions that the interactive prompts of reportbug do not
11
resolve, you can refer to the rest of the documentation below or ask
12
the Debian user mailing list.
14
How to report a bug in Debian using email (and advanced usage of reportbug)
16
Important things to note before sending your bug report
18
What package does your bug report belong to?
20
You need to know what package your bug report should be filed against.
21
See this example for information on how to find this information. (You
22
will use this information to see if your bug report has been filed
25
If you are unable to determine which package your bug report should be
26
filed against, please send e-mail to the Debian user mailing list
29
If your problem doesn't relate just to one package but some general
30
Debian service, there are several pseudo-packages or even mailing
31
lists that you can use to relay your message to us instead.
33
Has your bug report been filed already?
35
You should check to see if your bug report has already been filed
36
before submitting it. You can see which bugs have been filed in a
37
specific package using the package option of the bug search form. If
38
there is an existing bug report #<number>, you should submit your
39
comments by sending e-mail to <number>@bugs.debian.org instead of
42
Send multiple reports for multiple bugs
44
Please don't report multiple unrelated bugs -- especially ones in
45
different packages -- in a single bug report.
47
Don't file bugs upstream
49
If you file a bug in Debian, don't send a copy to the upstream
50
software maintainers yourself, as it is possible that the bug exists
51
only in Debian. If necessary, the maintainer of the package will
52
forward the bug upstream.
54
Sending the bug report via e-mail
56
You can report bugs in Debian by sending an e-mail to
57
submit@bugs.debian.org with a special format described below.
58
reportbug (see above) will properly format the e-mails for you; please
63
Like any e-mail you should include a clear, descriptive Subject line
64
in your main mail header. The subject you give will be used as the
65
initial bug title in the tracking system, so please try to make it
68
If you'd like to send a copy of your bug report to additional
69
recipients (such as mailing lists), you shouldn't use the usual e-mail
70
headers, but a different method, described below.
74
The first part of the bug report are the pseudo-headers which contain
75
information about what package and version your bug report applies to.
76
The first line of the message body has to include a pseudo-header. It
78
Package: <packagename>
80
Replace <packagename> with the name of the package which has the bug.
82
The second line of the message should say:
83
Version: <packageversion>
85
Replace <packageversion> with the version of the package. Please don't
86
include any text here other than the version itself, as the bug
87
tracking system relies on this field to work out which releases are
90
You need to supply a correct Package line in the pseudo-header in
91
order for the bug tracking system to deliver the message to the
92
package's maintainer. See this example for information on how to find
95
For other valid pseudo-headers, see Additional pseudo-headers
97
The body of the report
99
Please include in your report:
100
* The exact and complete text of any error messages printed or
101
logged. This is very important!
102
* Exactly what you typed or did to demonstrate the problem.
103
* A description of the incorrect behavior: exactly what behavior you
104
were expecting, and what you observed. A transcript of an example
105
session is a good way of showing this.
106
* A suggested fix, or even a patch, if you have one.
107
* Details of the configuration of the program with the problem.
108
Include the complete text of its configuration files.
109
* The versions of any packages on which the buggy package depends.
110
* What kernel version you're using (type uname -a), your shared C
111
library (type ls -l /lib/libc.so.6 or dpkg -s libc6 | grep
112
^Version), and any other details about your Debian system, if it
113
seems appropriate. For example, if you had a problem with a Perl
114
script, you would want to provide the version of the `perl' binary
115
(type perl -v or dpkg -s perl | grep ^Version:).
116
* Appropriate details of the hardware in your system. If you're
117
reporting a problem with a device driver please list all the
118
hardware in your system, as problems are often caused by IRQ and
119
I/O address conflicts.
120
* If you have reportbug installed the output of reportbug -q
121
--template -T none -s none -S normal -b --list-cc none -q
122
<package> will also be useful, as it contains the output of
123
maintainer specific scripts and version information.
125
Include any detail that seems relevant -- you are in very little
126
danger of making your report too long by including too much
127
information. If they are small, please include in your report any
128
files you were using to reproduce the problem. (If they are large,
129
consider making them available on a publicly available website if
132
For more advice on how to help the developers solve your problem,
133
please read How to Report Bugs Effectively.
135
An Example Bug Report
137
A bug report with header and pseudo-header looks something like this:
138
To: submit@bugs.debian.org
139
From: diligent@testing.linux.org
140
Subject: Hello says `goodbye'
145
When I invoke `hello' without arguments from an ordinary shell
146
prompt it prints `goodbye', rather than the expected `hello, world'.
147
Here is a transcript:
155
I suggest that the output string, in hello.c, be corrected.
157
I am using Debian GNU/Linux 2.2, kernel 2.2.17-pre-patch-13
160
Sending copies of bug reports to other addresses
162
Sometimes it is necessary to send a copy of a bug report to somewhere
163
else besides debian-bugs-dist and the package maintainer, which is
164
where they are normally sent.
166
You could do this by CC'ing your bug report to the other address(es),
167
but then the other copies would not have the bug report number put in
168
the Reply-To field and the Subject line. When the recipients reply
169
they will probably preserve the submit@bugs.debian.org entry in the
170
header and have their message filed as a new bug report. This leads to
171
many duplicated reports.
173
The right way to do this is to use the X-Debbugs-CC header. Add a line
174
like this to your message's mail header:
175
X-Debbugs-CC: other-list@cosmic.edu
177
This will cause the bug tracking system to send a copy of your report
178
to the address(es) in the X-Debbugs-CC line as well as to
181
Avoid sending such copies to the addresses of other bug reports, as
182
they will be caught by the checks that prevent mail loops. There is
183
relatively little point in using X-Debbugs-CC for this anyway, as the
184
bug number added by that mechanism will just be replaced by a new one;
185
use an ordinary CC header instead.
187
This feature can often be combined usefully with mailing quiet -- see
190
Additional Pseudoheaders
194
If a report is of a particularly serious bug, or is merely a feature
195
request, you can set the severity level of the bug as you report it.
196
This is not required however, and the package maintainer will assign
197
an appropriate severity level to your report even if you do not (or
198
pick the wrong severity).
200
To assign a severity level, put a line like this one in the
204
Replace <severity> with one of the available severity levels, as
205
described in the advanced documentation.
209
You can set tags on a bug as you are reporting it. For example, if you
210
are including a patch with your bug report, you may wish to set the
211
patch tag. This is not required, however, and the developers will set
212
tags on your report as and when it is appropriate.
214
To set tags, put a line like this one in the pseudo-header:
217
Replace <tags> with one or more of the available tags, as described in
218
the advanced documentation. Separate multiple tags with commas,
223
Replace <usertags> with one or more usertags. Separate multiple tags
224
with commas, spaces, or both. If you specify a <username>, that user's
225
tags will be set. Otherwise, the e-mail address of the sender will be
226
used as the username.
227
Forwarded: foo@example.com
229
will mark the newly submitted bug as forwarded to foo@example.com. See
230
Recording that you have passed on a bug report in the developers'
231
documentation for details.
232
Owner: foo@example.com
234
will indicate that foo@example.com is now responsible for fixing this
235
bug. See Changing bug ownership in the developers' documentation for
239
the equivalent of Package: for bugs present in the source package of
240
foopackage; for most bugs in most packages you don't want to use this
243
Finally, if your MUA doesn't allow you to edit the headers, you can
244
set the various X-Debbugs- headers in the pseudo-headers.
246
Additional information
248
Different submission addresses (minor or mass bug reports)
250
If a bug report is minor, for example, a documentation typo or a
251
trivial build problem, please adjust the severity appropriately and
252
send it to maintonly@bugs.debian.org instead of
253
submit@bugs.debian.org. maintonly will forward the report to the
254
package maintainer only, it won't forward it to the BTS mailing lists.
256
If you're submitting many reports at once, you should definitely use
257
maintonly@bugs.debian.org so that you don't cause too much redundant
258
traffic on the BTS mailing lists. Before submitting many similar bugs
259
you may also want to post a summary on debian-bugs-dist.
261
If wish to report a bug to the bug tracking system that's already been
262
sent to the maintainer, you can use quiet@bugs.debian.org. Bugs sent
263
to quiet@bugs.debian.org will not be forwarded anywhere, only filed.
265
When you use different submission addresses, the bug tracking system
266
will set the Reply-To of any forwarded message so that the replies
267
will by default be processed in the same way as the original report.
268
That means that, for example, replies to maintonly will go to
269
nnn-maintonly@bugs.debian.org instead of nnn@bugs.debian.org, unless
270
of course one overrides this manually.
274
Normally, the bug tracking system will return an acknowledgement to
275
you by e-mail when you report a new bug or submit additional
276
information to an existing bug. If you want to suppress this
277
acknowledgement, include an X-Debbugs-No-Ack header in your e-mail
278
(the contents of this header do not matter; however, it must be in the
279
mail header and not in the pseudo-header with the Package field). If
280
you report a new bug with this header, you will need to check the web
281
interface yourself to find the bug number.
283
Note that this header will not suppress acknowledgements from the
284
control@bugs.debian.org mailserver, since those acknowledgements may
285
contain error messages which should be read and acted upon.
287
Bug reports against unknown packages
289
If the bug tracking system doesn't know who the maintainer of the
290
relevant package is it will forward the report to debian-bugs-dist
291
even if maintonly was used.
293
When sending to maintonly@bugs.debian.org or
294
nnn-maintonly@bugs.debian.org you should make sure that the bug report
295
is assigned to the right package, by putting a correct Package at the
296
top of an original submission of a report, or by using the
297
control@bugs.debian.org service to (re)assign the report
300
Using dpkg to find the package and version for the report
302
When using reportbug to report a bug in a command, say grep, the
303
following will automatically select the right package and let you
304
write the report right away: reportbug --file $(which grep)
306
You can also find out which package installed it by using dpkg
307
--search. You can find out which version of a package you have
308
installed by using dpkg --list or dpkg --status.
314
apt-get is /usr/bin/apt-get
315
$ dpkg --search /usr/bin/apt-get
316
apt: /usr/bin/apt-get
318
Desired=Unknown/Install/Remove/Purge/Hold
319
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
320
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
321
||/ Name Version Description
322
+++-==============-==============-============================================
323
ii apt 0.3.19 Advanced front-end for dpkg
326
Status: install ok installed
330
Maintainer: APT Development Team <deity@lists.debian.org>
332
Replaces: deity, libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
333
Provides: libapt-pkg2.7
334
Depends: libapt-pkg2.7, libc6 (>= 2.1.2), libstdc++2.10
337
Description: Advanced front-end for dpkg
338
This is Debian's next generation front-end for the dpkg package manager.
339
It provides the apt-get utility and APT dselect method that provides a
340
simpler, safer way to install and upgrade packages.
342
APT features complete installation ordering, multiple source capability
343
and several other unique features, see the Users Guide in
344
/usr/doc/apt/guide.text.gz
346
Other useful commands and packages
348
The querybts tool, available from the same package as reportbug,
349
provides a convenient text-based interface to the bug tracking system.
351
Emacs users can also use the debian-bug command provided by the
352
debian-el package. When called with M-x debian-bug, it will ask for
353
all necessary information in a similar way to reportbug.
354
_________________________________________________________________
356
Debian BTS administrators <owner@bugs.debian.org>
358
Debian bug tracking system
359
Copyright � 1999 Darren O. Benham, 1997, 2003 nCipher Corporation Ltd,
360
1994-1997 Ian Jackson.
361
_________________________________________________________________