Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I am running this system with a USB key or the 12.5.0 DLBD because
the latest upgrade failed on the last step (apt full-upgrade). In
order to investigate, I use chroot. Why not use the info already set
up for reportbug.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I started the bug report, up to typing "10" for none and pressed
enter.
* What was the outcome of this action?
Gathering additional data, this may take a while...
Traceback (most recent call last):
File "/usr/bin/reportbug", line 2369, in <module>
main()
File "/usr/bin/reportbug", line 1091, in main
return iface.user_interface()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/reportbug", line 2186, in user_interface
utils.exec_and_parse_bugscript(handler, bugexec, ui.system)
File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 1837, in exec_and_parse_bugscript
fh, filename = TempFile()
^^^^^^^^^^
File "/usr/lib/python3/dist-packages/reportbug/tempfiles.py", line 122, in TempFile
fh, filename = tempfile.mkstemp(suffix, prefix, dir, text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/tempfile.py", line 473, in mkstemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/tempfile.py", line 265, in _sanitize_params
dir = gettempdir()
^^^^^^^^^^^^
File "/usr/lib/python3.11/tempfile.py", line 438, in gettempdir
return _os.fsdecode(_gettempdir())
^^^^^^^^^^^^^
File "/usr/lib/python3.11/tempfile.py", line 431, in _gettempdir
tempdir = _get_default_tempdir()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/tempfile.py", line 362, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/budheal']
* What outcome did you expect instead?
I thought reportbug would work even on the admittedly-broken system.
*** End of the template - remove these template lines ***