Project

General

Profile

AptRepositories » History » Version 103

Mark Clarkstone, 2018-07-26 13:03

1 72 Mark Clarkstone
h1. APT Repositories
2 1 Adam Sutton
3 72 Mark Clarkstone
{{>toc}}
4 50 Jaroslav Kysela
5 72 Mark Clarkstone
h2. Official Repository
6 1 Adam Sutton
7 94 Mark Clarkstone
The official deb packages are built using "Doozer":https://doozer.io. Our repositories are provided by Doozer (on apt.tvheadend.org) and "Bintray":https://bintray.com/tvheadend.
8 1 Adam Sutton
9 88 Mark Clarkstone
h3. Repository Status
10 87 Mark Clarkstone
11 103 Mark Clarkstone
(!) 07/26/18 - The Doozer build hosts for armhf are currently down, please use "mpmc's unofficial Bintray repo":http://tvheadend.org/projects/tvheadend/wiki/AptRepository/#Raspberry-Pi-Raspbian-armhf until resolved.
12 1 Adam Sutton
13 103 Mark Clarkstone
(/) 07/26/18 - Bionic builds are available once again, see #5091 for details. If you're using "mamarley's unofficial PPA":https://tvheadend.org/projects/tvheadend/wiki/AptRepository#Ubuntu-PPA you can continue to do so!
14
15 72 Mark Clarkstone
h3. Build Types and Versions
16 94 Mark Clarkstone
17 1 Adam Sutton
Please read the following:-
18
19 103 Mark Clarkstone
* You can add more than one repository _(recommended)_!
20 94 Mark Clarkstone
* It's advised that you use release or stable, only use unstable if you want bleeding-edge & don't mind breakages. 
21
* If using unstable be sure to install tvheadend-dbg. If reporting crashes with unstable, please include proper [[debugging]] & [[Traces|trace]] information.
22
23
+*Bintray*+
24
25 101 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* | Notes |
26
| release      | The latest version marked for release | 4.2.6      | release-4.2 | |
27
| stable       | The latest stable code with changes/fixes between releases             | 4.2.6-x~githash    | stable-4.2       | |
28
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable | |
29 1 Adam Sutton
30 94 Mark Clarkstone
+*Doozer*+
31 1 Adam Sutton
32 101 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* | Notes |
33
| stable       | The latest stable code with changes/fixes between releases             | 4.2.6-x~githash    | stable       | Jessie, Stretch, Trusty, Xenial only. Bionic not yet available, please use the unofficial PPA. |
34
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable | |
35 1 Adam Sutton
36 72 Mark Clarkstone
h3. Supported Distributions and Architectures 
37 1 Adam Sutton
38 94 Mark Clarkstone
The official repositories support the following distributions and architectures.
39 54 Mark Clarkstone
40 72 Mark Clarkstone
| *Distribution*                      | *Architecture*       | *Notes* |
41
| Debian Jessie "jessie" (8.x)        | - i386
42
                                        - amd64              |  |
43
| Debian Stretch "stretch" (9.x)      | - i386
44
                                        - amd64              |  |
45
| Ubuntu Xenial "xenial" (16.04)      | - i386
46
                                        - amd64
47 1 Adam Sutton
                                        - armhf 
48
                                        - arm64              | armhf/arm64 do not have transcoding support (yet) |
49 72 Mark Clarkstone
| Trusty "trusty" (14.04)            | - i386
50 1 Adam Sutton
                                       - amd64               |  |
