Session 6.2. Starting a Package shows wrong command line

Bug #1536578 reported by Daniel Kreling on 2016-01-21
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
Undecided
Unassigned

Bug Description

When following the steps on creating a package for Ubuntu, under session 6.2 Starting a Package (and using the hello-2.7.tar.gz project example), this line on the first box returned me an error:

$ bzr dh-make hello 2.7 hello-2.7.tar.gz
bzr: ERROR: Either run the command from an existing branch of upstream, or move hello aside and a new branch will be created there.

Tweaking a little bit around with the commands and searching online, I found out the proper command should be:

dh_make

..instead, so we'd get:

$ bzr dh_make hello 2.7 hello-2.7.tar.gz
Fetching tarball
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that

Type of package: single binary, indep binary, multiple binary, library, kernel module, kernel patch?
 [s/i/m/l/k/n]

Thanks,
Daniel

Daniel Kreling (dbkreling) wrote :

Just clarifying the summary: the web page should be fixed to reflect the proper command line with 'dh_make' .

Thanks

Daniel Kreling (dbkreling) wrote :

This may be obvious, but contents referred are at http://packaging.ubuntu.com/html/packaging-new-software.html

Doan Manh (doanvanmanh87) wrote :

The ERROR show up when you already have a file or a folder with name: "hello" in your execute folder, whatever 'dh-make' or 'dh_make' is used in your command.
Can you check it gain Daniel?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers