Project

General

Profile

Unable to locate package tvheadend

Added by Michael Fuselier over 6 years ago

OK, guys I am not new to linux, but new installing from the command line.
I have tried every stinking repository I can find. Always get the same error.
I am using a raspberry pi 3, with the latest rasbian 2017-11-29-raspbian-stretch, and an instructable.com/id/Raspberry-Pi-TV/ for directions.
Here is my sources.list file.

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free $
  1. Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi

#deb https://dl.bintray.com/djbenson/deb trusty stable (for stable branch)
#deb https://dl.bintray.com/djbenson/deb wheezy unstable (for unstable branch)

#deb https://dl.bintray.com/tvheadend/ubuntu master main
#deb https://dl.bintray.com/tvheadend/ubuntu unstable main

#deb https://dl.bintray.com/tvheadend/deb/dists/ wheezy release

#deb https://dl.bintray.com/mpmc/deb jessie stable
deb http://apt.tvheadend.org/stable wheezy main

You can see I've tried many sources, but I just keep getting nowhere. So my latest modification to my sources gives me this error.

pi@rasbian-kodi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Get:2 http://apt.tvheadend.org/stable wheezy InRelease [3484 B]
Hit:3 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Ign:2 http://apt.tvheadend.org/stable wheezy InRelease
Fetched 3484 B in 2s (1306 B/s)
Reading package lists... Done
W: GPG error: http://apt.tvheadend.org/stable wheezy InRelease: The following signatures were invalid: 885B5A9BB5F392394DBEA699B42317285E12C7CF
W: The repository 'http://apt.tvheadend.org/stable wheezy InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-armhf/Packages' as repository 'http://apt.tvheadend.org/stable wheezy InRelease' doesn't support architecture 'armhf'

pi@rasbian-kodi:~ $ sudo apt-get install tvheadend
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tvheadend

Please help.


Replies (20)

RE: Unable to locate package tvheadend - Added by Saul Peebsen over 6 years ago

Don't know about repos, but you can use dpkg to install deb packages you have downloaded.

RE: Unable to locate package tvheadend - Added by saen acro over 6 years ago

wget https://dl.bintray.com/djbenson/deb/pool/unstable/:tvheadend_4.1-2328~gca5f094_armhf.deb
dpkg -i tvheadend_4.1-2328~gca5f094_armhf.deb

Other question why so old package used.

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

I just don't know what I am doing I guess. I just want to get it working. Newer is better, I'm sure.
Guess that's just the tutorial I found suggested. You have a better compatible package I should use?

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

pi@rasbian-kodi:~ $ wget https://dl.bintray.com/djbenson/deb/pool/unstable/:tvheadend_4.1-2328~gca5f094_armhf.deb
--2018-03-15 09:14:24-- https://dl.bintray.com/djbenson/deb/pool/unstable/:tvheadend_4.1-2328~gca5f094_armhf.deb
Resolving dl.bintray.com (dl.bintray.com)... 108.168.243.150
Connecting to dl.bintray.com (dl.bintray.com)|108.168.243.150|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-15 09:14:25 ERROR 404: Not Found.

RE: Unable to locate package tvheadend - Added by saen acro over 6 years ago

wget https://dl.bintray.com/djbenson/deb/pool/unstable/tvheadend_4.1-2328~gca5f094_armhf.deb
dpkg -i tvheadend_4.1-2328~gca5f094_armhf.deb

without : before tvheadend_4.1-2328~gca5f094_armhf.deb

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

OK, I've made some progress. Switched to tvheadend.org sources. But now I get this error.

pi@rasbian-kodi:~ $ sudo dpkg -i tvheadend-dbg_4.1-1322~ga12ec36~wheezy_armhf.deb
Selecting previously unselected package tvheadend-dbg.
(Reading database ... 143749 files and directories currently installed.)
Preparing to unpack tvheadend-dbg_4.1-1322~ga12ec36~wheezy_armhf.deb ...
Unpacking tvheadend-dbg (4.1-1322~ga12ec36~wheezy) ...
dpkg: dependency problems prevent configuration of tvheadend-dbg:
tvheadend-dbg depends on tvheadend (= 4.1-1322~ga12ec36~wheezy); however:
Package tvheadend is not installed.

dpkg: error processing package tvheadend-dbg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tvheadend-dbg
pi@rasbian-kodi:~ $

RE: Unable to locate package tvheadend - Added by saen acro over 6 years ago

To install debug, first install normal package.

RE: Unable to locate package tvheadend - Added by Mark Clarkstone over 6 years ago

Also for my repo it's "raspbianstretch" not "jessie".

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

Mark, if you are referring to the mpmc repo, I changed it and this is what I got.

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free $
  1. Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi

#deb https://dl.bintray.com/djbenson/deb wheezy stable (for stable branch)
#deb https://dl.bintray.com/djbenson/deb wheezy unstable (for unstable branch)

#deb https://dl.bintray.com/tvheadend/ubuntu master main
#deb https://dl.bintray.com/tvheadend/ubuntu unstable main

#deb https://dl.bintray.com/tvheadend/deb/dists/ wheezy release

deb https://dl.bintray.com/mpmc/deb rasbianstretch stable
#deb http://apt.tvheadend.org/stable wheezy main

