Tvheadend failed to install on RPi3

Hello everybody,
using XBM/Kodi for a long time, now for a new challenge. Our TV transmission will change from DVB-T to DVB-T2 (HEVC) - that my TV set doesn’t do. So I want to use tvheadend on my RPi3.

When installing tvheadend from GUI an error appears.“Error installing armv7-tvheadend-app-osmc. Please report to the osmc forum.” and “Some packages were not installed/removed. Details have been written to the Kodi log.”

I uploaded logs: http://paste.osmc.io/pucuwosemu

Is it impossible to install tvheadend before the USB TV tuner is installed???

Thanks in advance for your help!

Greeting, Arnd

Job for tvheadend.service failed. See 'systemctl status tvheadend.service' and 'journalctl -xn' for details.
dpkg: error processing package armv7-tvheadend-app-osmc (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u7) ...
Errors were encountered while processing:
 armv7-tvheadend-app-osmc

You should check the journal to find out why TVH won’t start.

thank you sam for your quick reply.

when i ask for systemctl status tvheadend.service it says loaded, active, exited status=127.
And no journal files found.
From the error in the GUI it looks like not installed - but here it looks like installed but exited.
Perhaps I really have to put in a tuner stick first?
I still do not know which tuner will work for my situation…
Greetings, Arnd

127 indeed means not installed

try sudo apt-get install --reinstall armv7-tvheadend-app-osmc

We’ll produce some TV tuners soon I think. Do you want DVB-T2 or DVB-S2?

Sam

Good morning!
From reinstall I get: E: Internal Error, No file name for armv7-tvheadend-app-osmc:armhf - ???
The tuner question … at the moment we have DVB-T and from october DVB-T2 with HEVC ie H265.
Best would be a tuner that does both for testing now and quick change then.
Greetings, Arnd

Assuming that you also want to watch the encrypted channels of DVB-T2 there is currently no such stick with Linux support and the likelihood that it will come anytime soon is low.

Seems you have a bigger problem than. When I run the command I get

osmc@osmc:~$ sudo apt-get install --reinstall armv7-tvheadend-app-osmc
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following package was automatically installed and is no longer required:
rbp2-image-4.4.27-7-osmc
Use ‘apt-get autoremove’ to remove it.
The following extra packages will be installed:
dvb-firmware-osmc dvb-tools libdvbv5-0 libhdhomerun1 liburiparser1
The following NEW packages will be installed:
armv7-tvheadend-app-osmc dvb-firmware-osmc dvb-tools libdvbv5-0 libhdhomerun1 liburiparser1
0 upgraded, 6 newly installed, 0 to remove and 9 not upgraded.
Need to get 6,415 kB of archives.
After this operation, 18.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Thanks for your answer. And no, I don’t need the encrypted channels. How about this one: http://www.ebay.de/itm/282388805408 ?

Okay the installation thing. I removed tvheadend again + autoremove and started over again. Looked like you posted. Hit Yes and after installing lots of packages machine said same things like before :frowning:

Greetings, Arnd

Well as it doesn’t have much details about the brand or the chipset it’s hard to say. Your first step for support in OSMC is finding a device that has Linux kernel driver support, see here DVB-T2 USB Devices - LinuxTVWiki

But that being said the issue still remains that German DVB-T2 is kind of special so you need to watch out having the right support.
I think I one time read (here on the forum) that sundtek sticks works but not sure if the driver problems with OSMC have been solved

Provide grab-logs -A once more

okay here it is: http://paste.osmc.io/zotijubuwi
Thank you!

Okay so this is the first time things went wrong. So I suggest your remove whatever you have wanted to install there

Also remove deb http://www.deb-multimedia.org jessie main non-free from your sources

Start-Date: 2017-03-24 19:34:32
Install: libswresample1:armhf (2.6.9-dmo1, automatic), libx264-146:armhf (0.146.2538+git121396c-dmo2, automatic), libzvbi0:armhf (0.2.35-3, automatic), libbluray1:armhf (0.7.0-dmo1, automatic), libzvbi-common:armhf (0.2.35-3, automatic), liburiparser1:armhf (0.8.0.1-2, automatic), liborc-0.4-0:armhf (0.4.22-1, automatic), libfaac0:armhf (1.28-dmo3+deb8u1, automatic), libhdhomerun1:armhf (20140604-2, automatic), libx265-51:armhf (1.6-dmo1, automatic), libopus0:armhf (1.1-2, automatic), libopencore-amrnb0:armhf (0.1.3-2.1, automatic), dvb-tools:armhf (1.6.0-2, automatic), libavutil54:armhf (2.6.9-dmo1, automatic), libvo-aacenc0:armhf (0.1.3-1, automatic), bzip2:armhf (1.0.6-7+b3, automatic), libaacplus2:armhf (2.0.2-dmo2, automatic), libspeex1:armhf (1.2~rc1.2-1, automatic), libfdk-aac1:armhf (0.1.4-dmo1, automatic), libutvideo15:armhf (15.1.0-dmo2, automatic), libopencore-amrwb0:armhf (0.1.3-2.1, automatic), dvb-firmware-osmc:armhf (1.0.1, automatic), libdvbv5-0:armhf (1.6.0-2, automatic), libopenjpeg5:armhf (1.5.2-3, automatic), armv7-tvheadend-app-osmc:armhf (4.0.9-3), libmp3lame0:armhf (3.99.5-dmo4, automatic), libswscale3:armhf (2.6.9-dmo1, automatic), libtheora0:armhf (1.1.1+dfsg.1-6, automatic), libvo-amrwbenc0:armhf (0.1.3-1, automatic), libxvidcore4:armhf (1.3.3-dmo1, automatic), libavformat56:armhf (2.6.9-dmo1, automatic), libavcodec56:armhf (2.6.9-dmo1, automatic), libgsm1:armhf (1.0.13-4, automatic), libschroedinger-1.0-0:armhf (1.0.11-2.1, automatic), libvpx1:armhf (1.3.0-3, automatic)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2017-03-24 19:38:43

Okay, sorry for beeing lazy. I burned a new OSMC image to new microSD card and tvheadend installed without errors. Restored settings backup - fine.
Thanks for your help so far. Im waiting for the DVBT2 USB dongle to arrive. To be continued …

Hello Everybody,
only back to say anything is good upto now. Tvheadend works on my Rpi3, the dongle linked above is fine. It has inside:
Panasonic MN88473 and Realtek RTL2832 PLUS a IR Remote sensor so you can use your TV Remote for Rpi too without soldering.
Upto now means DVB-T(1) works fine. In September we get DVB-T2 with H265 and we will see.
Best regards!