-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
I have the following error when updating my repositories through pac4cli, but not when I instruct apt to go directly through the proxy:
~> sudo apt update
[...]
Get:28 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [252 kB]
Get:28 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [252 kB]
Get:28 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [252 kB]
Err:28 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:252356 [weak]
- SHA256:4ac29191784f2fb23fcc15e0c63e31186e715ac5f225ae4f67e8609f670c328d
- SHA1:06838369a89a798e49f6cd38402da035f4cadce3 [weak]
- MD5Sum:aa49210f64a49fc87757d47d776d2205 [weak]
Hashes of received file:
- SHA256:b9b2bcbdc22af3c84ae97165e56bbc1072c03417a56a3fcbe18cb5a3801252cf
- SHA1:05529bcf9522ecf66b06f0896e104b847693a157 [weak]
- MD5Sum:164012ed99f02a2427f3aee21bb4de89 [weak]
- Filesize:158124 [weak]
Last modification reported: Fri, 10 Aug 2018 00:59:36 +0000
Release file created at: Fri, 10 Aug 2018 06:13:35 +0000
Err:31 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata
Get:32 http://nl.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [53.7 kB]
Get:33 http://nl.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [158 kB]
Get:34 http://nl.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [158 kB]
Hit:24 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
[...]
W: http://nl.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/4ac29191784f2fb23fcc15e0c63e31186e715ac5f225ae4f67e8609f670c328d: Automatically disabled Acquire::http::Pipeline-Depth due to incorrect response from server/proxy. (man 5 apt.conf)
I cannot reproduce the issue from the command line:
~> env HTTP_PROXY='http://webproxy:3128/' wget --quiet http://nl.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/4ac29191784f2fb23fcc15e0c63e31186e715ac5f225ae4f67e8609f670c328d -O - | wc -c
252356
~> env HTTP_PROXY='http://localhost:3128/' wget --quiet http://nl.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-i386/by-hash/SHA256/4ac29191784f2fb23fcc15e0c63e31186e715ac5f225ae4f67e8609f670c328d -O - | wc -c
252356
The downloaded files are binary-equal.
This doesn't just happen for apt update. apt-upgrade also failed on, say, this package:
Err:2 http://nl.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 console-setup all 1.178ubuntu2.6
Hash Sum mismatch
Hashes of expected file:
- SHA256:0054a78701d67fd1f34227b5718edf3d8e50102696790dcf934dd372988ef201
- SHA1:b9424f627123511aa5b94705275d1cf635e25e28 [weak]
- MD5Sum:9795f2526d271aedfff53ecdf6cecee8 [weak]
- Filesize:104608 [weak]
Hashes of received file:
- SHA256:d5cf27902451885a3ff18446015729f3eae72e7a196a926017982170bf8a27c7
- SHA1:b8cd777ee21157ad3cca0e16336addac01a18963 [weak]
- MD5Sum:1668125ec62016fcf375c6bdf102039e [weak]
- Filesize:104608 [weak]
Last modification reported: Thu, 09 Aug 2018 13:08:18 +0000
I remember having a similar issue with my workplace's squid proxies as well, but the newer proxies don't seem to exhibit this issue. The only resolution at the time, IIRC, was not using the proxies...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels