Even by downloading the file and checking HASH and MD5sum. It's different than it should be. Can you please tell me how to what to ask for ISP if they are mangling the traffic.
HASH file downloaded and check for SHA256 checksum. Get:15 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB] Get:16 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB] Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [454 kB] Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [169 kB] Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [6,992 B] Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [3,076 B] Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [592 kB] Err:21 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages Hash Sum mismatch Hashes of expected file: - Filesize:592272 [weak] - SHA256:4d0d8e9333b6ffbd2f40ad77155823f8bc231b7a363c5fc901172a53819248b8 - SHA1:e1db814ef58855914af89e6a64a29d14ee43b280 [weak] - MD5Sum:a6799ae06b4e4a977bc6ef98d1a64758 [weak] Hashes of received file: - SHA256:65b8bf8f415626588cd41c899159d8d3fff7a0b2d6deaf122f2066b9f5667f2d - SHA1:faade6528307e867d378a4faccc955627b6529d5 [weak] - MD5Sum:5dccc9ef9d9a1189787ace009a0ab8d0 [weak] - Filesize:592272 [weak] Last modification reported: Fri, 07 Dec 2018 12:40:08 +0000 Release file created at: Fri, 07 Dec 2018 13:10:55 +0000 Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [165 kB] Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [6,372 B] Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [3,356 B] Get:25 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3,468 B] Get:26 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [1,604 B] Get:27 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [218 kB] Get:28 http://archive.ubuntu.com/ubuntu bionic-security/main Translation-en [84.0 kB] Get:29 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [106 kB] Get:30 http://archive.ubuntu.com/ubuntu bionic-security/universe Translation-en [60.3 kB] Get:31 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [1,440 B] Get:32 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [996 B] Fetched 17.7 MB in 15s (1,162 kB/s) Reading package lists... Done E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/binary-amd64/by-hash/SHA256/4d0d8e9333b6ffbd2f40ad77155823f8bc231b7a363c5fc901172a53819248b8 Hash Sum mismatch Hashes of expected file: - Filesize:592272 [weak] - SHA256:4d0d8e9333b6ffbd2f40ad77155823f8bc231b7a363c5fc901172a53819248b8 - SHA1:e1db814ef58855914af89e6a64a29d14ee43b280 [weak] - MD5Sum:a6799ae06b4e4a977bc6ef98d1a64758 [weak] Hashes of received file: - SHA256:65b8bf8f415626588cd41c899159d8d3fff7a0b2d6deaf122f2066b9f5667f2d - SHA1:faade6528307e867d378a4faccc955627b6529d5 [weak] - MD5Sum:5dccc9ef9d9a1189787ace009a0ab8d0 [weak] - Filesize:592272 [weak] Last modification reported: Fri, 07 Dec 2018 12:40:08 +0000 Release file created at: Fri, 07 Dec 2018 13:10:55 +0000 E: Some index files failed to download. They have been ignored, or old ones used instead. ** Attachment added: "Hash sum mismatch" https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778/+attachment/5220107/+files/manual%20hash%20check.jpg -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1785778 Title: Hash Sum mismatch Ubuntu Server 18.04.1 LTS Status in apt package in Ubuntu: Invalid Bug description: Hi, I'm getting weird Hashes mismatch error while trying to update Ubuntu server 18.04.1 LTS server. The error I'm receiving is as follows. $ sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [52.2 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [152 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [2,676 B] Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [277 kB] Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [105 kB] Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [157 kB] Err:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages Hash Sum mismatch Hashes of expected file: - Filesize:157408 [weak] - SHA256:95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18 - SHA1:ad29965fe436d84b62331a4662e5fc679103fa0d [weak] - MD5Sum:4375646a0495b45597e06fb3e21dbd10 [weak] Hashes of received file: - SHA256:cdb9774bad7ab6f191ce597e3139f105477428fdc2509c63fcac8e5b904e4f4a - SHA1:96a041a735ddb8be1b14cc214ce0f56b486b42db [weak] - MD5Sum:a33f0341357c0be32207618a14b500db [weak] - Filesize:157408 [weak] Last modification reported: Tue, 07 Aug 2018 07:15:09 +0000 Release file created at: Tue, 07 Aug 2018 07:15:03 +0000 Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [71.0 kB] Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [3,772 B] Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [2,376 B] Err:14 http://download.webmin.com/download/repository sarge InRelease Could not connect to download.webmin.com:80 (108.60.199.109), connection timed out Fetched 329 kB in 30s (10.9 kB/s) Reading package lists... Done W: Failed to fetch http://download.webmin.com/download/repository/dists/sarge/InRelease Could not connect to download.webmin.com:80 (108.60.199.109), connection timed out E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/universe/binary-amd64/by-hash/SHA256/95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18 Hash Sum mismatch Hashes of expected file: - Filesize:157408 [weak] - SHA256:95fae016beb34455d4601a44c76d1823479178cbcdc58365750d4c039eecfb18 - SHA1:ad29965fe436d84b62331a4662e5fc679103fa0d [weak] - MD5Sum:4375646a0495b45597e06fb3e21dbd10 [weak] Hashes of received file: - SHA256:cdb9774bad7ab6f191ce597e3139f105477428fdc2509c63fcac8e5b904e4f4a - SHA1:96a041a735ddb8be1b14cc214ce0f56b486b42db [weak] - MD5Sum:a33f0341357c0be32207618a14b500db [weak] - Filesize:157408 [weak] Last modification reported: Tue, 07 Aug 2018 07:15:09 +0000 Release file created at: Tue, 07 Aug 2018 07:15:03 +0000 W: Some index files failed to download. They have been ignored, or old ones used instead. I have tried solution provided in search as "removing all files in /var/lib/apt/lists and update again" but it doesn't work. Don't know how to resolve it. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp