ppa 清除是一个很好的工具可能会保存你的配置如果您安装了 ppa,而该 ppa 安装了您不想要的新软件包,从而扰乱了您的系统。
不幸的是,ppa-purge 对我来说不起作用,因为我正在使用已更新的发行版lsb_release
(在我的情况下是 elementary freya)。
以下是我收到的错误消息:
...
E: Release 'freya' for 'gir1.2-gst-plugins-base-1.0' was not found
E: Release 'freya' for 'gir1.2-gstreamer-1.0' was not found
E: Release 'freya' for 'gstreamer1.0-alsa' was not found
...
Unable to find an archive "freya" for the package "gir1.2-gst-plugins-base-1.0"
Unable to find an archive "freya" for the package "gir1.2-gstreamer-1.0"
Unable to find an archive "freya" for the package "gstreamer1.0-alsa"
...
答案1
解决方案是调用 ppa-purge,如下所示:
ppa-purge -d <release> <ppa you want to be removed>
因此,基于 ubuntu 14.04 (可信赖) 的基本 freya 我不得不调用:
ppa-purge -d trusty <ppa you want to be removed>
过了一会儿,一切都好了。
我爱你 ppa-purge