whonix-gw: 'Hash sum mismatch' on update

64 views
Skip to first unread message

Chris Laprise

unread,
May 16, 2019, 6:27:15 AM5/16/19
to qubes-users
I'm getting a hash sum error when updating my whonix-gw-14 template
today. No error occurred when updating whonix-ws-14.

See below for the apt-get output...

--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886

---

user@host:~$ sudo apt-get update && sudo apt-get dist-upgrade -V
Hit:1
tor+http://deb.dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion
stretch InRelease
Hit:2 https://deb.qubes-os.org/r4.0/vm stretch InRelease
Hit:3 https://deb.whonix.org stretch InRelease
Get:4 https://cdn-aws.deb.debian.org/debian-security stretch/updates
InRelease [94.3 kB]
Ign:5 https://cdn-aws.deb.debian.org/debian stretch InRelease
Ign:6 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/main amd64 Packages
Ign:6 https://deb.debian.org/debian-security stretch/updates/main amd64
Packages
Ign:6 https://deb.debian.org/debian-security stretch/updates/main amd64
Packages
Get:8 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/main Translation-en [219 kB]
Ign:6 https://deb.debian.org/debian-security stretch/updates/main amd64
Packages
Ign:9 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/contrib amd64 Packages
Ign:10 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/contrib Translation-en
Ign:9 https://deb.debian.org/debian-security stretch/updates/contrib
amd64 Packages
Ign:10 https://deb.debian.org/debian-security stretch/updates/contrib
Translation-en
Ign:9 https://deb.debian.org/debian-security stretch/updates/contrib
amd64 Packages
Get:11 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/non-free amd64 Packages [1600 B]
Ign:10 https://deb.debian.org/debian-security stretch/updates/contrib
Translation-en
Ign:12 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/non-free Translation-en
Ign:9 https://deb.debian.org/debian-security stretch/updates/contrib
amd64 Packages
Get:7 https://cdn-aws.deb.debian.org/debian stretch Release [118 kB]

Ign:12 https://deb.debian.org/debian-security stretch/updates/non-free
Translation-en
Err:6 https://deb.debian.org/debian-security stretch/updates/main amd64
Packages
Could not open file
/var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stretch_updates_main_binary-amd64_Packages.xz
- open (13: Permission denied)
Ign:6 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/main amd64 Packages
Ign:10 https://cdn-aws.deb.debian.org/debian-security
stretch/updates/contrib Translation-en
Get:13 https://cdn-aws.deb.debian.org/debian stretch Release.gpg [2434
B]
Ign:14 https://cdn-aws.deb.debian.org/debian stretch/main amd64 Packages

Ign:14 https://deb.debian.org/debian stretch/main amd64 Packages

Ign:15 https://cdn-aws.deb.debian.org/debian stretch/main Translation-en

Ign:14 https://deb.debian.org/debian stretch/main amd64 Packages

Ign:15 https://deb.debian.org/debian stretch/main Translation-en

Hit:16 https://cdn-aws.deb.debian.org/debian stretch/main amd64 Contents
(deb)
Ign:17 https://cdn-aws.deb.debian.org/debian stretch/contrib amd64
Packages
Err:16 https://cdn-aws.deb.debian.org/debian stretch/main amd64 Contents
(deb)
Hash Sum mismatch
Hashes of expected file:
- Filesize:454716312 [weak]
-
SHA256:df16245f9b562e1a117f47de690ade03764ae5657f5ec0369f9022bbd986b73f
- MD5Sum:a1d10bd031a34924bec90b1fb5a6cc73 [weak]
Hashes of received file:
-
SHA256:79dd0f0cf90997bdbf3ce0f53afaa387940dd5cf5ecdc5481797c1ed3b97b140
- MD5Sum:c8cfadf002c939766747bf23a01d976c [weak]
- Filesize:54725988 [weak]
Release file created at: Sat, 27 Apr 2019 09:29:22 +0000
Ign:18 https://cdn-aws.deb.debian.org/debian stretch/contrib
Translation-en
Ign:19 https://cdn-aws.deb.debian.org/debian stretch/contrib amd64
Contents (deb)
Ign:20 https://cdn-aws.deb.debian.org/debian stretch/non-free amd64
Packages
Hit:21 https://cdn-aws.deb.debian.org/debian stretch/non-free
Translation-en
Hit:22 https://cdn-aws.deb.debian.org/debian stretch/non-free amd64
Contents (deb)
Fetched 436 kB in 26s (16.7 kB/s)
Reading package lists... Done
E: Failed to fetch
https://deb.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages
Could not open file
/var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stretch_updates_main_binary-amd64_Packages.xz
- open (13: Permission denied)
E: Failed to fetch
https://cdn-aws.deb.debian.org/debian-security/dists/stretch/updates/contrib/binary-amd64/Packages
Could not open file
/var/lib/apt/lists/partial/deb.debian.org_debian-security_dists_stretch_updates_contrib_binary-amd64_Packages.xz
- open (13: Permission denied)
E: Failed to fetch
https://cdn-aws.deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages.gz
Could not open file
/var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_main_binary-amd64_Packages.xz
- open (13: Permission denied)
E: Failed to fetch
store:/var/lib/apt/lists/partial/deb.debian.org_debian_dists_stretch_main_Contents-amd64.gz
Hash Sum mismatch
Hashes of expected file:
- Filesize:454716312 [weak]
-
SHA256:df16245f9b562e1a117f47de690ade03764ae5657f5ec0369f9022bbd986b73f
- MD5Sum:a1d10bd031a34924bec90b1fb5a6cc73 [weak]
Hashes of received file:
-
SHA256:79dd0f0cf90997bdbf3ce0f53afaa387940dd5cf5ecdc5481797c1ed3b97b140
- MD5Sum:c8cfadf002c939766747bf23a01d976c [weak]
- Filesize:54725988 [weak]
Release file created at: Sat, 27 Apr 2019 09:29:22 +0000
E: Some index files failed to download. They have been ignored, or old
ones used instead.

Chris Laprise

unread,
May 18, 2019, 5:03:08 PM5/18/19
to qubes-users, Patrick Schleizer, Unman
On 5/16/19 6:27 AM, Chris Laprise wrote:
> I'm getting a hash sum error when updating my whonix-gw-14 template
> today. No error occurred when updating whonix-ws-14.
>
> See below for the apt-get output...
>

Any ideas why a freshly-installed Whonix 14 template would experience an
update verification error?

awokd

unread,
May 18, 2019, 8:55:30 PM5/18/19
to qubes...@googlegroups.com
Chris Laprise:
> On 5/16/19 6:27 AM, Chris Laprise wrote:
>> I'm getting a hash sum error when updating my whonix-gw-14 template
>> today. No error occurred when updating whonix-ws-14.
>>
>> See below for the apt-get output...
>>
>
> Any ideas why a freshly-installed Whonix 14 template would experience an
> update verification error?
>
I updated my whonix-gw shortly after your prior message and it worked
without complaint. Try using the update widget maybe, instead of apt-get?

Chris Laprise

unread,
May 19, 2019, 10:49:39 AM5/19/19
to awokd, qubes...@googlegroups.com
There was no difference with the widget. The problem seems to have been
a glitch since re-installing the template has restored update integrity.
Reply all
Reply to author
Forward
0 new messages