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

Re: code reuse in debian/package.config



* Russ Allbery <rra@debian.org>, 2014-12-28, 14:58:
The config script runs during a preinstall stage, before the package dependencies are installed. I think that you can work around this by having your internal packages use Pre-Depends for the package that provides your script library (instead of Depends).

Unfortunately, you can't. 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: