Ubuntu 14.04 server sudo: add-apt-repository: command not found 报错解决方法

Ubuntu 14.04 根据官网说明安装OpenStack时添加ppa仓库时报错

~$: sudo add-apt-repository ppa:juju/stable
sudo: add-apt-repository: command not found

运行命令提示缺少依赖包

~$ addapt-repository
No command 'addapt-repository' found, did you mean:
 Command 'add-apt-repository' from package 'software-properties-common' (main)
addapt-repository: command not found

所以我们需要安装”add-apt-repository’ from package ‘software-properties-common”这个包

sudo apt-get install software-properties-common

安装完就可以添加ppa仓库了.

未经允许不得转载:窗外天空 » Ubuntu 14.04 server sudo: add-apt-repository: command not found 报错解决方法

赞 (0)

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址