Devuan bug report logs - #75
InRelease formatting errors

Package: devuan-project; Maintainer for devuan-project is Devuan Developers <devuan-dev@lists.dyne.org>;

Reported by: Michael Stroucken <mxs@cmu.edu>

Date: Mon, 15 May 2017 02:33:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, Jaromil <jaromil@dyne.org>:
bug#75; Package devuan-project. (full text, mbox, link).


Acknowledgement sent to Michael Stroucken <mxs@cmu.edu>:
New bug report received and forwarded. Copy sent to Jaromil <jaromil@dyne.org>.

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, mbox, link).


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

From: Michael Stroucken <mxs@cmu.edu>
To: submit@bugs.devuan.org
Subject: InRelease formatting errors
Date: Sun, 14 May 2017 22:22:01 -0400
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.


Information forwarded to devuan-bugs@lists.dyne.org, Jaromil <jaromil@dyne.org>:
bug#75; Package devuan-project. (full text, mbox, link).


Acknowledgement sent to Michael Stroucken <mxs@cmu.edu>:
Extra info received and forwarded to list. Copy sent to Jaromil <jaromil@dyne.org>. (full text, mbox, link).


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

From: Michael Stroucken <mxs@cmu.edu>
To: 75@bugs.devuan.org
Subject: InRelease formatting errors
Date: Wed, 19 Jul 2017 19:31:39 -0400
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());



Information forwarded to devuan-bugs@lists.dyne.org, Jaromil <jaromil@dyne.org>:
bug#75; Package devuan-project. (full text, mbox, link).


Acknowledgement sent to KatolaZ <katolaz@freaknet.org>:
Extra info received and forwarded to list. Copy sent to Jaromil <jaromil@dyne.org>. (full text, mbox, link).


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

From: KatolaZ <katolaz@freaknet.org>
To: Where all about bugs in Devuan packages is reported <devuan-bugs@lists.dyne.org>, 75@bugs.devuan.org
Subject: Re: [Devuan-bugs] bug#75: InRelease formatting errors
Date: Thu, 20 Jul 2017 06:02:32 +0100
[Message part 1 (text/plain, inline)]
On Wed, Jul 19, 2017 at 07:31:39PM -0400, Where all about bugs in Devuan packages 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:
> 
> 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:


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. 

HND

KatolaZ
[signature.asc (application/pgp-signature, inline)]

Information forwarded to devuan-bugs@lists.dyne.org, Jaromil <jaromil@dyne.org>:
bug#75; Package devuan-project. (full text, mbox, link).


Acknowledgement sent to Michael Stroucken <mxs@cmu.edu>:
Extra info received and forwarded to list. Copy sent to Jaromil <jaromil@dyne.org>. (full text, mbox, link).


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

From: Michael Stroucken <mxs@cmu.edu>
To: 75@bugs.devuan.org
Subject: bug#75: Info received (was InRelease formatting errors)
Date: Wed, 26 Jul 2017 00:09:19 -0400
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.


Information forwarded to devuan-bugs@lists.dyne.org, Jaromil <jaromil@dyne.org>:
bug#75; Package devuan-project. (full text, mbox, link).


Acknowledgement sent to KatolaZ <katolaz@freaknet.org>:
Extra info received and forwarded to list. Copy sent to Jaromil <jaromil@dyne.org>. (full text, mbox, link).


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

From: KatolaZ <katolaz@freaknet.org>
To: 75@bugs.devuan.org
Subject: moreinfo
Date: Thu, 7 Dec 2017 19:10:31 +0000
[Message part 1 (text/plain, 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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Tue, 14 Jan 2020 17:48:14 GMT) (full text, mbox, link).


Notification sent to Michael Stroucken <mxs@cmu.edu>:
bug acknowledged by developer. (Tue, 14 Jan 2020 17:48:16 GMT) (full text, mbox, link).


Message #30 received at 75-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 75-done@bugs.devuan.org
Subject: Re: moreinfo
Date: Tue, 14 Jan 2020 17:36:00 +0000
Fixed.

Closing.

LeePen

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: Wed May 27 09:18:27 2020;