sudo: add-apt-repository: command not found

    错误来啦:sudo: add-apt-repository:command not found
      网上解决办法是直接安装工具包 命令:sudo apt-get install python-software-properties

      loter亲测安装后还是报command not found,所以依赖包还没有安装完全,少了什么呢?

     执行命令:add-apt-repository ,如图,除了要安装python-software-properties外还需要software-properties-common

     ok,执行安装命令:sudo apt-get software-properties-common

是这个  才起作用能安装sudo apt-get install software-properties-common

 

原文地址:https://www.cnblogs.com/shanheyongmu/p/6797037.html