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

Re: Maintainer scripts, debconf and Python



* Andrey Rahmatullin <wrar@debian.org>, 2015-06-09, 22:05:
E: tilelite: forbidden-config-interpreter #!/usr/bin/python

https://lintian.debian.org/tags/forbidden-config-interpreter.html

This says that the config script can only count on essential packages being installed, which directly contradicts Policy section 6.5, which says that Pre-Depends may be assumed to be available.
ITYM 7.2.

§6.2 doesn't say anything about config scripts, and neither does §7.2.

OTOH, debconf-devel(7) says:
“Note that the config script is run before the package is unpacked. It should only use commands that are in essential packages. The only dependency of your package that is guaranteed to be met when its config script is run is a dependency (possibly versioned) on debconf itself.”

--
Jakub Wilk


Reply to: