Re: How to debug problems in postinst using debconf / dbconfig common

2009-01-23 Thread Daniel Leidert
Andreas Tille wrote: > I try to build a package from mlstdbnet for Debian Med. The > packaging stuff is available here: [..] > If I build the package I get an error message but failed > to track down the problem: > > ~> sudo dpkg -i mlstdbnet_2.0.0-1_all.deb > (Reading database ... 341999 files a

Re: How to debug problems in postinst using debconf / dbconfig common

2009-01-23 Thread Mark Brown
On Fri, Jan 23, 2009 at 04:05:38PM +0100, Andreas Tille wrote: > I'm probably blind for the problem but this exit status 128 without > any debug information is quite less. What are the best strategies > to track down the problematic line of code which causes the problem. I've not looked at the p

How to debug problems in postinst using debconf / dbconfig common

2009-01-23 Thread Andreas Tille
Hi, I try to build a package from mlstdbnet for Debian Med. The packaging stuff is available here: Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/mlstdbnet/trunk/?rev=0&sc=0 Vcs-Svn: svn://svn.debian.org/svn/debian-med/trunk/packages/mlstdbnet/trunk/ and you can obtain t

Re: Using debconf-set-selections in my package script

2008-08-29 Thread Thomas Goirand
Neil Williams wrote: > On Fri, 2008-08-29 at 15:37 +0800, Thomas Goirand wrote: >> Hi, >> >> My package depends pure-ftpd, but only when it's using the standalone >> mode, which is annoying as this is NOT the default. > > There may be a good reason why this is not the default - have you talked > t

Re: Using debconf-set-selections in my package script

2008-08-29 Thread Neil Williams
On Fri, 2008-08-29 at 15:37 +0800, Thomas Goirand wrote: > Hi, > > My package depends pure-ftpd, but only when it's using the standalone > mode, which is annoying as this is NOT the default. There may be a good reason why this is not the default - have you talked to the pure-ftpd maintainer(s) ?

Re: Using debconf-set-selections in my package script

2008-08-29 Thread Vincent Bernat
ory or using some helper application like "a2enmod" for Apache. I suggest that you get in touch with pure-ftpd maintainer to get his mood on this. I suppose that using debconf-set-selections could be used after a debconf question. In the meanwhile, you can just add a note in README

Using debconf-set-selections in my package script

2008-08-29 Thread Thomas Goirand
Hi, My package depends pure-ftpd, but only when it's using the standalone mode, which is annoying as this is NOT the default. Am I allowed to use debconf-set-selections somewhere in my package script to set it correctly? If yes, where's the correct place? I guess in the debian/config scripts? Tho

Re: some problems using debconf

2007-10-04 Thread Bernd Zeimetz
Hi, > I'm currently packaging some webservice which needs a database backend > and therefor I'd like to ask the user via debconf for mandatory things > like hostname, username, etc. look into dbconfig-common, it'll probably provide what you're looking for. Cheers, Bernd -- Bernd Zeimetz <[EM

some problems using debconf

2007-10-02 Thread Bjoern Boschman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm currently packaging some webservice which needs a database backend and therefor I'd like to ask the user via debconf for mandatory things like hostname, username, etc. Unfortunatelly debconf does not seem to like me =) I get the following er

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Colin Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Russ, >> The problem is, as indicated in the comments, I wanted to use a "note" >> template to warn / email the user if the credentials were wrong, before >> trying to do what I could. Adding the input causes a lintian warning. > > Other people ha

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Russ Allbery
Colin Turner <[EMAIL PROTECTED]> writes: > 2. Using debconf to notify in postinst > Part of the install is to create a database with given credentials and > import a schema. I have debconf prompting for values and I'm > successfully using these in the postinst script. >

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Colin Turner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Roberto, Roberto C. Sánchez wrote: > On Fri, Mar 23, 2007 at 01:42:30PM +, Colin Turner wrote: >> 2. Using debconf to notify in postinst >> > Hi. I'm not sure of the details of your software (I've not looked a

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Roberto C . Sánchez
On Fri, Mar 23, 2007 at 01:42:30PM +, Colin Turner wrote: > > 2. Using debconf to notify in postinst > > Part of the install is to create a database with given credentials and > import a schema. I have debconf prompting for values and I'm > successfully using these

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Colin Turner
ing. Super, thanks for clearing that up. I have my own upstream location I can use, and I'll add such tarballs there. >> 2. Using debconf to notify in postinst >> >> Part of the install is to create a database with given credentials and >> import a schema. I have

Re: Using debconf to notify of serious postinst problems

2007-03-23 Thread Neil Williams
(something based on dpkg or apt or only functional with .deb files etc.), then you can consider a native package, hosted at e.g. alioth and then you do keep the debian/ with the package. > 2. Using debconf to notify in postinst > > Part of the install is to create a database with given cred

Using debconf to notify of serious postinst problems

2007-03-23 Thread Colin Turner
ian, since I am the upstream author too. It seems clear that Debian still wants an original tarball created. Should I strip the "debian" directory from my source code when creating the tarball? 2. Using debconf to notify in postinst Part of the install is to create a database with given

Re: Using DebConf

2000-06-06 Thread peter karlsson
Fri, 26 May 2000 (>> = Joey Hess, > = me): >> Have you perhaps picked the noninteractive frontend? > No, all other packages I install go through the dialog frontend. > I'll have to test it on another machine, though, there might be some crud > left from all the testing. Seems to be user error af

Re: Using DebConf

2000-05-26 Thread peter karlsson
Joey Hess: > Have you perhaps picked the noninteractive frontend? No, all other packages I install go through the dialog frontend. I'll have to test it on another machine, though, there might be some crud left from all the testing. -- \\// peter - http://www.softwolves.pp.se/ Statement con

Re: Using DebConf

2000-05-26 Thread Joey Hess
peter karlsson wrote: > Hmmm, now it seems to handle it, but it only sends the license agreement by > mail to root, it does not display it when I do 'dpkg --install'. This is > strange, since I've configure debconf to display all messages, and I set the > priority to high in the templates file. Ha

Re: Using DebConf

2000-05-26 Thread peter karlsson
Joey Hess: > You missed a "go;" at the end of the config script. Debconf builds up > items and does not prompt the user for any of them until told. Hmmm, now it seems to handle it, but it only sends the license agreement by mail to root, it does not display it when I do 'dpkg --install'. This is

Re: Using DebConf

2000-05-26 Thread Joey Hess
peter karlsson wrote: > db_input high /license || true > > to postinst That line does not appear in a postint. It's pointless, because there is no db_go to make it be displayed. Worse, the postinst should not be displaying stuff to the user, the config script should. , and added a very simple co

Using DebConf

2000-05-26 Thread peter karlsson
Hi! I'd like to use DebConf to show a license agreement on-screen when a certain package is installed. Currently, it is just shown by sending it to the pager, but that's not a good idea, and I want to use DebConf instead, if it's available. The problem is, I can't figure out how to actually displ