For many years, Debian had something not existing in many other distributions - way to configure packages, when installing. Another approach to not allow to configure packages, while installing is better in many ways, but lacks for many people.
The idea is about how to connect both world:
- Allow to configure applications/packages, before or after installing it
- Force normal packages to been configured by default
I decided to install MySQL, but don’t know how to configure it, so I select “Configure before install” option. Package manager will read link to pre-configure script and post-configre script and run pre-configure script. After launch it, I can configure mysql and check PhpMyAdmin to install. After installation done, system will run post-configure scirpt.
Use case 2:
I decided to install Mysql. Install it in normal way. After all I don’t know how to configure it, so I run package manager, search for Mysql package (installed) and click configure option.
How to handle situation, when user change configuration by hand and will run configure scripts? Introduce new script, to convert distro dependent configuration into pre-configure understood format?