Package: byobu
Version: 5.70-1
Severity: serious

Dear Maintainer,

If one has:
- both python and python3 interpreters installed
- python3-newt module installed
- but python-newt module *not* installed

Then byobu-config fails to start, despite the fact that package dependencies
are fulfilled.

The reason is that the script chooses to use the python (2.7) interpreter
(because it has higher precedence than python3). But then it does not find the
python-newt module, and crashes.

My understanding is that you would like to express the following dependency
relationship: (python && python-newt) || (python3 && python3-newt), but this is
not possible with our dependency system.

The simplest fix seems to remove the python3 dependencies, and have simply:
Depends: python, python-newt, ...

Another option is to improve the autodetection of the python interpreter
version, by checking if the newt package is present for that version.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

Attachment: signature.asc
Description: Digital signature

Reply via email to