pi@rasbian-kodi:~ $ sudo apt-get update
Ign:1 https://dl.bintray.com/mpmc/deb rasbianstretch InRelease
Ign:2 https://dl.bintray.com/mpmc/deb rasbianstretch Release
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Err:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
404 Not Found
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Get:6 http://archive.raspberrypi.org/debian stretch InRelease [25.3 kB]
Get:7 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Get:8 http://archive.raspberrypi.org/debian stretch/main armhf Packages [144 kB]
Get:9 http://mirrordirector.raspbian.org/raspbian stretch/main armhf Packages [11.7 MB]
Fetched 11.8 MB in 1min 22s (144 kB/s)
Reading package lists... Done
W: The repository 'https://dl.bintray.com/mpmc/deb rasbianstretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.bintray.com/mpmc/deb/dists/rasbianstretch/stable/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@rasbian-kodi:~ $ sudo apt-get install tvheadend
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tvheadend is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tvheadend' has no installation candidate
pi@rasbian-kodi:~ $

RE: Unable to locate package tvheadend - Added by Mark Clarkstone over 6 years ago

Did you install the gpg key before updating sources?

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

I wasn't sure since I did most of that yesterday, or early today, so I did for sure this time, similar message after the apt-get update, although a bit different, and the same message after the sudo apt-get install tvheadend.

pi@rasbian-kodi:~ $ sudo apt-get update
Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Ign:2 https://dl.bintray.com/mpmc/deb rasbianstretch InRelease
Ign:3 https://dl.bintray.com/mpmc/deb rasbianstretch Release
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Ign:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Ign:4 https://dl.bintray.com/mpmc/deb rasbianstretch/stable all Packages
Err:5 https://dl.bintray.com/mpmc/deb rasbianstretch/stable armhf Packages
404 Not Found
Ign:6 https://dl.bintray.com/mpmc/deb rasbianstretch/stable Translation-en
Hit:7 http://archive.raspberrypi.org/debian stretch InRelease
Reading package lists... Done
W: The repository 'https://dl.bintray.com/mpmc/deb rasbianstretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://dl.bintray.com/mpmc/deb/dists/rasbianstretch/stable/binary-armhf/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
pi@rasbian-kodi:~ $ sudo apt-get install tvheadend
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tvheadend is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tvheadend' has no installation candidate

RE: Unable to locate package tvheadend - Added by Mark Clarkstone over 6 years ago

It's "raspbianstretch" (note the p) not "rasbianstretch"

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

Well, you had me. I thought for sure that would fix the problem. I mean that was a bonehead mistake for sure.
So I changed it first to "raspianstrech" and of course that didn't work. I swear my eyes. lol
But I caught that and fixed it while preparing this email. But even with the proper spelling "raspbianstretch" I am still having issues.

See for yourself.

pi@rasbian-kodi:~ $ sudo pico /etc/apt/sources.list

deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free $
  1. Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi

#deb https://dl.bintray.com/djbenson/deb wheezy stable (for stable branch)
#deb https://dl.bintray.com/djbenson/deb wheezy unstable (for unstable branch)

#deb https://dl.bintray.com/tvheadend/ubuntu master main
#deb https://dl.bintray.com/tvheadend/ubuntu unstable main

#deb https://dl.bintray.com/tvheadend/deb/dists/ wheezy release

deb https://dl.bintray.com/mpmc/deb raspbianstretch stable
#deb http://apt.tvheadend.org/stable wheezy main

pi@rasbian-kodi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease
Ign:3 https://dl.bintray.com/mpmc/deb raspbianstretch InRelease
Get:4 https://dl.bintray.com/mpmc/deb raspbianstretch Release [8212 B]
Get:5 https://dl.bintray.com/mpmc/deb raspbianstretch Release.gpg [821 B]
Fetched 9033 B in 2s (3055 B/s)
Reading package lists... Done
pi@rasbian-kodi:~ $ sudo apt-get install tvheadend
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tvheadend is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'tvheadend' has no installation candidate
pi@rasbian-kodi:~ $

RE: Unable to locate package tvheadend - Added by Mark Clarkstone over 6 years ago

it's "deb https://dl.bintray.com/mpmc/deb raspbianstretch stable-4.2"

Notice the -4.2 at the end :p

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

Awesome, I am so glad I was just holding my mouth wrong. Thanks for not being an ass. Some people! Anyway, it worked. Thanks, and stand by for more questions if you don't mind. It's hard to find someone to help with these things, so if your game I will check back in if need be with items as they come up.

RE: Unable to locate package tvheadend - Added by Mark Clarkstone over 6 years ago

Michael Fuselier wrote:

Awesome, I am so glad I was just holding my mouth wrong. Thanks for not being an ass. Some people! Anyway, it worked.

Don't worry, it happens to us all. Glad to hear you got it working!

Thanks, and stand by for more questions if you don't mind. It's hard to find someone to help with these things, so if your game I will check back in if need be with items as they come up.

Sure no problem, I (and I'm sure whoever else follows the forums) will be more than happy to help if we have the answers. :)

:)

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

OK, so I got it to scan most of the channels in my area, but on the ones that are playing, from inside the browser, the audio plays but the video shows up and then just freezes. Any suggestions?

RE: Unable to locate package tvheadend - Added by saen acro over 6 years ago

webtv-vp8-vorbis-webm inside browser?
html5 supported in-browser player used

RE: Unable to locate package tvheadend - Added by Michael Fuselier over 6 years ago

OK, I mis-spoke. It's not playing from inside the browser. When I go to the TVHeadend interface in the browser, and click the Channel / EPG tab, and then click the Play this Stream button to the left of any of the channels it scanned, it downloads something that looks like a URL file, that I was trying to open in VLC. It does open and plays audio, but I was just getting a screen shot of the video. I managed to get the url over to a Macintosh on my network and that VLC is actually playing video and audio with certain settings. So I know that the TVHeadend is working Now I just need to get it working with the version of Kodi I have on my Pi and the Mac's and PC's on my network., without the funky copying and pasting urls into VLC adjusting settings, and having to enter a username and password. Anyone have a good tutorial link that should help for a newbie?

    (1-20/20)