sudo apt-get... 返回“与源相关的选项 Signed-By 设置的值冲突”错误

sudo apt-get... 返回“与源相关的选项 Signed-By 设置的值冲突”错误

昨天我signal-desktop在 Ubuntu 20.04 上安装了它,在遇到很多问题之后,我终于能够安装它了。问题的详细信息在帖子中给出这里。

我在这里链接我之前的帖子的原因是,我现在的问题与我安装时遇到的先前问题有关signal-desktop。问题是,当我在代表、等sudo apt-get <function>的终端上运行它时,它会返回错误。<function>updateupgradeautoremove

例如:-

deep@maharajadhiraja-deep:~$ sudo apt-get update
[sudo] password for deep:  
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.

另一个例子:-

deep@maharajadhiraja-deep:~$ 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.

因此,我无法在系统上运行这些命令。请帮助我。提前感谢您的关注。

答案1

您可以通过这些命令解决冲突。

sudo rm /usr/share/keyrings/signal-desktop-keyring.gpg

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

相关内容