On Thu, Feb 03, 2005 at 09:19:05PM -0500, Joey Hess wrote:
> Colin Watson wrote:
> > I'm not sure if this is necessarily a bug, but it's a bit ugly:
> > 
> >   Jan 31 15:42:57 debconf: Obsolete command TITLE  called
> >   Jan 31 15:42:57 debconf: Obsolete command TITLE Apt configuration called
> > 
> > This is from running apt-setup in a chroot using the passthrough
> > frontend, with cdebconf as the real frontend. The first warning is from
> > Debconf::FrontEnd::init(), and the second from using db_settitle.
> > 
> > I can see that the first warning might be unavoidable; maybe we could
> > make cdebconf only warn on TITLE when it has a non-empty argument, or
> > something. For the second, though, I think passthrough could use
> > SETTITLE instead.
> 
> IIRC the reason we have a deprecation warning in cdebconf about TITLE is
> because we wanted to catch titles that were not localised in d-i. But it
> is possible to use TITLE outside d-i and localise it -- as debconf does,
> for example.

True.

> To make passthrough use SETTITLE we'd have to make it create a fake
> template or pretend there was one for subsequent DATA commands. This
> seems overly-complicated.

I would agree if the client were using TITLE, but in this case it isn't;
it's apt-setup doing 'db_settitle apt-setup/title'. Why would debconf
need to create a fake template when the client is already using
SETTITLE?

Cheers,

-- 
Colin Watson                                       [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to