[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: debconf, output in installation scripts, and lintian



On 16-Apr-2001 Itai Zukerman wrote:
> Several times I've been bitten trying to fix packages with mysterious
> errors, only (some hours later) to come to the head-slapping
> realization that, say, a postinst script does an
> 
>   echo "Frizzing juggernauts..."
> 
> while a debconf frontend is active.  Is it possible to have lintian
> check for this and report an error?  (Or, does it already do this, but
> I just missed it in the debconf.desc?)
> 

it is possible for the debconf checks to do this -- if it sees you source
debconf, then disallow echo/printf/etc.

The problem is that some people have maintainer scripts that support debconf
but have fallback mechanisms when debconf is not installed.  These scripts will
trigger false alarms.



Reply to: