Forums » Tutorial and setups »
Problems installing Tvheadend in Proxmox container
Added by ruff pl almost 2 years ago
From couple hours I am trying to install Tvheadend without luck on Proxmox-Ubuntu server container. I had it couple years ago but never had time to use it and now I wanted to try it again. After I checked all my old notes and fix every problem with old packages, repositories, firmwares, etc (I am not unix specialist) I had ended with:
root@TVHEADEND:~# sudo apt install tvheadend
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
tvheadend : Depends: libavahi-client3 (>= 0.6.16) but it is not installable
Depends: libavahi-common3 (>= 0.6.16) but it is not installable
Depends: libavcodec58 (>= 7:4.4) but it is not going to be installed
Depends: libavfilter7 (>= 7:4.4) but it is not going to be installed
Depends: libavformat58 (>= 7:4.4) but it is not going to be installed
Depends: libavutil56 (>= 7:4.4) but it is not going to be installed
Depends: libhdhomerun4 (>= 20220303) but it is not installable
Depends: liburiparser1 (>= 0.6.0) but it is not installable
Depends: libva2 (>= 2.2.0) but it is not installable
Depends: bzip2 but it is not installable
Depends: dtv-scan-tables but it is not installable
Recommends: xmltv-util but it is not installable
Recommends: python3-all but it is not installable
Recommends: python3-requests but it is not installable
E: Unable to correct problems, you have held broken packages.
Can I get some help? Which packes should I use and whats with does depends and recommends?
Replies (10)
RE: Problems installing Tvheadend in Proxmox container - Added by Jonas Lang almost 2 years ago
What version of Ubuntu have you installed what sources are you using to install TVH.
RE: Problems installing Tvheadend in Proxmox container - Added by ruff pl almost 2 years ago
I tried with Ubuntu 20.04 and 22.10 with ppa:mamarley/tvheadend-git and couple others
RE: Problems installing Tvheadend in Proxmox container - Added by saen acro almost 2 years ago
apt update apt upgrade apt install -f apt install tvheadend
https://tvheadend.org/projects/tvheadend/wiki/AptRepositories
RE: Problems installing Tvheadend in Proxmox container - Added by Jonas Lang almost 2 years ago
You could remove what you have installed for TVH so far and deploy Snap installer. That will look after all the dependencies. Alternatively you could build and install it yourself.
RE: Problems installing Tvheadend in Proxmox container - Added by saen acro almost 2 years ago
Jonas Lang wrote:
You could remove what you have installed for TVH so far and deploy Snap installer. That will look after all the dependencies. Alternatively you could build and install it yourself.
Don't offer SNAP/FLATPACK this is most limited and slow variant.
Waste of resources is in times greater then native install.
RE: Problems installing Tvheadend in Proxmox container - Added by Jonas Lang almost 2 years ago
I’m offering nothing. I’m suggesting solutions. You don’t use containers and that’s your prerogative but do bear in mind others do. If Snap works for the OP and he’s happy so be it. If not he can self build. As it stands so far Apt is not working for him.
RE: Problems installing Tvheadend in Proxmox container - Added by saen acro almost 2 years ago
Jonas Lang wrote:
I’m offering nothing. I’m suggesting solutions. You don’t use containers and that’s your prerogative but do bear in mind others do. If Snap works for the OP and he’s happy so be it. If not he can self build. As it stands so far Apt is not working for him.
Just because I tested, I will never recommend them.
RE: Problems installing Tvheadend in Proxmox container - Added by Ron L almost 2 years ago
The snap package is a very outdated version of TVHeadend that has been modified by the packager and cannot be supported by the TVHeadend developers or community. People who install the snap then come here seeking solutions to fix it's issues are a chronic waste of time on this forum.
The original poster I assume by now has managed to get his repos properly configured in the Proxmox container and I assume installed an official TVH deb package without issue.
RE: Problems installing Tvheadend in Proxmox container - Added by Jonas Lang almost 2 years ago
The ideal solution is a self built version in my opinion.Keeping this process as simple as possible for newcomers would greatly improve TVH’s usability as there has been quite a bit of activity on the GitHub of recent months that these users can benefit from.
I generally don’t recommend any method for installing TVH. I merely point out what methods are available. It’s up to the user to decide what method best suits them.
I will say it would be nice if a user who posts looking for installation methods posts back on what option they choose and if it worked. If nothing else it’s polite to do so and it does help others.
RE: Problems installing Tvheadend in Proxmox container - Added by ruff pl almost 2 years ago
Finally I made it to install Tvheadend but i dont see my tuner in tv adapters window. I have Hauppage usb solo hd tuner that is passed to container.
Command:
ls -l /dev/dvb/adapter0
Got me:
crw-rw---- 1 root video 212, 0 Jan 17 17:41 demux0
crw-rw---- 1 root video 212, 1 Jan 17 17:41 dvr0
crw-rw---- 1 root video 212, 3 Jan 17 17:41 frontend0
crw-rw---- 1 root video 212, 2 Jan 17 17:41 net0
By command: nano /etc/pve/lxc/212.conf I had added in container configuration file:
lxc.cgroup2.devices.allow: c 212:* rwm
lxc.mount.entry: /dev/dvb dev/dvb none bind,optional,create=dir
I had also install firmware:
http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.25/dvb-demod-si2168-b40-01.fw
And also:
sudo add-apt-repository ppa:b-rad/kernel+mediatree+hauppauge
sudo apt update
sudo apt-get install linux-firmware-hauppauge
What should I do now? Is it something with firmware or tvheadend dont see my tuner? Can I check it somehow?