DietPi & TvHeadEnd


i had to re-setup my Dietpi and wanted to use an actual version of TvHeadEnd. Sadly I get error-messages
using both ways of installation listed in Ubuntu-Wiki here:

Trying New repository:

>>>sudo apt-add-repository " KOMPONENTE DISTRIBUTION main"
sudo: apt-add-repository: Befehl nicht gefunden

Trying Manual:

Checke Dateien aus: 100% (5453/5453), Fertig.
>>>~# make
make: *** Es wurden keine Ziele angegeben und keine „make“-Steuerdatei gefunden.  Schluss.
>>>~# sudo make install
make: *** Keine Regel, um „install“ zu erstellen.  Schluss.

Update: If i change into the cloned “tvheadend”-directory and start “./configure” as written in the github ReadMe I get the message
“ERROR: no gettext binaries found”:

>>># ./configure
Checking support/features
  checking for cc execinfo.h ...                    ok
  checking for cc -mmmx ...                         fail
  checking for cc -msse2 ...                        fail
  checking for cc -Wunused-result ...               ok
  checking for cc -fstack-protector ...             ok
  checking for cc -fstack-protector-strong ...      ok
  checking for cc -fstack-check ...                 ok
  checking for cc -fPIE ...                         ok
  checking for cc strlcat ...                       fail
  checking for cc strlcpy ...                       fail
  checking for cc fdatasync ...                     ok
  checking for cc getloadavg ...                    ok
  checking for cc atomic32 ...                      ok
  checking for cc atomic64 ...                      ok
  checking for cc atomic_time_t ...                 ok
  checking for cc atomic_ptr ...                    ok
  checking for cc bitops64 ...                      ok
  checking for cc lockowner ...                     ok
  checking for cc qsort_r ...                       ok
  checking for cc stime ...                         ok
  checking for cc gmtoff ...                        ok
  checking for cc recvmmsg ...                      ok
  checking for cc sendmmsg ...                      ok
  checking for cc libiconv ...                      fail
    ^ using build-in glibc iconv routines
  checking for cc ifnames ...                       ok
  checking for cc cclang_threadsan ...              fail
  checking for py module gzip ...                   ok
  checking for pkg-config ...                       ok
  checking for xgettext ...                         fail
ERROR: no gettext binaries found

Update: Even installing an outdated version doesn’t seem possible anymore (‘package can’t be found’):

#>>> sudo apt-get install tvheadend
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
E: Paket tvheadend kann nicht gefunden werden.

So my querstion is: How can i install an actal version of TvHeadEnd within DietPi ?


It seems ilke I didn’t read close enough. The repository should be chosen from these:
Index of /stable/dists/

bionic/                                            16-Dec-2020 14:05                   -
cosmic/                                            22-May-2020 15:05                   -
focal/                                             16-Dec-2020 14:05                   -
jessie/                                            16-Dec-2020 14:05                   -
raspbian-jessie/                                   16-Dec-2020 14:05                   -
raspbian-stretch/                                  16-Dec-2020 14:05                   -
stretch/                                           16-Dec-2020 14:05                   -
trusty/                                            16-Dec-2020 14:05                   -
xenial/                                            16-Dec-2020 14:05                   -

In the local /ect/apt/sources.list everything is for “buster”, but this version is not listed above.
So: Which one do I have to chose? Would “bionic” be the right choice or would it “mixup” Debain and Ubuntu?

Update1: Only the two “raspbian”-directorys seem to have arm-packages available.

Update2: To be honest… I don’t really know what I’m doing but I added the following line in the file /etc/apt/sources.list:

deb raspbian-stretch main

Then I ran ‘sudo apt-get update’ and was afterwards able to do a ‘sudo apt-get install tvheadend’. It looks that this way is working
(just doing the configuration), but I´m pretty unsure if this is the way it should be done…


well that’s a dirty way, even if it is working :slight_smile:

Best practice is to create own apt configuration files for each software like

nano /etc/apt/sources.list.d/tvheadend.list

This way you can avoid to have /etc/apt/sources.list overvritten by other processes :wink:

Next to this, you have installed Stretch packages on a Buster system now. No grantee that this is working well. You should ask tvheadend if they support Debian/Raspbian OS Buster because Stretch is the old Debian release. And in 6 month time, we expect the next Debian version Bullseye.