Re: Adding a Pre-Depends on debconf in console-common?
On Mon, Apr 22, 2002 at 11:13:54AM +0200, Santiago Vila wrote:
> On Mon, 22 Apr 2002, Colin Watson wrote:
> > On Mon, Apr 22, 2002 at 10:37:58AM +0200, Santiago Vila wrote:
> > > AFAIK, most packages which use debconf work ok when debconf is not
> > > installed.
> >
> > This one does '. /usr/share/debconf/confmodule' (as do most of them, in
> > fact). Unless I miss my guess, that'll return an error when debconf is
> > not installed.
>
> In such case I don't see the need for a Pre-Depends.
Sorry? The preinst will fail with exit status 1 if debconf is not
installed, therefore clearly needs it, and must either be changed to not
require it or else have the pre-dependency added.
> > Relatively few packages bother to adjust their behaviour depending on
> > whether debconf is or isn't installed these days.
>
> Well, those who blindly assume debconf is installed without using a
> depends are buggy and should be fixed.
That is exactly the case here.
--
Colin Watson [cjwatson@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: