![如何修复 ppa-purge 错误发布'' 为了 '' 没找到](https://linux22.com/image/1432719/%E5%A6%82%E4%BD%95%E4%BF%AE%E5%A4%8D%20ppa-purge%20%E9%94%99%E8%AF%AF%E5%8F%91%E5%B8%83''%20%E4%B8%BA%E4%BA%86%20''%20%E6%B2%A1%E6%89%BE%E5%88%B0.png)
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