Devuan bug report logs - #75
InRelease formatting errors

Package: devuan-project; Reported by: Michael Stroucken <[email protected]>; Done: Mark Hindley <[email protected]>; Maintainer for devuan-project is (unknown).

Message received at [email protected]:


Received: (at 75-done) by bugs.devuan.org; 14 Jan 2020 17:40:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 17:40:05 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id B6E7FF60BB0
	for <[email protected]>; Tue, 14 Jan 2020 18:36:06 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1irQ6l-0008SZ-UZ
	for [email protected]; Tue, 14 Jan 2020 17:36:04 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1irQ6i-00040j-Q2
	for [email protected]; Tue, 14 Jan 2020 17:36:00 +0000
Date: Tue, 14 Jan 2020 17:36:00 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Re: moreinfo
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Fixed.

Closing.

LeePen

Notification sent to Michael Stroucken <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 75) by bugs.devuan.org; 7 Dec 2017 19:20:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 07 Dec 2017 20:20:03 +0100 (CET)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: [email protected])
	with ESMTPSA id C3A8EF608FE
Date: Thu, 7 Dec 2017 19:10:31 +0000
From: KatolaZ <[email protected]>
To: [email protected]
Subject: moreinfo
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="QSsK6wemolCmGa9N"
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED
	autolearn=disabled version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org


--QSsK6wemolCmGa9N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

could you please confirm that this has been solved by the new version
of amprolla, whose packages are available at:

  pkgmaster.devuan.org

If yes, I will with closing the bug.

Thanks

KatolaZ

--QSsK6wemolCmGa9N
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEUEARECAAYFAlopkicACgkQXyCzrgtfBi9gkQCaAtzud3fhILHVtRpQEWdCpn4p
eAIAmOmY7vDbA0p7wwsCPEzC+wgKGs4=
=Tc0e
-----END PGP SIGNATURE-----

--QSsK6wemolCmGa9N--


Acknowledgement sent to KatolaZ <[email protected]>:
Extra info received and forwarded to list. Copy sent to Jaromil <[email protected]>. Full text available.
Information forwarded to [email protected], Jaromil <[email protected]>:
bug#75; Package devuan-project. Full text available.

Message received at [email protected]:


Received: (at 75) by bugs.devuan.org; 26 Jul 2017 04:10:08 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Wed, 26 Jul 2017 06:10:08 +0200 (CEST)
Received: from gunkai.ascient.net (gunkai.ascient.net [74.50.51.254])
	by tupac2.dyne.org (Postfix) with ESMTP id 33F3C186E0B
	for <[email protected]>; Wed, 26 Jul 2017 04:09:25 +0000 (UTC)
Received: from mus.wv.cc.cmu.edu (MUS.WV.CC.CMU.EDU [128.237.248.53])
	by gunkai.ascient.net (Postfix) with ESMTPSA id DFF766C36F
	for <[email protected]>; Wed, 26 Jul 2017 00:08:42 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 26 Jul 2017 00:09:19 -0400
