Please check that the PPA name or format is correct

本秂侑毒 提交于 2019-12-10 20:31:26

问题


In my Ubuntu 14.04 I'm trying to install the Captiva icon pack as listed on this omgubuntu post. So I copy pasted the following command in the terminal:

sudo add-apt-repository ppa:captiva/ppa

but I get the following result:

Cannot add PPA: 'ppa:captiva/ppa'.
Please check that the PPA name or format is correct. 

Am I doing something wrong here? Any help is appreciated.


回答1:


Also make sure that your datetime is correct. I had an offset of two months into the past and got the exact same error.




回答2:


I tried to add this ppa and it's working. As a workaround to add it to your system execute the following under root (sudo su before executing the following code):

echo deb http://ppa.launchpad.net/captiva/ppa/ubuntu trusty main > /etc/apt/sources.list.d/captiva-ppa-trusty.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B12AB791
apt-get update
apt-get install -y captiva-icon-theme


来源:https://stackoverflow.com/questions/25822498/please-check-that-the-ppa-name-or-format-is-correct

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!