解决方法:

获取最新的存储库更新。

$ sudo apt update

安装“software-properties-common”包。

$ sudo apt install software-properties-common

现在可以使用apt-add-repository 命令来添加PPA存储库了:

$ sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main"
$ sudo apt update
$ sudo apt install firefox
sudo: apt-add-repository: command not found
日期:2020-07-07 20:55:51 来源:oir作者:oir