我收到这个错误
E: unable to locate the package oversip
当我写这个命令时
sudo apt-get install oversip
答案1
在 Ubuntu 14.04 中打开终端并输入:
sudo add-apt-repository 'deb http://deb.versatica.com trusty main'
wget -O - http://deb.versatica.com/deb.versatica.com.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install oversip
在 Ubuntu 12.04 中打开终端并输入:
sudo add-apt-repository 'deb http://deb.versatica.com precise main'
wget -O - http://deb.versatica.com/deb.versatica.com.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install oversip
答案2
您确定已经添加了 oversip 存储库吗?!
首先,你必须添加存储库。编辑你的/etc/apt/sources.list文件(或创建新文件/etc/apt/sources.list.d/oversip.list),并添加适合您的 Ubuntu 发行版的行:
Ubuntu 12.04 Precise:
deb http://deb.versatica.com precise main
Ubuntu 12.10 Quantal:
deb http://deb.versatica.com quantal main
Ubuntu 13.04 备受期待:
deb http://deb.versatica.com raring main
Ubuntu 14.04 Trusty Tahr:
deb http://deb.versatica.com trusty main
然后
sudo apt-get update
现在您可以安装
sudo apt-get install oversip