Err http://ppa.launchpad.net utopic/main amd64 Packages
404 Not Found
Get:63 http://in.archive.ubuntu.com utopic/universe Sources [6,736 kB]
Err http://ppa.launchpad.net utopic/main i386 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/cdemu/ppa/ubuntu/dists/utopic/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
在这种情况下该怎么办?
答案1
请按照以下步骤操作
首先备份旧的 sources.list,
mv /etc/apt/sources.list /etc/apt/sources.list.back
检查您的操作系统版本,发布
lsb_release -r
选择国家
选择 Ubuntu 版本
选择您的选择。重要的是前 12 个,然后选择您需要的任何内容
生成新来源列表
打开编辑器,例如 vi 或 vim
vim /etc/apt/sources.list
保存文件
重试
sudo apt-get update