无法删除输入错误的存储库

我添加它时不小心错了一个ppa。

而不是sudo add-apt-repository ppa:team-xbmc/ppa
我使用了sudo add-apt-repository ppa:team-xmbc/ppa

(x mb c而不是x bm c)

现在我在启动时遇到错误。

错误

当我尝试使用sudo add-apt-repository --remove ppa:team-xmbc/ppa我得到这个: http : sudo add-apt-repository --remove ppa:team-xmbc/ppa

这是在15.04

检查/etc/apt/sources.list.d没有这个条目。 http://pastebin.com/1RmYnmAD

使用sudo ppa-purge ppa:team-xmbc/ppa给出:

Updating packages lists PPA to be removed: team-xmbc ppa Warning: Could not find package list for PPA: team-xmbc ppa

一切都很好,你可以忽略这个问题,这是一个错误。 你的命令没有造成任何伤害。

“问题”就是这个,在你的情况下没问题:

 softwareproperties.ppa.PPAException: 'Error reading https://launchpad.net/api/1.0/~team-xmbc: Not Found' 

在:

 Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 119, in  shortcut = shortcut_handler(line) File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 837, in shortcut_handler ret = factory(shortcut) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in shortcut_handler return PPAShortcutHandler(shortcut) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 346, in __init__ info = get_ppa_info(self.shortcut) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 333, in get_ppa_info _get_suggested_ppa_message(user, ppa)) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 292, in _get_suggested_ppa_message lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp return _get_https_content_py3(lp_url) File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 107, in _get_https_content_py3 raise PPAException("Error reading %s: %s" % (lp_url, reason), e) softwareproperties.ppa.PPAException: 'Error reading https://launchpad.net/api/1.0/~team-xmbc: Not Found' 

这是错误报告 。