sudo add-apt-repository

command not found.

where is add-apt-repository ??

Please try using "apt-get install --reinstall python-software-properties && sudo dpkg-reconfigure python-software-properties"

The problem is solved. 

Only for Ubuntu Linux.

-- 

add-apt-repository Example:

root@srv1:/etc/apt/apt.conf.d# add-apt-repository ppa:glance-core/trunk
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 96195CD553DF3EAA18317C67ADCF4A1A2085FE8D
gpg: requesting key 2085FE8D from hkp server keyserver.ubuntu.com
gpg: key 2085FE8D: public key "Launchpad PPA for Glance Core" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@srv1:/etc/apt/apt.conf.d#


文章標籤
創作者介紹

經驗交流分享與備忘

Frank 發表在 痞客邦 PIXNET 留言(0) 人氣()