Raspberry Pi fresh install problems

224 views
Skip to first unread message

Rich Strle

unread,
Feb 2, 2024, 11:11:40 AM2/2/24
to weewx-user
Hello, this is on a fresh Raspberry Pi 3 model B+ OS install. I'm following the instructions and I ran into problems. I found the NO_PUBKEY issue and updated it with:

wget -qO - https://weewx.com/keys-old.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
File '/etc/apt/trusted.gpg.d/weewx.gpg' exists. Overwrite? (y/N) y

No joy, when I do: sudo apt install weewx

I end up with: Unable to locate package weewx

I'm out of ideas.

vp2pi@rpivp2:~ $ wget -qO - 
https://weewx.com/keys.html | \
    sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
vp2pi@rpivp2:~ $ echo "deb [arch=all] https://weewx.com/apt/python3 buster main" | \
    sudo tee /etc/apt/sources.list.d/weewx.list
deb [arch=all] https://weewx.com/apt/python3 buster main
vp2pi@rpivp2:~ $ sudo apt update
sudo apt install weewx
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15.0 kB]
Get:2 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB]
Get:3 https://weewx.com/apt/python3 buster InRelease [3,614 B]                 
Get:4 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages [13.2 MB]
Get:5 http://archive.raspberrypi.org/debian bullseye/main armhf Packages [313 kB]
Err:3 https://weewx.com/apt/python3 buster InRelease             
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FCCF0E2B09E
Reading package lists... Done                                                  
W: GPG error: https://weewx.com/apt/python3 buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FCCF0E2B09E
E: The repository 'https://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.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package weewx

vp2pi@rpivp2:~ $ wget -qO - https://weewx.com/keys-old.html | sudo gpg --dearmor --output /etc/apt/trusted.gpg.d/weewx.gpg
File '/etc/apt/trusted.gpg.d/weewx.gpg' exists. Overwrite? (y/N) y

vp2pi@rpivp2:~ $ sudo apt install weewx
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package weewx

matthew wall

unread,
Feb 2, 2024, 11:18:16 AM2/2/24
to weewx-user
the gpg keys updated properly when you used keys-old.html

but you need to update your apt cache before your system can see the weewx debs

please do 'sudo apt update' before you 'sudo apt install weewx'

Rich Strle

unread,
Feb 2, 2024, 10:38:50 PM2/2/24
to weewx-user
You are correct sir! Thanks for your help.
Reply all
Reply to author
Forward
0 new messages