[Dbconfig-common-devel] Re: dbconfig-common and shared db data

Joachim Breitner nomeata at debian.org
Tue Dec 19 23:36:07 CET 2006


Hi,

Am Dienstag, den 19.12.2006, 15:23 -0500 schrieb sean finney:
> hey joachim,
> 
> On Tue, 2006-12-19 at 16:53 +0000, Joachim Breitner wrote:
> > 1. install decaf-workstation
> > 2. install decaf-db
> > 3. purge decaf-workstation
> > 4. purge decaf-db
> > 
> > Now dbc seems to be very confused: It even asks me for the administrator
> > password of the postgresql server, which of course does not exists, and
> > causes the purge to fail.
> 
> > Does this mean that I can’t use regular and frontend configuration with
> > shared values on the same machine, or am I doing something wrong, or is
> > it a bug?
> 
> it you're using the frontend hooks, it shouldn't ask you about purging
> the database from a frontend package.  if this is what's happening
> i'd guess it was a bug, though i'd need to see it for myself to be sure.
> care to post your source packages?

Well, it does only ask for removing the database when purging the
non-frontend package (decaf-db), and it works _unless_ the frontend
packages (decaf-workstation) will be purged before that.

> in the meantime, you can try exporting dbc_debug=insane when you purge
> the package, and it should give you lots and lots of sh -x output which
> might help track down where the problem is.

My assumption is that a purge of the frontend package, which uses the
same prefix for the debconf questions, removes some entries there that
then confuse the postrm of decaf-db. 

I’ll have a closer look tomorrow. You can find the relevant files here:
http://svn.debian.org/wsvn/decaf/trunk/debian/

Thanks,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: joachimbreitner at amessage.de | http://people.debian.org/~nomeata




More information about the Dbconfig-common-devel mailing list