[Pkg-sympa-devel] Bug#717435: sympa: fails to install if ca-certificates trigger has never been run

Andreas Beckmann anbe at debian.org
Sun Jul 21 14:03:23 UTC 2013


Dear ca-certificates maintainers,

On 2013-07-20 23:05, Andreas Beckmann wrote:
> Installing sympa in a minimal system using
>   apt-get install sympa
> fails, but changing this to
>   apt-get install ca-certificates
>   apt-get install sympa
> succeeds.
> 
> This seems to indicate that sympa depends on a successful run of the
> ca-certificates trigger *before* configuring sympa ... 

While this can be fixed with a Pre-Depends, I'm not sure whether this is
the correct approach. There might be more packages affected by similar
bugs in the future.

An alternative solution would be to have ca-certificates.postinst force
a trigger run (if that is possible), so that at least
ca-certificates.crt is available after ca-certificates has been
configured, but the final trigger run has not been performed, yet.
That should guarantee that a package may Depends: ca-certificates and
can use /etc/ssl/certs/ca-certificates.crt in its postinst. (I assume
that sympa tries to access this file, but have not verified this.)

I'm not sure whether fixing this via the triggers is actually possible,
IIRC the triggers are mainly for coordination with ca-certificates-java,
and this should not get broken in stable ...


Andreas

PS: there is pu request #717493 for adding the pre-depends to sympa



More information about the Pkg-sympa-devel mailing list