Ubuntu 12.10,似乎无法获取 add-apt-repository

Ubuntu 12.10,似乎无法获取 add-apt-repository

我正在尝试从 PPA 向 Ubuntu 12.10 添加一些外部软件包。为此,我需要使用add-apt-repository。很简单 -add-apt-repository:在 Ubuntu 10.04 中未找到命令告诉我安装python-software-properties。我已经安装好了——这里有证据证明它已经存在:

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>

我遗漏了什么(明显的?)东西?

答案1

我问完问题后几乎立刻就找到了答案。我需要这两个包 - 我添加了它,software-properties-common这样就没问题了。虽然从错误中我根本看不出来这一点。

相关内容