[Pkg-lirc-maint] Bug#858144: lirc: Missing dependency: lirc-setup requires python3-yaml

Adrian Bunk bunk at debian.org
Sun Mar 19 20:35:29 UTC 2017


Control: severity -1 serious

On Sat, Mar 18, 2017 at 10:09:50PM +0100, Roland Clobus wrote:
> Package: lirc
> Version: 0.9.4c-7
> Severity: normal
> 
> Hello,
> 
> The binary lirc-setup, which is shipped in the package lirc, requires
> python3-yaml. It already has a dependency on python3.
> 
> Step to test:
> * Have python3 installed, but not python3-yaml
> * Run 'lirc-setup'
> 
> Result:
> Traceback (most recent call last):
>   File "/usr/bin/lirc-setup", line 10, in <module>
>     import mvc_control
>   File "/usr/lib/x86_64-linux-gnu/python3/dist-packages/lirc/mvc_control.py",
> line 15, in <module>
>     import mvc_model
>   File "/usr/lib/x86_64-linux-gnu/python3/dist-packages/lirc/mvc_model.py",
> line 13, in <module>
>     import yaml
> ImportError: No module named 'yaml'

Thanks for your report.

There seem to be more dependencies missing, the next error I get is:

$ lirc-setup 
Traceback (most recent call last):
  File "/usr/bin/lirc-setup", line 10, in <module>
    import mvc_control
  File "/usr/lib/x86_64-linux-gnu/python3/dist-packages/lirc/mvc_control.py", line 2, in <module>
    import gi
ImportError: No module named 'gi'
$ 

That's python3-gi, and after that I need also gir1.2-vte-2.91.

I am raising the severity since there doesn't seem to be any package 
relationship on all the packages required for lirc-setup.

I cannot judge whether Depends is appropriate or would pull in too much,
but a Recommends or at least a Suggests on all required packages is
required.

> With kind regards,
> Roland Clobus
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Pkg-lirc-maint mailing list