Wednesday, November 20, 2024
HomeUNIXLinuxUbuntu: Fixing Hash Sum Mismatch While Downloading Updates or Ubuntu SDK

Ubuntu: Fixing Hash Sum Mismatch While Downloading Updates or Ubuntu SDK

One of the most common errors that occurs when a user tries to download updates or software in Ubuntu is the Hash Sum Mismatch. This tutorial will show you how to fix this problem.

I faced this error while I was downloading the Ubuntu Touch SDK. I deleted the problematic files and re-downloaded the SDK several times with no success, even though my connection was very reliable. The problem turned out to be on the server-side, so I decided to change the download server. It worked!

Ubuntu hash sum mismatch error

If you see the error above when downloading files, follow these steps:

1. First, open Terminal, and type the following: sudo rm /var/lib/apt/lists/partial/* to clear all the corrupted downloaded files. You may be asked to enter your account password before it proceeds further.

2. Once the files are cleared, click the gear icon at the top right of the screen, and choose System Settings from the list. Alternatively, you can launch System Settings from the app list if it is pinned there.

Access Ubuntu System Settings

3. In the System Settings window, choose the Softwares & Updates option.

Ubuntu Sofware & Updates settings

4. The Software & Updates window pops up on screen. Make sure you are currently viewing the Ubuntu Software tab. Click on the Download from menu, and choose Other from the expanded list.

change Ubuntu download server

5. Next, you will be able to manually choose your preferred server from the list. If you are not sure which one to choose, click the Select Best Server button. The system will then run through several tests to determine the best server for your location. Once it has finished analyzing, click the Choose Server button to set the suggested server as the active one.

change Ubuntu download servers

6. Open Terminal again, and download the updates as usual. It is recommended that you pause other downloads to avoid errors.

If the problem persists, repeat the steps above, but choose a different server to use to download the files.

 

Lê Hoàng
Lê Hoàng
When not creating exciting new Android games, Lê Hoàng is here crafting tutorials, tweaks, and fixes for your enjoyment.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!