Hash Sum mismatch error when trying to upgrade

8,927

That generally means that the download was corrupted. Try the following to remove the downloaded file and retry the upgrade:

sudo apt-get clean
sudo apt-get upgrade
Share:
8,927

Related videos on Youtube

Chetan
Author by

Chetan

Updated on September 18, 2022

Comments

  • Chetan
    Chetan almost 2 years

    I am getting this error when trying to upgrade:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.15_all.deb  Hash Sum mismatch
    

    To check what is wrong I downloaded the package from the address and checked the md5 which is showing something different in my machine from the one given on the website.

  • Chetan
    Chetan over 6 years
    tried :/ still same
  • Chai T. Rex
    Chai T. Rex over 6 years
    Are you behind a proxy server that might cache the downloads?
  • Chetan
    Chetan over 6 years
    nope, i am wondering why is that md5 sum is given on packages.ubuntu.com/xenial-updates/all/linux-firmware/downlo‌​ad ,if u try to manually download and check both are different
  • Chetan
    Chetan over 6 years
    here in my machine its 2a7001cd87df0e459eb7fe5b98c8f77e and on website its c144ae5a59948a989a4695de73f11eac
  • sourav
    sourav over 6 years
    can you try with sudo apt-get autoremove sudo apt-get autoclean sudo apt-get update
  • sourav
    sourav over 6 years
    then try sudo apt-get upgrade