How to Fix "Hash Sum Mismatch" Errors During Apt-Get Operations

Introduction

In this article, we will explain to you how to Fix "Hash Sum Mismatch" Errors During Apt-Get Operations.

Fix errors

If you are seeing errors such as Hash Sum Mismatch when running apt-get operations under Ubuntu or Debian, please try running the following commands to fix the problems.

  • First, clean the local repository :
apt-get clean

  • After, remove lists and partial directories running this command:
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/partial/*

  • Clean again the local repository:
apt-get clean

  • Finally, update all your package lists:
apt-get update

Conclusion

You have successfully fixed Hash Sum Mismatch errors during Apt-get operations.

  • Hash Sum Mismatch, Errors, Debian, Ubuntu, Fix
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

KVM Tweaks for Debian and Ubuntu

Introduction  In this article, we will explain to you KVM tweaks for Debian and Ubuntu. So we...