Devuan bug report logs - #163
File size mismatch using apt-transport-https

Package: apt-transport-https; Maintainer for apt-transport-https is Andreas Messer <andi@bastelmap.de>;

Reported by: Chillfan <chillfan@protonmail.com>

Date: Thu, 23 Nov 2017 19:48:01 UTC

Severity: normal

Tags: ascii

Done: KatolaZ <katolaz@freaknet.org>

Full log


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

Received: (at submit) by bugs.devuan.org; 23 Nov 2017 19:40:06 +0000
Return-Path: <chillfan@protonmail.com>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 23 Nov 2017 20:40:06 +0100 (CET)
Received: from mail3.protonmail.ch (mail3.protonmail.ch [185.70.40.25])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 8792CF606E0
	for <submit@bugs.devuan.org>; Thu, 23 Nov 2017 20:36:06 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=protonmail.com header.i=@protonmail.com header.b="oL6uAt+X";
	dkim-atps=neutral
Date: Thu, 23 Nov 2017 14:35:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=default; t=1511465755;
	bh=ePjalXcmPA+tIAoPNf/TacgkxnK7rrTor7T29eShxLM=;
	h=Date:To:From:Reply-To:Subject:Feedback-ID:From;
	b=oL6uAt+XJClclPxmO8PGijdzH/eQZ0nliAH1N6hFb/BLpkz5vSKhMX9ZXjrJpmKCr
	 oRfCadKYiJfLN8UjDJWrc9GPslP2E8XjPPys78+gggOjT9xLv2zNdBomoG+vi5MkD9
	 FrPzuIJQXcprjDG8J2jgK56lGZNZIrZKUpqV4ntc=
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
From: Chillfan <chillfan@protonmail.com>
Reply-To: Chillfan <chillfan@protonmail.com>
Subject: File size mismatch using apt-transport-https
Message-ID: <kiQyFLPeGMd6lthIyS1ists8EVqHhJuzCrck9zixutQ6FK4W-XVFQrsBsaEM222U3BnzOT_CxvEvgKpwwdtUPuxPNAgk8z91HCjzND_LP8o=@protonmail.com>
Feedback-ID: 17th0TXdITnwZOvCDAeL-5l1WYZ0htCAu6suXv76R9i-Tyw1JLaXVUyYGR2h7WQrB5Ul2krQB1hENKMuozd29Q==:Ext:ProtonMail
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="b1_cfae973d604d29683a08965480563f73"
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_VALID_AU,
	FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID autolearn=ham
	autolearn_force=no version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org
[Message part 1 (text/plain, inline)]
Package: apt-transport-https
Version: 1.0.9.8.4

Installing a package over https using apt-transport https causes apt to report that the file size does not match what the server reported. Others have mentioned having this issue on the freenode channels.

Here is some of the output:

W: Size of file /var/cache/apt/archives/partial/wget_1.16-1+deb8u4_i386.deb is not what the server reported 503980 923
W: Size of file /var/cache/apt/archives/partial/iceweasel_52.5.0esr-1~deb8u1_all.deb is not what the server reported 121762 4889
W: Size of file /var/cache/apt/archives/partial/xserver-common_2%3a1.16.4-1+deb8u2_all.deb is not what the server reported 1758568 1719696
W: Size of file /var/cache/apt/archives/partial/xserver-xorg-core_2%3a1.16.4-1+deb8u2_i386.deb is not what the server reported 3129878 3122808

After a little testing I found I could only reproduce this on Jessie. It can be reproduced by installing a package from the mirror using apt-transport-https.
This looks to be the same as a Debian bug that was closed, but does not look to be fixed in Jessie: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802617)

Sent with [ProtonMail](https://protonmail.com) Secure Email.
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Jun 5 04:15:24 2020;