运行时sudo apt-get update
出现以下错误/异常。请给我一些解决方案。
W: Failed to fetch http://mirror.kavalinux.com/ubuntu/dists/trusty/multiverse/source/Sources 404 Not Found
W: Failed to fetch http://mirror.kavalinux.com/ubuntu/dists/trusty-updates/main/source/Sources 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
答案1
它是桌面版还是服务器版?如果是桌面版,请尝试以下操作:
- 打开系统设置并点击软件和更新;
- 点击“从...下载”字段并选择“主服务器”;
- 启动软件更新程序(或运行
sudo apt-get update
,然后sudo apt-get upgrade
)