3

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?

Zanna
  • 72,312
user274602
  • 139
  • 1
  • 1
  • 12

1 Answers1

3

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.

Ron
  • 20,938
Naveen
  • 9,551