Go ahead, vote it as duplicate, but none of the answers provide a good explanation of what really is going on. Nor did what they suggest work. Can you please explain the elements involved in the first error at least, to the level that a human can then understand how to proceed in an informed manner? I find the command-line voodoo of existing answers not the right tactic for reliably solving problems. A tailored explanation of the elements at work is what this question is seeking.
W: 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)
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Bad header line [IP: 216.58.214.78 80]
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages 404 Not Found [IP: 216.58.214.78 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
man <command>
). – Apr 09 '16 at 13:56rm -r
for a given directory tells one a lot in the man page. I think you've not read my question. My question asked for an explanation not for how to hack it, which might be against the nature of most answers for many kinds of questions on this site, I'm not shy to say. – matanox Apr 09 '16 at 17:42apt-get update
replaces them with new ones. But you really have to be more specific. – Apr 09 '16 at 17:47