The officially official Devuan Forum!

You are not logged in.

#1 Today 14:56:08

webman
Member
Registered: 2022-08-27
Posts: 60  

cannot install devuan container -- the public key is not available

Hello !

I installed a lxc-container, but I cannot install software in it.
I am doing it on a debian host (debian 11, kernel 6.1).
Because I need basic software (like nano), after setting up the container, I usually install same packages (like nano) using
chroot and start with apt update:

chroot /var/lib/lxc/devu5t2/rootfs apt update

But this failes with this message:

Get:1 http://deb.devuan.org/merged daedalus InRelease [43.0 kB]
Get:2 http://deb.devuan.org/merged daedalus-updates InRelease [32.7 kB]
Err:1 http://deb.devuan.org/merged daedalus InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94532124541922FB
Err:2 http://deb.devuan.org/merged daedalus-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94532124541922FB
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.devuan.org/merged daedalus InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94532124541922FB
W: GPG error: http://deb.devuan.org/merged daedalus-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 94532124541922FB
E: The repository 'http://deb.devuan.org/merged daedalus-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

How can I proceed?
This is - sad to say - not really new to me and seems to show a peristent bug.
Edit:
The keyring is installed:

$ acp devuan-keyring
devuan-keyring:
  Installed: 2023.05.28
  Candidate: 2023.05.28

BTW, this shows (over and over again), that a secure OS requires direct internet access:
GPG has to proxy configuration, an "open pain".

Some help would be great!

Thanks,
Manfred

Last edited by webman (Today 15:02:58)

Offline

#2 Today 17:30:11

kapqa
Member
Registered: 2019-01-02
Posts: 668  

Re: cannot install devuan container -- the public key is not available

Hello Manfred,

you could try this approach which has helped me install drivers for my graphic card;

i thinkg you can install it with another name if you so like (instead of "amdgpu")

there use to be tool "apt-key" or "add-apt-key" or similar, but that is no longer funciton.

this command found on github, it does function also for devuan.

sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 9386B48A1A693C5C
sudo gpg --export --armor 9386B48A1A693C5C | sudo tee /etc/apt/trusted.gpg.d/amdgpu.asc

just insert your key, and it could be ready to go, hopefully.

Online

Board footer