我试图从PPA添加一些外部软件包到Ubuntu 12.10。 为此,我需要使用add-apt-repository
。 很简单 – add-apt-repository:Ubuntu 10.04中找不到的命令告诉我要安装python-software-properties
。 我已经做到了 – 这是certificate它已经在那里:
user@hostname:~$ sudo apt-get install python-software-properties Reading package lists... Done Building dependency tree Reading state information... Done python-software-properties is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
但是,我仍然没有add-apt-repository
:
user@hostname:~$ sudo add-apt-repository sudo: add-apt-repository: command not found user@hostname:~$ add-apt-repository The program 'add-apt-repository' can be found in the following packages: * python-software-properties * software-properties-common Try: sudo apt-get install <selected package>
我错过了什么(显而易见的)?
我问这个问题后几乎立刻就发现了它。 我需要两个软件包 – 我添加了software-properties-common
,我很好。 尽pipe这个错误对我来说并不明显。