Monday, July 18, 2016

apt - Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file


I use 64bit Ubuntu 14.04. When I run sudo apt-get update it gives the following error.


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.

Could anyone tell me how to fix this problem?



Open your Terminal and execute the below command line (to reset the repositories):


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

Then execute:
sudo apt-get update


Now it should be fixed.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...