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. 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. Maybe just remove the deprecation warning in cdebconf? -- see shy jo
signature.asc
Description: Digital signature