From: Michael Stroucken <[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: [email protected]
Subject: bug#75: Info received (was InRelease formatting errors)
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

Thank you for taking a look. I read the standard as allowing any number
of spaces including 0 before the hash.

Was it an old version of amprolla that created those files? I couldn't
see a change in the git log that would have changed the number of spaces
or fixed the missing newline. Will it be used to create the release
files for jessie soon?

For this and other reasons, my solution was to discontinue the use of
approx.

Finally, even though I opened the bug, I was not notified of your reply.

Greetings,
Michael.


Acknowledgement sent to Michael Stroucken <[email protected]>:
Extra info received and forwarded to list. Copy sent to Jaromil <[email protected]>. Full text available.
Information forwarded to [email protected], Jaromil <[email protected]>:
bug#75; Package devuan-project. Full text available.

Message received at [email protected]:


Received: (at 75) by bugs.devuan.org; 20 Jul 2017 05:10:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 20 Jul 2017 07:10:02 +0200 (CEST)
Received: from [127.0.0.1] (localhost [127.0.0.1])
	(Authenticated sender: [email protected])
	with ESMTPSA id D10C318B279
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=freaknet.org; s=mail;
	t=1500526951; bh=moxkH1//G40A2lPauvwM5ohDzYPk1krU5FA9SF6Zu8w=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=cTnZa9cV2lVfBY2ig9ms0x0WyFg2OXUxxYDhPD+TvhovjHe1vR6+8CDdxCKqbBUKt
	 dikrGK//7eWSJF70QZZrPCG9XdxgOndJcqPJe3vImNoF375e8ecytVEL+LzshMIIrH
	 Ugipl2al+iU4T5KVTsqiG5RuXQVP5GKfutOGSrcU=
Date: Thu, 20 Jul 2017 06:02:32 +0100
From: KatolaZ <[email protected]>
To: Where all about bugs in Devuan packages is reported <[email protected]>,
	[email protected]
Subject: Re: [Devuan-bugs] bug#75: InRelease formatting errors
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="pHQZnkZJcpgkVomt"
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED
	autolearn=disabled version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2


--pHQZnkZJcpgkVomt
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 19, 2017 at 07:31:39PM -0400, Where all about bugs in Devuan pa=
ckages is reported wrote:
> The InRelease file for jessie-security is a bit better; it has a newline
> after the Components field, an additional Description field, but each
> hash is still prefixed with two spaces:
>=20
> Components: main contrib non-free
> Description: Devuan 1.0 Jessie Security Updates
> MD5Sum:
>   a39e73f232d88ed23a6821d1ede10d39       32 non-free/binary-hppa/Packages=
=2Exz
>=20
> What are these files being generated by? The standard InRelease file
> generator, apt-ftparchive, uses only one space:


The actual number of spaces before the MD5 sums does not seem to be
specified anywhere, not even here:

  https://wiki.debian.org/DebianRepository/Format

Anyway, this should be solved by the new version of amprolla.=20

HND

KatolaZ

--pHQZnkZJcpgkVomt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAllwOWgACgkQXyCzrgtfBi+rzwCgjrxttrg1XzsgdtZ6UjFzxjni
X90AmQF5/T7SPYVCusqjONkWhXQEcqhr
=N9tE
-----END PGP SIGNATURE-----

--pHQZnkZJcpgkVomt--


Acknowledgement sent to KatolaZ <[email protected]>:
Extra info received and forwarded to list. Copy sent to Jaromil <[email protected]>. Full text available.
Information forwarded to [email protected], Jaromil <[email protected]>:
bug#75; Package devuan-project. Full text available.

Message received at [email protected]:


Received: (at 75) by bugs.devuan.org; 19 Jul 2017 23:40:06 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Thu, 20 Jul 2017 01:40:06 +0200 (CEST)
Received: from gunkai.ascient.net (gunkai.ascient.net [74.50.51.254])
	by tupac2.dyne.org (Postfix) with ESMTP id 81AE618F422
	for <[email protected]>; Wed, 19 Jul 2017 23:31:45 +0000 (UTC)
Received: from mus.wv.cc.cmu.edu (MUS.WV.CC.CMU.EDU [128.237.248.53])
	by gunkai.ascient.net (Postfix) with ESMTPSA id 253816C3CA
	for <[email protected]>; Wed, 19 Jul 2017 19:31:09 -0400 (EDT)
Message-ID: <[email protected]>
Date: Wed, 19 Jul 2017 19:31:39 -0400
From: Michael Stroucken <[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: [email protected]
Subject: InRelease formatting errors
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

The InRelease file for jessie-security is a bit better; it has a newline
after the Components field, an additional Description field, but each
hash is still prefixed with two spaces:

Components: main contrib non-free
Description: Devuan 1.0 Jessie Security Updates
MD5Sum:
  a39e73f232d88ed23a6821d1ede10d39       32 non-free/binary-hppa/Packages.xz

What are these files being generated by? The standard InRelease file
generator, apt-ftparchive, uses only one space:
      strprintf(out, " %s %16llu %s\n",
            hs->HashValue().c_str(),
            (*I).second.size,
            (*I).first.c_str());
      Output.Write(out.c_str(), out.length());



Acknowledgement sent to Michael Stroucken <[email protected]>:
Extra info received and forwarded to list. Copy sent to Jaromil <[email protected]>. Full text available.
Information forwarded to [email protected], Jaromil <[email protected]>:
bug#75; Package devuan-project. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 15 May 2017 02:30:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from mail.dyne.org [178.62.188.7]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 15 May 2017 04:30:03 +0200 (CEST)
Received: from gunkai.ascient.net (gunkai.ascient.net [74.50.51.254])
	by tupac2.dyne.org (Postfix) with ESMTP id 7245D18D834
	for <[email protected]>; Mon, 15 May 2017 02:22:05 +0000 (UTC)
Received: from mus.wv.cc.cmu.edu (MUS.WV.CC.CMU.EDU [128.237.248.53])
	by gunkai.ascient.net (Postfix) with ESMTPSA id 5A3BC6C36B
	for <[email protected]>; Sun, 14 May 2017 22:21:15 -0400 (EDT)
Message-ID: <[email protected]>
Date: Sun, 14 May 2017 22:22:01 -0400
From: Michael Stroucken <[email protected]>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version: 1.0
To: [email protected]
Subject: InRelease formatting errors
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled
	version=3.4.0
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tupac2

Package: devuan-project
Severity: important

I use approx to mediate access to the devuan repositories, and to cache
files for machines without a direct connection to the outside world.

approx incorrectly parses the lines in InRelease and fails to provide
the files to clients. I think I have found that the reason why approx
has problems is because devuan's InRelease files have two spaces at the
beginning of each line, while InRelease files for other debian-based
distributions only have one.

Depending on what the InRelease file specification is, the problem lies
either with the devuan formatting of InRelease files or approx.

I also noticed that the InRelease file for jessie-updates has a missing
newline before MD5Sum:
Components: main contrib non-freeMD5Sum:
  b195b097a2a4353f58cf73cebbc17062      520
non-free/binary-amd64/Packages.xz

The dates for this file are as follows:
Date: Mon, 15 May 2017 01:31:27 UTC
Valid-Until: Mon, 22 May 2017 01:31:27 UTC

Greetings,
Michael.


Acknowledgement sent to Michael Stroucken <[email protected]>:
New bug report received and forwarded. Copy sent to Jaromil <[email protected]>.

Your message specified a Severity: in the pseudo-header, but the severity value important was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, normal, minor, wishlist.

Full text available.


Report forwarded to [email protected], Jaromil <[email protected]>:
bug#75; Package devuan-project. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 04:39:02 UTC