Project

General

Profile

AptRepositories » History » Version 83

Mark Clarkstone, 2018-01-01 22:07
Add note about dirmngr

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 74 Mark Clarkstone
The official deb packages are built using "Doozer":https://doozer.io and our repository is provided by "Bintray":https://bintray.com/tvheadend.
8 1 Adam Sutton
9 72 Mark Clarkstone
h3. Build Types and Versions
10 1 Adam Sutton
11 72 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* |
12 82 Mark Clarkstone
| release      | The latest version marked for release | 4.2.5      | release-4.2 |
13
| stable       | The latest stable code with changes/fixes between releases             | 4.2.5-x~githash    | stable-4.2       |
14 72 Mark Clarkstone
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable |
15 1 Adam Sutton
16 72 Mark Clarkstone
*It's advised that you use release or stable, only use unstable if you want bleeding-edge & don't mind breakages!*
17 1 Adam Sutton
18 72 Mark Clarkstone
h3. Supported Distributions and Architectures 
19 1 Adam Sutton
20 72 Mark Clarkstone
The official repository supports the following distributions and architectures.
21 54 Mark Clarkstone
22 72 Mark Clarkstone
| *Distribution*                      | *Architecture*       | *Notes* |
23
| Debian Jessie "jessie" (8.x)        | - i386
24
                                        - amd64              |  |
25
| Debian Stretch "stretch" (9.x)      | - i386
26
                                        - amd64              |  |
27
| Ubuntu Xenial "xenial" (16.04)      | - i386
28
                                        - amd64
29
                                        - armhf 
30
                                        - arm64              | armhf/arm64 do not have transcoding support (yet) |
31
| Trusty "trusty" (14.04)            | - i386
32
                                       - amd64               |  |
33 1 Adam Sutton
34 72 Mark Clarkstone
*Where are the builds for my distro/arch?*
35
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. 
36 1 Adam Sutton
37 72 Mark Clarkstone
h3. Usage
38 1 Adam Sutton
39
First install bintray's GPG key:
40
41
<pre>
42
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
43
</pre>
44
45 83 Mark Clarkstone
> If you see something like the following:
46
47
> <pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
48
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
49
gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory
50
gpg: keyserver receive failed: No dirmngr
51
</pre>
52
53
> You need to install dirmngr
54
> <pre>sudo apt-get install dirmngr</pre>
55
> Once installed add the key again, it should succeed this time.
56
57 1 Adam Sutton
Select which build type you want and add the repository accordingly:
58
59 50 Jaroslav Kysela
<pre>
60 72 Mark Clarkstone
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee -a /etc/apt/sources.list
61 1 Adam Sutton
</pre>
62 28 Adam Sutton
63 72 Mark Clarkstone
Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). 
64
Replace REPO-COMPONENT with the desired build type.
65 1 Adam Sutton
 
66 35 Mark Clarkstone
> Example:
67 34 Mark Clarkstone
> <pre>
68 50 Jaroslav Kysela
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list
69 21 Mark Clarkstone
</pre>
70
71 28 Adam Sutton
Refresh the available packages and install:
72 21 Mark Clarkstone
73
<pre>
74 28 Adam Sutton
sudo apt-get update
75 21 Mark Clarkstone
sudo apt-get install tvheadend
76
</pre>
77
78 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:
79 50 Jaroslav Kysela
80 28 Adam Sutton
<pre>
81
unstable > stable-4.2 > stable
82 54 Mark Clarkstone
</pre>
83 1 Adam Sutton
84 72 Mark Clarkstone
h3. Help
85 1 Adam Sutton
86 72 Mark Clarkstone
Please open an issue or join the IRC channel to report problems with the official repository. 
87 50 Jaroslav Kysela
88 72 Mark Clarkstone
h2. Unofficial Repositories
89 58 Mark Clarkstone
90 72 Mark Clarkstone
3rd-party unofficial repositories.
91 58 Mark Clarkstone
92 72 Mark Clarkstone
h3. Ubuntu PPA
93 58 Mark Clarkstone
94
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.
95
96 72 Mark Clarkstone
h4. Usage
97 58 Mark Clarkstone
98 72 Mark Clarkstone
First, pick either the Stable or Unstable build:
99
100
For the Stable PPA containing daily builds from the latest stable branch:
101 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
102 62 Mark Clarkstone
103 72 Mark Clarkstone
For the Unstable PPA containing daily builds from master:
104 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
105
106 1 Adam Sutton
Then, for both:
107 58 Mark Clarkstone
108 72 Mark Clarkstone
Update your packages:
109 62 Mark Clarkstone
<pre>sudo apt update</pre>
110 58 Mark Clarkstone
111 72 Mark Clarkstone
Install:
112 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
113 57 Mark Clarkstone
114 72 Mark Clarkstone
h4. Help
115
116 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.
117 1 Adam Sutton
118
h3. Raspberry Pi / Raspbian armhf 
119 78 Mark Clarkstone
120 81 Mark Clarkstone
**Update: Bintray have very kindly unblocked my repo. The fault was mine. I was pushing too many builds to the repo & hitting the API limits, therefore I'll be limiting building on both Pi's to nightly instead of per commit.**
121 72 Mark Clarkstone
122
Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch. *Before using this repo please read the notes.*
123
124
h4. Usage 
125
126
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.
127 1 Adam Sutton
128 72 Mark Clarkstone
h4. Notes
129
130
* 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.
131 76 Mark Clarkstone
* -Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.- There is now a release-4.2 starting with 4.2.4.
132 72 Mark Clarkstone
* There's no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding and hardware transcoding is not yet available. 
133
* There is no changes to the code whatsoever for these builds.
134
* Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch.
135
136
h4. Help
137
138
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).