![更新时出现红色感叹号错误](https://linux22.com/image/874370/%E6%9B%B4%E6%96%B0%E6%97%B6%E5%87%BA%E7%8E%B0%E7%BA%A2%E8%89%B2%E6%84%9F%E5%8F%B9%E5%8F%B7%E9%94%99%E8%AF%AF.png)
通知区域出现红色感叹号,
我运行sudo apt-get update
终端时的状态如下:
Ign http: //bd.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 3,826 kB in 54s (70.5 kB/s)
N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension<br>
W: GPG error: http: //download.opensuse.org ./ Release: The following signatures were invalid: KEYEXPIRED 1436387333
W: Failed to fetch http: //ppa.launchpad.net/disper-dev/ppa/ubuntu/dists/trusty/main/source/Sources 404 Not Found
W: Failed to fetch http: //ppa.launchpad.net/disper-dev/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http: //ppa.launchpad.net/disper-dev/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
我该如何继续?
答案1
PPA 不提供 Trusty 及更新版本的软件包。检查此链接。
所以
消除
无需降级此 PPA 中已安装的软件包
sudo rm /etc/apt/sources.list.d/disper-dev-ubuntu-ppa*
或者
清除
如果可能的话,降级此 PPA 中的所有软件包
sudo apt-get install ppa-purge sudo ppa-purge ppa:disper-dev/ppa
在那之后
sudo apt-get update