我试图用以下内容添加ubuntu-工具链-r/测试:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
但它又带来了:
Cannot add PPA: 'ppa:ubuntu-toolchain-r/test'.
Please check that the PPA name or format is correct.
发布于 2016-05-06 22:26:39
太奇怪了!您似乎使用了正确的语法。
您可以尝试使用ppa的完整路径来添加PPA,而不是"ppa“缩写。尝试在控制台中运行以下命令:
sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial main"
告诉我发生了什么!
编辑:这是假设您正在运行Xenial (16.04);否则,将"deb“行中的xenial
替换为trusty
或utopic
或其他正在运行的版本。
请让我知道这是否有帮助,或如果你有其他问题。
-尼克
发布于 2016-10-19 11:01:17
测试ppa仅限于特定的用户,因此不会发布使其以这种方式工作的文件。
使用此方法添加普通的ppa,包应该更稳定。
sudo add-apt-存储库ppa:ubuntu-toolchain-r/ppa
https://askubuntu.com/questions/768689
复制相似问题