Hello Sven, sorry for my slow answer. On Fri, Jan 13, 2023 at 10:14:24PM +0100, Sven Joachim wrote: > Am 13.01.2023 um 21:50 schrieb Helge Kreutzmann: > > As you can see, "linuxinfo_4.1.2.orig.tar.xz.asc" is contained in the > > .dsc file, but not in the .changes file. > > This is the opposite of what you wrote in the original report (where the > .asc file was in the changes file and not in the .dsc), and is in fact > normal as you did not include the upstream sources (the default if > debian/changelog indicates that this is not the first debian revision).
This was a mistake of mine, I probably failed to write it correctly. I
apologize.
> > When I uploaded this (with -2) the archive rejected this.
>
> Yes, because your .dsc file referenced the .asc file, but the changes
> file did not include it, nor was the file already in the archive.
>
> > I manually edited the .changes to add
> > "linuxinfo_4.1.2.orig.tar.xz.asc", and this worked.
>
> I guess could also have passed "-sa" to dpkg-buildpackage to include the
> full sources again, but whatever worked for you.
So I understand, if I had included the full sources, then the .asc file
would have been included as well? And does this work? - I remember that
in the past I was told that the sources are already in the archive,
and hence cannot be uploaded again (but I might be wrong on this).
Then this two things should be documented:
1. .asc files are always (automatically) included if the upstream
sources are included (either by default or by -sa)
2. .asc files cannot be included on their own, but rather require the
corresponding upstream sources (which would make sense, indeed).
[1]
Greetings
Helge
[1] If I'm right that the upstream source can only be uploaded once,
then possibly a sentence that .asc files should only be included at
Debian revision 1.
--
Dr. Helge Kreutzmann [email protected]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: PGP signature