51 103 Mark Clarkstone
| Bionic Beaver "bionic" (18.04)            | - amd64               |  |
52 1 Adam Sutton
53
*Where are the builds for my distro/arch?*
54
At the moment the Doozer build system only has support for a limited number of build targets. New targets will be added as soon as possible. Take a look at the 3rd-party repos below or build your own. 
55
56
h3. Usage
57
58 94 Mark Clarkstone
h4. 1. First install GPG keys:
59 1 Adam Sutton
60 94 Mark Clarkstone
+*Bintray*+
61 1 Adam Sutton
<pre>
62
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
63
</pre>
64
65 94 Mark Clarkstone
+*Doozer (apt.tvheadend.org)*+
66
<pre>
67
wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
68
</pre>
69
70
---
71
72
If you see something like the following:
73
<pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
74 1 Adam Sutton
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
75
gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory
76
gpg: keyserver receive failed: No dirmngr
77 83 Mark Clarkstone
</pre>
78
79 94 Mark Clarkstone
You need to install dirmngr: 
80 83 Mark Clarkstone
81 94 Mark Clarkstone
<pre>sudo apt-get install dirmngr</pre>
82
83
Once installed add the key again, it should succeed this time.
84
85 95 Mark Clarkstone
h4. 2. Pick a build type, add the repository accordingly:
86 94 Mark Clarkstone
87
+*Bintray*+
88 1 Adam Sutton
<pre>
89
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee /etc/apt/sources.list.d/tvheadend.list
90
</pre>
91
92
> Example:
93
> <pre>
94
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list
95
</pre>
96
97 94 Mark Clarkstone
+*Doozer*+
98
<pre>
99
echo "deb http://apt.tvheadend.org/REPO-COMPONENT DISTRO main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
100
</pre>
101
102
> Example:
103
> <pre>
104
echo "deb http://apt.tvheadend.org/unstable xenial main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
105
</pre>
106
107
---
108
109
* Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). Replace REPO-COMPONENT with the desired build type. 
110
111
* *Watch out* for subtle differences though, be sure to check the repository has your desired build type and component. 
112
113
* *Please pay special attention* to the difference between +stable-4.2+ (on Bintray) and +stable+ (on Doozer), and make sure you use the text in the +Repo Component+ column and not +Build Type+ (in the Build Types and Versions tables).
114
115
116
h4. 3. Refresh the available packages and install:
117 21 Mark Clarkstone
118
<pre>
119 28 Adam Sutton
sudo apt-get update
120 21 Mark Clarkstone
sudo apt-get install tvheadend
121
</pre>
122
123 28 Adam Sutton
Note: if you install more than one suite you will only ever get packages from the one holding the most recent version number, so the order of priority would be:
124 50 Jaroslav Kysela
125 28 Adam Sutton
<pre>
126
unstable > stable-4.2 > stable
127 54 Mark Clarkstone
</pre>
128 1 Adam Sutton
129 72 Mark Clarkstone
h3. Help
130 1 Adam Sutton
131 72 Mark Clarkstone
Please open an issue or join the IRC channel to report problems with the official repository. 
132 50 Jaroslav Kysela
133 72 Mark Clarkstone
h2. Unofficial Repositories
134 58 Mark Clarkstone
135 72 Mark Clarkstone
3rd-party unofficial repositories.
136 58 Mark Clarkstone
137 72 Mark Clarkstone
h3. Ubuntu PPA
138 58 Mark Clarkstone
139
Unofficial PPAs are provided by Michael Marley that provide packages for Artful, Zesty, Yakkety, and Xenial for the amd64, arm64, armhf, i386 and ppc64el architectures.
140
141 72 Mark Clarkstone
h4. Usage
142 58 Mark Clarkstone
143 72 Mark Clarkstone
First, pick either the Stable or Unstable build:
144
145
For the Stable PPA containing daily builds from the latest stable branch:
146 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
147 62 Mark Clarkstone
148 72 Mark Clarkstone
For the Unstable PPA containing daily builds from master:
149 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
150
151 1 Adam Sutton
Then, for both:
152 58 Mark Clarkstone
153 72 Mark Clarkstone
Update your packages:
154 62 Mark Clarkstone
<pre>sudo apt update</pre>
155 58 Mark Clarkstone
156 72 Mark Clarkstone
Install:
157 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
158 57 Mark Clarkstone
159 72 Mark Clarkstone
h4. Help
160
161 73 Mark Clarkstone
If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley.
162 1 Adam Sutton
163
h3. Raspberry Pi / Raspbian armhf 
164 78 Mark Clarkstone
165 96 Mark Clarkstone
Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch.
166 1 Adam Sutton
167
* These builds are done *manually* and may lag behind, however I'll do my best to keep them updated until the official repo is able to provide the packages.
168
* There's no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding and hardware transcoding is not yet available. 
169 72 Mark Clarkstone
* There is no changes to the code whatsoever for these builds.
170
* Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch.
171 96 Mark Clarkstone
172
h4. Usage 
173
174
To use this repository follow the official usage guide, but change the repository URL from *https://dl.bintray.com/tvheadend/deb* to *https://dl.bintray.com/mpmc/deb* and replace DISTRO with raspbianstretch or raspbianjessie.
175 72 Mark Clarkstone
176
h4. Help
177
178
If you experience issues with this repository contact mpmc on "github":http://github.com/mpmc or send a message on IRC (mpmc in #hts on Freenode).