I recently tried to install npm and nodejs and got some errors and was suggested to run sudo apt-get update.
After running sudo apt-get update I get the following error:
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'universe/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.
The output of cat /etc/apt/sources.list
is :
deb http://archive.ubuntu.com/ubuntu trusty main universe restricted multiverse
System Settings, Software&Updates, Download from:
. Maybe the file on the server you currently use is broken. The problem might also go away then after a few hours or days if that was the case. – Sinscary May 18 '16 at 12:07