Instructions on installing RC debs (#10396)

This commit is contained in:
Richard van der Hoff 2021-07-14 17:12:01 +01:00 committed by GitHub
parent c82eb02d64
commit 28ffff73c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 9 deletions

1
changelog.d/10396.doc Normal file
View File

@ -0,0 +1 @@
Add instructructions on installing Debian packages for release candidates.

View File

@ -268,9 +268,8 @@ For more details, see
##### Matrix.org packages ##### Matrix.org packages
Matrix.org provides Debian/Ubuntu packages of the latest stable version of Matrix.org provides Debian/Ubuntu packages of Synapse via
Synapse via <https://packages.matrix.org/debian/>. They are available for Debian <https://packages.matrix.org/debian/>. To install the latest release:
9 (Stretch), Ubuntu 16.04 (Xenial), and later. To use them:
```sh ```sh
sudo apt install -y lsb-release wget apt-transport-https sudo apt install -y lsb-release wget apt-transport-https
@ -281,12 +280,16 @@ sudo apt update
sudo apt install matrix-synapse-py3 sudo apt install matrix-synapse-py3
``` ```
**Note**: if you followed a previous version of these instructions which Packages are also published for release candidates. To enable the prerelease
recommended using `apt-key add` to add an old key from channel, add `prerelease` to the `sources.list` line. For example:
`https://matrix.org/packages/debian/`, you should note that this key has been
revoked. You should remove the old key with `sudo apt-key remove ```sh
C35EB17E1EAE708E6603A9B3AD0592FE47F0DF61`, and follow the above instructions to sudo wget -O /usr/share/keyrings/matrix-org-archive-keyring.gpg https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg
update your configuration. echo "deb [signed-by=/usr/share/keyrings/matrix-org-archive-keyring.gpg] https://packages.matrix.org/debian/ $(lsb_release -cs) main prerelease" |
sudo tee /etc/apt/sources.list.d/matrix-org.list
sudo apt update
sudo apt install matrix-synapse-py3
```
The fingerprint of the repository signing key (as shown by `gpg The fingerprint of the repository signing key (as shown by `gpg
/usr/share/keyrings/matrix-org-archive-keyring.gpg`) is /usr/share/keyrings/matrix-org-archive-keyring.gpg`) is