[pmg-devel] [PATCH pmg-api] add depdends on gpg

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Sep 5 16:24:13 CEST 2019


On 03.09.19 12:21, Stoiko Ivanov wrote:
> running `sa-update` without explicitly specifying '--no-gpg' invokes the `gpg`
> binary. PMG::API2::Spamassassin uses `sa-update` for updating spamassassin
> rulesets.
> 
> Since the functionality is broken when gpg is not installed (and we don't want
> to disable gpg-verification by default) this patch adds gpg as Depends.

as proxmox-spamassassin ships sa-updates, why not add there a Depends/Recommends?

> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> reported via form and also affects our current appliance-template:
> https://forum.proxmox.com/threads/error-gpg-required-but-not-found-it-is-not-recommended-but-you-can-use-sa-update-with-the-no-gpg-to-skip-the-verification.57565/
> 
>  debian/control | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/debian/control b/debian/control
> index 1b19b9f..8751fa6 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -41,6 +41,7 @@ Depends: apt,
>           clamdscan,
>           fetchmail,
>           fonts-font-awesome,
> +         gpg,
>           libapt-pkg-perl,
>           libarchive-perl,
>           libarchive-zip-perl,
> 




More information about the pmg-devel mailing list