Ubuntu – Unable to find expected entry ‘restricted/binary-amd64/Packages’ in Release file

apt

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?

Best Answer

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.

Related Question