[Bug 1785778] Re: Hash Sum mismatch Ubuntu Server 18.04.1 LTS
R. Oliveira
1785778 at bugs.launchpad.net
Wed Mar 13 04:39:24 UTC 2019
I've faced the same issue, but in a recently installed Ubuntu Desktop 18.04 on a Asus K46CB.
I tried @pujan fix but it didn't work.
Several minutes later I've tried to type: ~$ cat /etc/resolv.conf following tips from here (Brazilian forum):
https://www.vivaolinux.com.br/topico/Iniciantes-no-Linux/Update-no-Ubuntu-1604-LTS
This command input in that thread was in fact intended to see the DNS
config, but just the execution of the command seems to solve the guy
problem.
So I tried to input the same command and after I've (magically) also
succeed to update the packages.
There are two possible misconceptions here:
- The kernel was already updating the packages because of the Ubuntu fresh install and apt in some way get confused;
- Or it was a communication/network/ISP problem that got fixed by itself.
As I didn't try to directly update the packages after the "several
minutes" and type the cat command instead, it's not possible to know if
it really was the cat command or the network that got fixed. Also it's
kind of weird that the simple fact of checking a config file solve a
problem, right? But it is kind of huge coincidence that two different
computers in different years (2017 and 2019) got the same fix after that
command, isn't it?
** Attachment added: "Outputs"
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1785778/+attachment/5245772/+files/apt_error.txt
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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
More information about the foundations-bugs
mailing list