← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 976748] Re: wrong advice on http://developer.ubuntu.com/packaging/html/packaging-new-software.html

 

Had the same issue. For some reason, the first time that I've executed
the commands in the guide, a "hello" directory was created behind the
scenes, leading to the "move hello aside..." error message. So I've
removed all the files and directories created during the various steps
of the guide (i.e. rm -rf hello*) and I've started from scratch. This
time it all went right, no "hello" directry was created, so I've managed
to execute "bzr dh-make hello 2.7 hello-2.7.tar.gz". I really can't
figure out what changed between the 2 attempts. That's strange!

Anyway, I think Everett Kropf is right about putting some kind of
warning into the guide.

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/976748

Title:
  wrong advice on http://developer.ubuntu.com/packaging/html/packaging-
  new-software.html

Status in Ubuntu Packaging Guide:
  Fix Released

Bug description:
  when I performing the advices on this website I got:

  user@userhost:~/hello-2.7$ hello
  Hallo, Welt!
  user@userhost:~/hello-2.7$ sudo apt-get install dh-make
  Paketlisten werden gelesen... Fertig
  Abhängigkeitsbaum wird aufgebaut       
  Statusinformationen werden eingelesen... Fertig
  Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
    kde-l10n-de kde-l10n-engb kde-l10n-zhcn
  Verwenden Sie »apt-get autoremove«, um sie zu entfernen.
  Die folgenden NEUEN Pakete werden installiert:
    dh-make
  0 aktualisiert, 1 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
  Es müssen 33,8 kB an Archiven heruntergeladen werden.
  Nach dieser Operation werden 206 kB Plattenplatz zusätzlich benutzt.
  Hole:1 http://de.archive.ubuntu.com/ubuntu/ precise/main dh-make all 0.59ubuntu1 [33,8 kB]
  Es wurden 33,8 kB in 0 s geholt (83,6 kB/s)
  Vormals nicht ausgewähltes Paket dh-make wird gewählt.
  (Lese Datenbank ... 385292 Dateien und Verzeichnisse sind derzeit installiert.)
  Entpacken von dh-make (aus .../dh-make_0.59ubuntu1_all.deb) ...
  Trigger für man-db werden verarbeitet ...
  dh-make (0.59ubuntu1) wird eingerichtet ...
  user@userhost:~/hello-2.7$ cd ..
  user@userhost:~$ 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.
  user@userhost:~$ bzr dh-make hello-2.7 hello-2.7.tar.gz
  bzr: ERROR: command 'dh-make' requires argument TARBALL
  user@userhost:~$ bzr dh-make hello-2.7 hello-2.7.tar.gz
  bzr: ERROR: command 'dh-make' requires argument TARBALL

  
  I do not undestand what it exactly means, but the advices given there leads me not to an success.

  You see the installation of the hello world testpackage was successfull and the programm was executed.
  dh-make was installed by me.
  a switch in my home directory was done with cd ..
  a copy paste of  bzr dh-make hello 2.7 hello-2.7.tar.gz shows the error you see above.
  Because the directory is named "hello-2.7" (with "-") on my system like the website gives advice before I made the change to:
   bzr dh-make hello-2.7 hello-2.7.tar.gz

  Works also not.

  A overworking of the advices on this website seems to be recommend.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/976748/+subscriptions


References