[mythtv] Ansible problems with raspberry pi

Stuart Auchterlonie stuarta at squashedfrog.net
Mon Jan 21 16:12:08 UTC 2019

Hi Peter,

The library has changed names during the lifetime of stretch.
There was a period that it was libcec4-dev.

A ticket was opened about this, and I did some investigation
and actually the libcec-dev package is the newest package

I'm on

# lsb_release
No LSB modules are available.
root at raspberrypi:~# lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.6 (stretch)
Release:        9.6
Codename:       stretch

with these repo's enabled (the default AFAICT)

# apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://mirrordirector.raspbian.org/raspbian stretch/rpi armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=rpi,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/non-free armhf
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=non-free,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/contrib armhf
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=contrib,b=armhf
     origin mirrordirector.raspbian.org
 500 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages
     release o=Raspbian,a=stable,n=stretch,l=Raspbian,c=main,b=armhf
     origin mirrordirector.raspbian.org


Looking again at the pull request that was submitted about this

That user had 2 archive repositories enabled, which are actually
debian repos, not raspbian repos.

So I would try uninstalling libcec4, disable the 2 archive repos,
and re-run


On 20/01/2019 19:01, Peter Bennett wrote:
> Hi Stuart
> I rebuild my Raspberry Pi system and compiled V30. I found that ansible
> failed to install the compile dependencies. ansible stopped because it
> could not install libcec-dev. On debian stretch and raspbian stretch the
> package is called libcec4-dev.
> It stopped before it had installed much at all. Is there any way to get
> it to skip the failing package and do the rest?
> I installed the rest of the packages manually. There are a few more
> packages needed for V30 than were for V29 - as follows
> libsamplerate0-dev libbluray-dev libxnvctrl-dev liblzo2-dev libxcb-shm0-dev
> I added the full list of build deps to the wiki at
> https://www.mythtv.org/wiki/Build_from_Source#Installing_Build_Dependencies_without_Ansible
> Please update ansible to use libcec4-dev for stretch and make sure the
> new build deps I have listed above are included. It is possible I have
> some missing or some unnecessary ones, if so please let me know.
> Thanks
> Peter

More information about the mythtv-dev mailing list