Score:1

What is the correct, current way to generate packages in Ubuntu?

cn flag

The command shown in the documentation for creating a new Ubuntu package fails with an error.

https://packaging.ubuntu.com/html/packaging-new-software.html

Command:

bzr dh-make hello 2.10 hello-2.10.tar.gz

Result:

brz: ERROR: unknown command "dh-make"

I can see that the dh-make command is now dh_make. However, changing the command to the following also ends in almost the same error.

bzr dh_make hello 2.10 hello-2.10.tar.gz
brz: ERROR: unknown command "dh_make"

Also, there is a suggestion to downgrade a package as the answer to this question:

brz: ERROR: unknown command "dh-make"

This is sub-optimal.

In light of the above, is there an alternative set of documentation or a howto for packaging that is current?

guiverc avatar
cn flag
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/1944501
mondotofu avatar
cn flag
$ sudo apt-get install build-essential dh-make
cn flag
@mondotofu Both packages are already installed properly. That is not the problem. Thanks, however!
cn flag
@guiverc Thanks!! I tried `dh_make` and the output is the same: `brz: ERROR: unknown command "dh_make"`
N0rbert avatar
zw flag
What is your Ubuntu version?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.