-1

I keep getting this messages :

W:Failed to fetch gzip:/var/lib/apt/lists/partial/ph.archive.ubuntu.com_ubuntu_dists_trusty_multiverse_source_Sources  Hash Sum mismatch
W:Failed to fetch gzip:/var/lib/apt/lists/partial/ph.archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-i386_Packages  Hash Sum mismatch
E:Some index files failed to download. They have been ignored, or old ones used instead.
Back.Slash
  • 2,166
  • 2
  • 17
  • 22

1 Answers1

0

This might do it

The problem is that you deleted recursively /var/lib/apt/lists, which deleted the partial directory too. So, recreating the directory should solve the issue:

sudo mkdir -p /var/lib/apt/lists/partial
sudo chmod 755 /var/lib/apt/lists/partial

copied from How do I fix APT errors "W: Failed to fetch [...] Hash Sum mismatch"?

Back.Slash
  • 2,166
  • 2
  • 17
  • 22