Unable to download signal-desktop on Ubuntu 20.04 LTS. Please help!
So I tried to install Signal-desktop on Ubuntu 20.04 LTS according to the instructions given on the official website of Signal:-
# NOTE: These instructions only work for 64 bit Debian-based
# Linux distributions such as Ubuntu, Mint etc.
# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-
keyring.gpg
sudo mv signal-desktop-keyring.gpg /usr/share/keyrings/
# 2. Add our repository to your list of repositories
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg]
https://updates.signal.org/desktop/apt xenial main' |\
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
# 3. Update your package database and install signal
sudo apt update && sudo apt install signal-desktop
When I ran #1, I got,
deep@maharajadhiraja-deep:~$ wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg
--dearmor > signal-desktop-keyring.gpg
--2021-04-04 20:50:47-- https://updates.signal.org/desktop/apt/keys.asc
Resolving updates.signal.org (updates.signal.org)... 2606:4700::6812:1f70,
2606:4700::6812:1e70, 104.18.31.112, ...
Connecting to updates.signal.org (updates.signal.org)|2606:4700::6812:1f70|:443...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 3090 (3.0K) [application/pgp-signature]
Saving to: ‘STDOUT’
- 100%[===================>] 3.02K --.-KB/s in 0s
2021-04-04 20:50:48 (27.0 MB/s) - written to stdout [3090/3090]
deep@maharajadhiraja-deep:~$ sudo mv signal-desktop-keyring.gpg /usr/share/keyrings/
#2
deep@maharajadhiraja-deep:~$ echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-
desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' | sudo tee -a
/etc/apt/sources.list.d/signal-xenial.list
deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg]
https://updates.signal.org/desktop/apt xenial main
#3
deep@maharajadhiraja-deep:~$ sudo apt update && sudo apt install signal-desktop
E: Conflicting values set for option Signed-By regarding source
https://updates.signal.org/desktop/apt/ xenial: /usr/share/keyrings/signal-desktop-
keyring.gpg !=
E: The list of sources could not be read.
And so I'm unable to install Signal-desktop. Moreover,
sudo apt-get <function>
is also not working. For example, when I try to run on the terminal:
sudo apt-get upgrade
it returns:-
E: Conflicting values set for option Signed-By regarding source
https://updates.signal.org/desktop/apt/ xenial: /usr/share/keyrings/signal-desktop-
keyring.gpg !=
E: The list of sources could not be read.
E: Conflicting values set for option Signed-By regarding source
https://updates.signal.org/desktop/apt/ xenial: /usr/share/keyrings/signal-desktop-
keyring.gpg !=
E: The list of sources could not be read.
I'm clueless as to what is happening out here. Please help me out.
I'm fairly a new user of Ubuntu and I'm trying to figure things out myself. Thank you in advance for attention.
Both problems, installation and running of signal-desktop as well as apt-get functionality returning this error, come from unexpected content in /etc/apt/sources.list.d/signal-xenial.list
. (In my case this was introduced when trying to install the beta version of signal-desktop).
I would simply remove the apt file in question:
sudo rm /etc/apt/sources.list.d/signal-xenial.list
After that, re-do the steps listed on https://signal.org/de/download/# for installation of signal and things should work.
Install signal-desktop
from the Ubuntu software Center.
It will be a much cleaner install bringing with it all the additional bits it requires.