ubuntu-packaging-guide-team team mailing list archive
-
ubuntu-packaging-guide-team team
-
Mailing list archive
-
Message #00682
[Bug 976748] [NEW] wrong advice on http://developer.ubuntu.com/packaging/html/packaging-new-software.html
Public bug reported:
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.
** Affects: ubuntu-packaging-guide
Importance: Undecided
Status: New
--
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:
New
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
Follow ups
References