Bug#1119283: reportbug (as user): IndexError: list index out of range
Package: reportbug
Version: 13.2.0
Severity: normal
X-Debbugs-Cc: mathbugix@snafu.de
Dear Maintainer,
i reported an error with success ..
Afterwards i wanted to report another error (as user). This failed.
Afterwards i wanted to report a bug against reportbug-package ...
I got the following error:
...........................
151) #851393 GTK: crashes after suites selection (lfs, upstream etc.) [RES
(147-151/151) Is the bug you found listed above [y|N|b|m|r|q|s|f|e|?]? N
Maintainer for reportbug is 'Reportbug Maintainers <debian-reportbug@lists.debian.org>'.
Looking up dependencies of reportbug...
Getting status for related package python3-reportbug...
Looking up 'depends' of related package python3-reportbug...
Looking up 'suggests' of related package python3-reportbug...
Getting changed configuration files...
md5sum: /etc/reportbug.conf: Datei oder Verzeichnis nicht gefunden
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2419, in <module>
main()
~~~~^^
File "/usr/bin/reportbug", line 1110, in main
return iface.user_interface()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/bin/reportbug", line 1907, in user_interface
confinfo, changed = utils.get_changed_config_files(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
conffiles, self.options.nocompress)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 1238, in get_changed_config_files
filemd5 = get_command_output('md5sum ' + shlex.quote(filename)).split()[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
echo $?
1
I see:
md5sum: /etc/reportbug.conf: Datei oder Verzeichnis nicht gefunden
But:
ls -l /etc/reportbug.conf
-rw-r--r-- 1 root root 3229 19. Feb 2025 /etc/reportbug.conf
I solved this error by reporting this bug as root - oh oh oh
-- Package-specific info:
** Environment settings:
INTERFACE=text
** /root/.reportbugrc:
reportbug_version "13.2.0"
mode novice
ui text
email "mathbugix@snafu.de"
no-check-uid
no-cc
list-cc-me
smtphost reportbug.debian.org
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.48+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages reportbug depends on:
ii apt 3.0.3
ii python3 3.13.5-1
ii python3-reportbug 13.2.0
ii sensible-utils 0.0.25
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
ii debconf 1.5.91
pn debsums <none>
pn dlocate <none>
pn emacs-bin-common <none>
ii exim4-daemon-light [mail-transport-agent] 4.98.2-1
ii file 1:5.46-5
ii gnupg 2.4.7-21
pn python3-urwid <none>
pn reportbug-gtk <none>
ii xdg-utils 1.2.1-2
Versions of packages python3-reportbug depends on:
ii apt 3.0.3
ii file 1:5.46-5
ii python3 3.13.5-1
ii python3-apt 3.0.0
ii python3-debian 1.0.1
ii python3-debianbts 4.1.1
ii python3-requests 2.32.3+dfsg-5
ii sensible-utils 0.0.25
python3-reportbug suggests no packages.
-- no debconf information
Reply to: