Bug#1023733: reportbug: Please, depend on some editor
Package: reportbug
Version: 7.10.3+deb11u1
Severity: normal
X-Debbugs-Cc: safinaskar@gmail.com
I wanted to report some bug in bullseye. So, I started fresh bullseye docker container using this command:
sudo docker run -it --rm -v /tmp:/tmp debian:bullseye
Then, in this container I typed "apt-get update; apt-get install whiptail apt-utils" (whiptail and
apt-utils are packages I usually install when I start new container)
Then I typed "apt-get install bugreport". Then I proceed to answer questions. But when I reached the stage
when I need to edit message, I saw this:
%%%begin
Please select tags: (one at a time) [done]
Spawning sensible-editor...
update-alternatives: error: no alternatives for editor
/usr/bin/sensible-editor: 25: editor: not found
/usr/bin/sensible-editor: 28: nano: not found
/usr/bin/sensible-editor: 31: nano-tiny: not found
/usr/bin/sensible-editor: 34: vi: not found
Couldn't find an editor!
Set the $EDITOR environment variable to your desired editor.
Warning: possible error exit from sensible-editor: 256
No changes were made in the editor.
Report will be sent to Debian Bug Tracking System <submit@bugs.debian.org>
Submit this report on debian-installer (e to edit) [y|n|a|c|E|i|l|m|p|q|d|t|?]?
%%%end
So, "reportbug" does not depend on any editor. This is a big issue for unusual small environments, such as
fresh small docker container. So, please add "Depends" dependency (or at least "Recommends" dependency) on some editor.
-- Package-specific info:
** Environment settings:
INTERFACE="text"
** /root/.reportbugrc:
reportbug_version "7.10.3+deb11u1"
mode standard
ui text
realname "Askar Safin"
email "safinaskar@gmail.com"
no-check-uid
no-cc
list-cc-me
smtphost reportbug.debian.org
-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-0.deb9.17-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages reportbug depends on:
ii apt 2.2.4
ii python3 3.9.2-3
ii python3-reportbug 7.10.3+deb11u1
ii sensible-utils 0.0.14
reportbug recommends no packages.
Versions of packages reportbug suggests:
pn claws-mail <none>
pn debconf-utils <none>
pn debsums <none>
pn default-mta | postfix | exim4 | mail-transport-agent <none>
pn dlocate <none>
pn emacs-bin-common <none>
ii file 1:5.39-3
pn gnupg | pgp <none>
pn python3-urwid <none>
pn reportbug-gtk <none>
pn xdg-utils <none>
Versions of packages python3-reportbug depends on:
ii apt 2.2.4
ii file 1:5.39-3
ii python3 3.9.2-3
ii python3-apt 2.2.1
ii python3-debian 0.1.39
ii python3-debianbts 3.1.0
ii python3-requests 2.25.1+dfsg-2
ii sensible-utils 0.0.14
python3-reportbug suggests no packages.
-- no debconf information
Reply to: