上次我遇到这个问题还是在ubuntu12.4. 解决这个问题要用以下命令来安装python-software-properties
sudo apt-get install python-software-properties
再安装一个查询工具:
sudo apt-get install apt-file
更新一下:
apt-file update
查询在哪个包里:
apt-file search add-apt-repository
安装:
sudo apt-get install software-properties-common