I am trying to use
sudo apt-get update
But I am getting error as:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty/Release
Unable to find expected entry 'restricted/source/Sources' 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.
I used sudo rm -vf /var/lib/apt/lists/*
but still failed. Please suggest me something
sudo rm -vf /var/lib/apt/lists/*
would solve anything ? Please do not remove system files without discretion.Post your sources list - See http://askubuntu.com/questions/78951/how-do-i-remove-a-malformed-line-from-my-sources-list – Panther Feb 24 '17 at 17:46