Control: tags -1 - d-i On Thu, 2021-01-07 at 06:03 +0100, Milchior wrote: > I tried to follow > https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging > with the app (Anki) I would like to see updated in Debian and ubuntu. > > For this, on a Debian distribution, I created an empty folder > /home/milchior/packaging/anki-2.1.38/debian > and inside it then tried the command > dch --create -v 2.1.28-1 --package anki > > which led to the error message > > dch: fatal error at line 642: > > Cannot find debian directory! > > Are you in the correct directory? > > So either the wiki should be corrected and the error message > clarified, or there is a bug in this program. Maybe both
I'm not sure it's either, really. The wiki page tells you to: $ cd hithere-1.0 $ mkdir debian and then run "dch". So you'd be running dch from inside "hithere-1.0", which has a "debian" subdirectory. It appears that you're running dch instead from the debian subdirectory, which then obviously _doesn't_ have a debian subdirectory itself, so there is no way to create a "debian/changelog" file in the directory you've run dch from. I think both the wiki page and dch are correct here, and you've simply misread the suggested flow. Regards, Adam