I am running Ubuntu on a VM and am trying to download some packages, but every time I run sudo apt update
or sudo apt-get update
, I get a hash mismatch error. On looking up posts related to this, I even reset my sources list as was mentioned, but the error persists. Is there any other solution you might recommend? Is there something wrong with the installation itself?
This is what I get:
E: Some index files failed to download. They have been ignored, or old ones used instead.
/etc/apt/sources.list
? How did you reset it? Also, do you have anything in/etc/apt/sources.list.d/
? – bitinerant Jan 30 '21 at 06:57/etc/apt/sources.list
. I used the sources list generator to generate new sources after backing up my old ones./etc/apt/sources.list.d/
is empty. – mvw12 Jan 30 '21 at 07:10