New apt repositories - does not work on Raspbian
Added by Gabor Kovacs over 8 years ago
I'm trying to follow the distribution to the new site, but the following command always produces an error:
sudo apt-add-repository "http://dl.bintray.com/tvheadend/deb jessie main"
Error:
Traceback (most recent call last): File "/usr/bin/apt-add-repository", line 167, in <module> sp = SoftwareProperties(options=options) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__ self.reload_sourceslist() File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourcesl ist self.distro.get_sources(self.sourceslist) File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources (self.id, self.codename)) aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
I'm running the latest raspbian on a Raspberry Pi 3
Any idea?
ps: I've also tried the following, with the same result:
sudo apt-add-repository "http://dl.bintray.com/tvheadend/deb jessie release"
Replies (9)
RE: New apt repositories - does not work on Raspbian - Added by Adrian Rudman over 8 years ago
Same issue here - did you make any more progress?
RPi3+Jessie
RE: New apt repositories - does not work on Raspbian - Added by Gabor Kovacs over 8 years ago
Nope, still waiting for the solution.
RE: New apt repositories - does not work on Raspbian - Added by Michael Freudenberg over 8 years ago
Hi,
i want to confirm, that i have the same issue with a Raspberry PI B+. Here is my output:
Traceback (most recent call last): File "/usr/bin/apt-add-repository", line 167, in <module> sp = SoftwareProperties(options=options) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 99, in __init__ self.sourceslist = SourcesList() File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 273, in __init__ self.matcher = SourceEntryMatcher(matcherPath) File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 458, in __init__ dist = DistInfo(f, base_dir=matcherPath) File "/usr/lib/python3/dist-packages/aptsources/distinfo.py", line 261, in __init__ component.set_description(_(value)) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 17: invalid start byte
Unfortunately, i am not able to get an old repo running. When i add the following line to my /etc/apt/sources.list
deb http://apt.tvheadend.org/stable wheezy main
and afterwards run apt-get update as root i get the following error message:
W: Fehlschlag beim Holen von http://apt.tvheadend.org/stable/dists/wheezy/InRelease Erwarteter Eintrag »main/binary-armhf/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei).
Sorry its in german. I'll post the english version right in a minute.
-Michael
RE: New apt repositories - does not work on Raspbian - Added by Michael Freudenberg over 8 years ago
Here we go:
W: Failed to fetch http://apt.tvheadend.org/stable/dists/wheezy/InRelease Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) E: Some index files failed to download. They have been ignored, or old ones used instead.
In first place, i don't care, which repository i can use to install tvheadend. I would like to get it running any way. Does any one know a working guide, or repo which would work on my Raspberry Pi B+? Meanwhile i have the feeling that i have tried all repository variants from this page https://tvheadend.org/projects/tvheadend/wiki/AptRepository. But without success none of them seem to work.
I just want to get any version of tvheadend running, so i can try it out. The long term goal would be then to use the latest supported repository.
-Michael
RE: New apt repositories - does not work on Raspbian - Added by Mark Clarkstone over 8 years ago
I've just followed the steps on the AptRepo page myself and it works as expected, as I noted on the page itself.. Raspberry Pi users be aware that unstable and stable builds are lagging behind due to build issues, please use the release build for now.
You need to add:
deb http://dl.bintray.com/tvheadend/deb jessie release
or
deb http://dl.bintray.com/tvheadend/deb wheezy release
To your /etc/apt/sources.list manually not sure why apt-add-repository is throwing that error..
I've updated the page..
RE: New apt repositories - does not work on Raspbian - Added by Michael Freudenberg over 8 years ago
I got it!
I added the following line to my sources.list:
deb https://dl.bintray.com/tvheadend/deb/ jessie release
afterwards an apt-get update was successfull. The installation with apt-get install tvheadend was like a charm :D. Now, i'm digging into the configuration. But I think this will need some more reading, reading, reading ...
Thanks!
RE: New apt repositories - does not work on Raspbian - Added by Gabor Kovacs over 8 years ago
Adding manually worked, no more errors during update.
Thanks!
(I've added the http and not the https url suggested byMichaelD)
RE: New apt repositories - does not work on Raspbian - Added by Adrian Rudman over 8 years ago
Thanks for the guidance! Much appreciated.
RE: New apt repositories - does not work on Raspbian - Added by big big over 8 years ago
Hello,
Is the unstable part will work again? And when? I can't compile it by myself....
Thank's
Big