apt-get install python-software-properties

除此之外还要安装

apt-get install software-properties-common

然后就能用add-apt-repository了


感谢大家的阅读, 如有疑问可以加我微信