A04 update problem NO_PUBKEY

I ran into a problem with the new A04 image file after booting it. The update failed with:
cpi@clockworkpi-a04:~$ sudo apt update
Hit:5 Files... scar InRelease
Get:6 https://raw.githubusercontent.com/clockworkpi/apt/main/debian stable InRelease [5,408 B]
Hit:7 http://ports.ubuntu.com jammy InRelease
Get:2 https://cli.github.com/packages stable InRelease [3,917 B]
Get:8 http://ports.ubuntu.com jammy-security InRelease [110 kB]
Hit:1 https://box64.debian.ryanfortner.dev/debian ./ InRelease
Hit:4 https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium InRelease
Get:9 http://ports.ubuntu.com jammy-updates InRelease [114 kB]
Get:3 armbian安装包下载_开源镜像站-阿里云 jammy InRelease [22.0 kB]
Get:10 http://ports.ubuntu.com jammy-backports InRelease [99.8 kB]
Err:2 https://cli.github.com/packages stable InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
Get:11 armbian安装包下载_开源镜像站-阿里云 jammy/jammy-utils arm64 Packages [30.4 kB]
Get:12 armbian安装包下载_开源镜像站-阿里云 jammy/jammy-desktop arm64 Packages [59.4 kB]
Hit:13 Index of /saiarcot895/chromium-beta/ubuntu jammy InRelease
Hit:14 Index of /mozillateam/ppa/ubuntu jammy InRelease
Get:15 armbian安装包下载_开源镜像站-阿里云 jammy/main arm64 Packages [473 kB]
Hit:16 Index of /oibaf/graphics-drivers/ubuntu jammy InRelease
Get:17 armbian安装包下载_开源镜像站-阿里云 jammy/main armhf Packages [277 kB]
Get:18 armbian安装包下载_开源镜像站-阿里云 jammy/jammy-utils armhf Packages [29.3 kB]
Get:19 armbian安装包下载_开源镜像站-阿里云 jammy/jammy-desktop armhf Packages [14.3 kB]
Fetched 1,235 kB in 25s (48.7 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
8 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://cli.github.com/packages stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
W: Failed to fetch http://cli.github.com/packages/dists/stable/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
W: Some index files failed to download. They have been ignored, or old ones used instead.

Not being too bright I tried using the Internet techniques to no avail. I did notice that the github URL does not identify the specific software package for updating. Can someone provide the proper commands to correct this situation, not just for me but for others who may run into the same situation?

sudo rm -rf /etc/apt/sources.list.d/githubcli.list
sudo apt update

done

1 Like

Thanks for your prompt response! It worked. I take it from this the source associated with the link wasn’t necessary