无法在 Ubuntu 20.04 LTS 上下载 signal桌面。请帮忙!

无法在 Ubuntu 20.04 LTS 上下载 signal桌面。请帮忙!

因此,我尝试按照 Signal 官方网站给出的说明在 Ubuntu 20.04 LTS 上安装 Signal-desktop:-

# 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

当我跑第一圈的时候,我得到了

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.

因此我无法安装 Signal-desktop。此外,

 sudo apt-get <function>

也不起作用。例如,当我尝试在终端上运行:

 sudo apt-get upgrade

它返回:-

 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.

我不知道这里发生了什么。请帮帮我。

我是 Ubuntu 的新用户,我正在尝试自己弄清楚。提前感谢您的关注。

答案1

这两个问题,即 signal-desktop 的安装和运行以及 apt-get 功能返回此错误,都来自 中的意外内容/etc/apt/sources.list.d/signal-xenial.list。(就我而言,这是在尝试安装 signal-desktop 的测试版时引入的)。

我只需删除有问题的 apt 文件:

sudo rm /etc/apt/sources.list.d/signal-xenial.list

之后,重新执行https://signal.org/de/download/#安装信号后一切就绪。

答案2

signal-desktop从 Ubuntu 软件中心安装。

它将是一个更加干净的安装,并附带它所需的所有附加部件。

在此处输入图片描述

相关内容