• Greg Olsen
  • lxc-devuan lxc-devuan
  • Issues
  • #4

Closed
Open
Opened 2017-12-12T04:31Z by punk @punk

Invalid signature key, unable to create an lxc-devuan ... SOLVED

When creating a new lxc-devuan container, it stops apparently because it has an Invalid Release signature key... maybe because I am using another repository "aprolla3" ... not really sure

I fixed it editing the line:

$ sudo nano /usr/share/lxc/templates/lxc-devuan

Greg Olsen 2016-05-04

- DEBOOTSTRAP OPTION is workaround for "Release signed by unknown key".

This tries hard to avoid the unknown key problem provided both the

DOWNLOAD_KEYRING and DEFAULT_NO_CHECK_GPG options are enabled (1).

DEBOOTSTRAP_OPTION="" if [[ -f /usr/share/keyrings/devuan-keyring.gpg ]]; then DEBOOTSTRAP_OPTION="--keyring=/usr/share/keyrings/devuan-keyring.gpg" elif [[ -f /etc/apt/trusted.gpg.d/devuan-keyring.gpg ]]; then DEBOOTSTRAP_OPTION="--keyring=/etc/apt/trusted.gpg.d/devuan-keyring.gpg" elif [[ -f /etc/share/keyrings/devuan-archive-keyring.gpg ]]; then DEBOOTSTRAP_OPTION="--keyring=/etc/apt/trusted.gpg.d/devuan-archive-keyring.gpg" elif ((DOWNLOAD_KEYRING)) ; then if [[ "$(id -u)" != "0" ]]; then echo "Must be root (sudo) to save /etc/apt/trusted.gpg.d/devuan-keyring.gpg"

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.