[GNC-dev] Help packaging GnuCash 3.x for Ubuntu Bionic

Stephen M. Butler kg7je at arrl.net
Sun Sep 29 12:46:00 EDT 2019

On 9/28/19 9:46 PM, Tommy Trussell wrote:
> Stephen -- I got a reply on the Repositories and Backports forum:
> https://ubuntuforums.org/showthread.php?t=2427539
> SO this person said we should be using the Backports repository. That
> changes all the rules! I added a follow-up question.
> In case you don't know, Backports is a special standard repository for
> each version of Ubuntu containing newer packages for that release.
> It's fairly easy to get packages into Backports. (See below.**) It
> turns out nowadays (for quite a few years now; I missed the memo)
> backports is activated by default in Ubuntu. But apparently NOT in the
> sbuild chroot!
New to me also. 
> I probably won't be able to try again this weekend. It should be
> fairly straightforward to activate the backports repository in sbuild,
> but if you or I start tinkering with a PPA I don't know what to do. I
> suppose they have it activated there.
> Here's what I would suggest. Create a new file for sources.list in the
> chroot having two lines
> $ sbuild-shell bionic-amd64
> $ su 
> password:
> # cd /etc/apt/sources.list.d/
> # cat > /etc/apt/sources.list.d/bionic-backports.list
> [paste the following two lines into the file, and then type ctrl-Z]
> deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted
> universe multiverse
> deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main
> restricted universe multiverse
> Then you can update apt in the chroot to see that the backports
> repository is available.
Now to figure out how to start over and remove the existing xxx-amd64
> **The backport process: Someone wants a newer package, and builds it
> (on sbuild or pbuilder or a PPA) to confirm it builds in x version of
> Ubuntu, then that person requests that it go into the Backports
> repository for Ubuntu x. A backport volunteer confirms that it builds,
> and copies into the repository for Ubuntu x. The new version then
> becomes available to everyone who has the Backports repository
> activated (everyone). 
> If, for example, the latest GnuCash package builds without errors with
> backported packages for Bionic, then theoretically it can easily go
> into the Backports repository for Bionic. No PPA needed! (Not that I
> expect this to happen for Bionic, but it might work for Disco, for
> example.)

Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

More information about the gnucash-devel mailing list