<div dir="ltr">Thanks, Colin. That worked like a champ.<div><br></div><div>Not why those steps are mysteriously absent from the CD customization documentation. Seems pretty critical to completion.</div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Apr 30, 2018 at 11:58 AM Colin Watson <<a href="mailto:cjwatson@ubuntu.com">cjwatson@ubuntu.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Apr 30, 2018 at 06:25:55PM +0000, Nicholas Bayle via ubuntu-users wrote:<br>
> When trying to generate a new ubuntu-keyring, I keep running into this<br>
> issue:<br>
> dpkg-buildpackage -rfakeroot -m"Name <email>" -kA5E86765<br>
> dpkg-buildpackage: source package ubuntu-keyring<br>
> dpkg-buildpackage: source version 2012.05.19-1<br>
[...]<br>
> dpkg-source: info: building ubuntu-keyring using existing<br>
> ./ubuntu-keyring_2012.05.19.orig.tar.gz<br>
> dpkg-source: error: cannot represent change to<br>
> keyrings/ubuntu-archive-keyring.gpg: binary file contents changed<br>
> dpkg-source: error: add keyrings/ubuntu-archive-keyring.gpg in<br>
> debian/source/include-binaries if you want to store the modified binary in<br>
> the debian tarball<br>
<br>
The simplest fix is to change the versioning scheme you're using.<br>
Instead of versioning your package as 2012.05.19-1, you should use<br>
2012.05.19+nbayle1 (or similar; use any identifier you like in place of<br>
"nbayle").<br>
<br>
The presence of a "-" in the version causes dpkg to interpret the part<br>
before the "-" as the upstream version and the part after it as the<br>
packaging revision.  This isn't really what you want here, as the thing<br>
you're starting from has already been packaged; you're just modifying<br>
it, and it's not in your interests for that modification to cause a<br>
fundamental change in the type of source package being created.<br>
Avoiding the "-" avoids this problem.<br>
<br>
(I think you may also have created debian/source/format.  If so, you<br>
should remove it again, with the same rationale as above.)<br>
<br>
-- <br>
Colin Watson                                       [<a href="mailto:cjwatson@ubuntu.com" target="_blank">cjwatson@ubuntu.com</a>]<br>
<br>
-- <br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com" target="_blank">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</blockquote></div>