Comments

helmo created an issue. See original summary.

helmo’s picture

Status: Active » Needs review
Related issues: +#2816901: Debian PGP key has expired
FileSize
1.59 KB

After searching for an example I took https://anonscm.debian.org/gitweb/?p=pkg-exppsy/neurodebian.git to create this patch.

This needs more though and testing though.
Adding aegir-archive-keyring as a dependency will stop some auto-upgrading systems.

helmo’s picture

Status: Needs review » Needs work
FileSize
1.31 KB

Maybe depends should be suggests...

Setting up aegir-archive-keyring (3.11) ...
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package aegir-archive-keyring)
Warning: 'apt-key update' is deprecated and should not be used anymore!
Note: In your distribution this command is a no-op and can therefore be removed safely.

Based on feedback from anarcat I removed the .postinst part of the patch. and Renamed the key.

But installing this doesn't actually install the key to etc/apt/trusted.gpg.d ???

helmo’s picture

FileSize
27.79 KB
helmo’s picture

Status: Needs work » Needs review
FileSize
2.03 KB

Anarcat helped in irc .. this should to it. Combined with a sources.list version like deb [signed-by=/usr/share/keyrings/aegir-archive-keyring.gpg] https://debian.aegirproject.org stable main

helmo’s picture

helmo’s picture

I've committed this now to the provision git repo.
This should make it possible to test it using our unstable .deb repo.

Steps to test: