can't install weewx / public key is not available: NO_PUBKEY A0CB255B75BF977C

510 views
Skip to first unread message

David Schulz

unread,
Jan 12, 2024, 9:20:03 AM1/12/24
to weewx-user
hi,

i can't install weewx today.

wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
apt update

Hit:1 http://security.ubuntu.com/ubuntu mantic-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu mantic InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu mantic-updates InRelease
Get:4 http://weewx.com/apt/python3 buster InRelease [3907 B]
Hit:5 http://de.archive.ubuntu.com/ubuntu mantic-backports InRelease
Get:6 https://download.docker.com/linux/ubuntu mantic InRelease [48.8 kB]
Err:4 http://weewx.com/apt/python3 buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A0CB255B75BF977C
Reading package lists... Done
W: GPG error: http://weewx.com/apt/python3 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A0CB255B75BF977C
E: The repository 'http://weewx.com/apt/python3 buster 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.

Description:    Ubuntu 23.10
Release:        23.10
Codename:       mantic

matthew wall

unread,
Jan 12, 2024, 10:37:34 AM1/12/24
to weewx-user
On Friday, January 12, 2024 at 9:20:03 AM UTC-5 schulz....@gmail.com wrote:
hi,

i can't install weewx today.

wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
wget -qO - https://weewx.com/keys.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
apt update

please do this:

wget -qO - https://weewx.com/keys-old.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg

then do the apt update, etc.

we have an old SHA1 key that signed many of the releases, and i am in the middle of re-signing packages to make it all future-proof

David Schulz

unread,
Jan 12, 2024, 10:49:41 AM1/12/24
to weewx-user
it works, thx.
Reply all
Reply to author
Forward
0 new messages