I am trying to install wewx on Raspberry PI and fail at (almost) the first hurdle. Following the instructions I get as far as the " wget - qo - http://weewx.com/keys.html | sudo apt-key add" section and that fails with "no valid OpenPDP data found"

134 views
Skip to first unread message

Allan Robinson

unread,
Feb 6, 2021, 10:43:40 AM2/6/21
to weewx-user

Any suggestions?

Paul Eaton

unread,
Feb 6, 2021, 11:44:41 AM2/6/21
to weewx-user
Hi
I think you need an upper case letter O not a lower case o after the q
And it should be -qO no space after the dash and you need a dash at the end.
Best bet is to copy and paste the entry directly from the WeeWX installation instructions.
wget -qO - https://weewx.com/keys.html | sudo apt-key add -

Paul

On Saturday, 6 February 2021 at 15:43:40 UTC allanro...@gmail.com wrote:

Any suggestions?

Allan Robinson

unread,
Feb 6, 2021, 11:57:36 AM2/6/21
to weewx-user
Thank you very much Paul, that fixed it.

Allan Robinson

unread,
Feb 6, 2021, 12:55:02 PM2/6/21
to weewx-user
Hi Perhaps I spoke too soon...
Whilst your suggestion didn't return an error (Thanks again) "sudo apt-get install weewx" started normally but finally produced "E: Unable to locate package weewx"

vince

unread,
Feb 6, 2021, 1:24:28 PM2/6/21
to weewx-user
Please re-read the top of http://weewx.com/docs/debian.htm

There are 'four' commands you need to run.

Under 'configure apt':
* run the command under 'Tell your system to trust weewx.com'
* run the command under 'For Debian10 and later, use python3'

Under 'Install':
* run the first command there
* run the second command there

You didn't run all four commands.
Reply all
Reply to author
Forward
0 new messages