LXC ArchLinux not updating - key from keyring cannot be imported

lxc

#1

pacman -Syu producing

Summary

checking keys in keyring [##########################################] 100%
warning: Public keyring not found; have you run ‘pacman-key --init’?
downloading required keys…
error: key “77193F152BDBE6A6” could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

then running pacman-key --init

Summary

gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from ‘/etc/pacman.d/gnupg/secring.gpg’ to gpg-agent
gpg: migration succeeded
gpg: Generating pacman keyring master key…
gpg: key 1C12242992260631 marked as ultimately trusted
gpg: directory ‘/etc/pacman.d/gnupg/openpgp-revocs.d’ created
gpg: revocation certificate stored as ‘/etc/pacman.d/gnupg/openpgp-revocs.d/D4675FE5FB6A900CDFA6CECD1C12242992260631.rev’
gpg: Done
==> Updating trust database…
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u

and again pacman -Syu

Summary

checking keys in keyring [##########################################] 100%
downloading required keys…
:: Import PGP key 4096R/68B3537F39A313B3E574D06777193F152BDBE6A6, “Arch Linux ARM Build System builder@archlinuxarm.org”, created: 2014-01-18? [Y/n] y
error: key “Arch Linux ARM Build System builder@archlinuxarm.orgcould not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

This happens on TOS RC 3.11.1 with

Summary

liblxc 1.1.5-15
luci-app-lxc 20160616-1
lxc 1.1.5-15
lxc-attach 1.1.5-15
lxc-auto 1.1.5-15
lxc-autostart 1.1.5-15
lxc-cgroup 1.1.5-15
lxc-checkconfig 1.1.5-15
lxc-clone 1.1.5-15
lxc-common 1.1.5-15
lxc-config 1.1.5-15
lxc-configs 1.1.5-15
lxc-console 1.1.5-15
lxc-create 1.1.5-15
lxc-destroy 1.1.5-15
lxc-device 1.1.5-15
lxc-execute 1.1.5-15
lxc-freeze 1.1.5-15
lxc-hooks 1.1.5-15
lxc-info 1.1.5-15
lxc-init 1.1.5-15
lxc-ls 1.1.5-15
lxc-lua 1.1.5-15
lxc-monitor 1.1.5-15
lxc-monitord 1.1.5-15
lxc-snapshot 1.1.5-15
lxc-start 1.1.5-15
lxc-stop 1.1.5-15
lxc-templates 1.1.5-15
lxc-unfreeze 1.1.5-15
lxc-unshare 1.1.5-15
lxc-user-nic 1.1.5-15
lxc-usernsexec 1.1.5-15
lxc-wait 1.1.5-15
rpcd-mod-lxc 20141012


#2

You are missing the last step - populating the keyring with the Archlinux masterkeys:

pacman-key --populate

After this the update should work correctly. See here: https://wiki.archlinux.org/index.php/Pacman/Package_signing#Initializing_the_keyring


#3

how often are the images get updated and may how smb ™ can help? @miska