new install on RPi4 with PI OS

116 views
Skip to first unread message

sali...@gmail.com

unread,
Dec 2, 2021, 12:36:12 PM12/2/21
to weewx-user
hi,
I am installing weewx on my RPi of test with PI OS, but I have this error
wget -qO - https://weewx.com/keys.html | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK

an idea, I think install beta version 4.6.0b7

Patrick

Rainer Lang

unread,
Dec 2, 2021, 12:52:19 PM12/2/21
to weewx...@googlegroups.com, sali...@gmail.com
The "error" is not an error but a warning - and it just means what it says
that apt-key will no longer be used in linux installations but will/can be replaced
by trusted.gpd.d.
This will become effective 2022-April.

It has nothing to do with the weewx version you are installing (except for the instructions)

The documentation for weewx downloads should be updated accordingly.
--
You received this message because you are subscribed to the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/15ecd586-261c-42c4-b94f-4713b559de0fn%40googlegroups.com.


salinois

unread,
Dec 2, 2021, 1:04:41 PM12/2/21
to weewx...@googlegroups.com

ok thanks Rainer

vince

unread,
Dec 2, 2021, 1:17:28 PM12/2/21
to weewx-user
I opened PR-719 with the newer command for importing the key.  Tests ok on debian-10.

salinois

unread,
Dec 3, 2021, 12:28:12 PM12/3/21
to weewx...@googlegroups.com

hello Vince,

so if i do this command: sudo apt-get update && sudo apt-get -y install gpg

after I can use : wget -qO - https://weewx.com/keys.html | sudo apt-key add -

Patrick

vince

unread,
Dec 3, 2021, 12:58:27 PM12/3/21
to weewx-user
If you are running Raspbian you probably have gpg already installed.   You can check with "gpg --version".

But yes, if you need to install gpg that is how to do it.

salinois

unread,
Dec 3, 2021, 2:11:12 PM12/3/21
to weewx...@googlegroups.com

yes I have gpg

pi@raspberrypi-p4:~ $ gpg --version
gpg (GnuPG) 2.2.27
libgcrypt 1.8.8
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/pi/.gnupg
Algorithmes pris en charge :
Clef publique : RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Chiffrement : IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256,
              TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256
Hachage : SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression : Non compressé, ZIP, ZLIB, BZIP2

so, I don't need to execute the line: wget -qO - https://weewx.com/keys.html | sudo apt-key add -

patrick

You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/s_T3haCI4Ao/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a92eaeab-7b8c-4973-beac-a1b957c90024n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages