无法升级 Firefox

无法升级 Firefox

当我尝试在 Ubuntu 上升级 Firefox 时,我在终端中收到此消息

E: Type '$' is not known on line 1 in source list /etc/apt/sources.list.d/brave-browser-release-bionic.list
E: The list of sources could not be read.
E: Type '$' is not known on line 1 in source list /etc/apt/sources.list.d/brave-browser-release-bionic.list
E: The list of sources could not be read.

答案1

来自评论...

cat /etc/apt/sources.list.d/brave-browser-release-bionic.list

输出是...

 $ sudo apt update $ sudo apt install brave-browser brave-keyring

所以这样做...

删除该/etc/apt/sources.list.d/brave-browser-release-bionic.list文件,因为其内容完全无效。

sudo rm -i /etc/apt/sources.list.d/brave-browser-release-bionic.list

相关内容