无法在 Release 文件中找到预期条目“restricted/binary-amd64/Packages”

无法在 Release 文件中找到预期条目“restricted/binary-amd64/Packages”

我使用 64 位 Ubuntu 14.04。运行时sudo apt-get update出现以下错误。

Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file
W: Failed to fetch http://archive.ubuntukylin.com:10006/ubuntukylin/dists/trusty/Release  
Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file 
(Wrong sources.list entry or malformed file)    
E: Some index files failed to download. They have been ignored, or old ones used instead.

谁能告诉我如何解决这个问题?

答案1

打开您的终端并执行以下命令行(重置存储库):

sudo echo "deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse" > /etc/apt/sources.list

然后执行:
sudo apt-get update

现在应该已经修复了。

相关内容