[Pkg-roundcube-maintainers] Bug#617754: [Vincent Bernat] Re: Bug#617754: Non-interactive debconf setup of roundcube fails
Thomas Goirand
thomas at goirand.fr
Fri Mar 11 07:45:16 UTC 2011
On 03/11/2011 03:11 PM, Vincent Bernat wrote:
> Setting the default database to sqlite may fail also because the
> user may install roundcube-mysql and roundcube-core and have
> no mysql database configured on his host (and no valid sqlite
> installation as well).
Well, my solution gives a working path at least, with everything working
by default if you apt-get install roundcube-sqlite.
You can always leave the package unconfigured (but still with
installation completed) if running in non-interactive and
roundcube-mysql installed, and until user does a dpkg-reconfigure.
> This database choice question is a high priority question and
> policy allows to abort if there is no sensible default possible.
> This is the case. I can push sqlite first in the list but the
> installation may still fail.
No, the policy allows you to have a non-working package until it is
properly configured (in which case, I would advise to deny access to
roundcube with an error message when someone tries to browse it). But
the policy doesn't allow you to have a *broken* postinst that fails if
not configured.
In other words, you are allowed to install your package even if it wont
work as-is, without the administrator intervention. But not to break
dpkg/apt in the process!
Thomas
More information about the Pkg-roundcube-maintainers
mailing list