[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023733: marked as done (reportbug: Please, depend on some editor)



Your message dated Sat, 26 Nov 2022 21:26:46 +0100
with message-id <eba051cf-40f8-cc59-aab8-54dc46fee90c@web.de>
and subject line Re: Bug#1023733: reportbug: Please, depend on some editor
has caused the Debian Bug report #1023733,
regarding reportbug: Please, depend on some editor
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1023733: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023733
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
> 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.

Reportbug is not normally available in unusual small environments. In
such environments you already have to take care of what tools you need,
as you have shown above with your apt-get invocations. You can easily
add an editor there.

Depending on an editor is not an easy and obvious thing to do for
reportbug, because any standard environment already has at least one and
there is no value in reportbug forcing the installation of any
particular editor that the administrator may not want.

Closing accordingly.

--- End Message ---

Reply to: