Salt, the remote execution and configuration management tool. More info: https://launchpad.net/~saltstack/+archive/ubuntu/salt Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmpys0ah_nb/secring.gpg' created gpg: keyring `/tmp/tmpys0ah_nb/pubring.gpg' created gpg: requesting key 0E27C0A6 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpys0ah_nb/trustdb.gpg: trustdb created gpg: key 0E27C0A6: public key "Launchpad PPA for Salt Stack" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
如果没有找到add-apt-repository命令可以执行下面的命令进行安装
apt-get install python-software-properties
可能也需要安装下面的包
apt-get install software-properties-common
手动添加仓库及PPA key
echo deb http://ppa.launchpad.net/saltstack/salt/ubuntu `lsb_release -sc` main | sudo tee /etc/apt/sources.list.d/saltstack.list wget -q -O- "http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x4759FA960E27C0A6" |apt-key add -