The option is "O", not "0". So, you want wget -qO - http://weewx.com/keys.html | sudo apt-key add -
not wget -q0 - http://weewx.com/keys.html | sudo apt-key add - -tk On Wed, Nov 8, 2017 at 7:07 AM, 'Stefan Gö' via weewx-user < weewx-user@googlegroups.com> wrote: > Hi together, > I would like to install the weewx software to my Raspian system. > According to the user manual <http://weewx.com/docs/debian.htm> I first > need to Configure apt like this: > If I put these lines inside my Raspian concole I get following errors: > > pi@ei-dev-005:~ $ wget -q0 - http://weewx.com/keys.html | sudo apt-key > add - > wget: invalid option -- '0' > Usage: wget [OPTION]... [URL]... > Try `wget --help' for more options. > gpg: no valid OpenPGP data found. > > pi@ei-dev-005:~ $ wget -q0 - http://weewx.com/apt/weewx.list | sudo tee > /etc/apt/sources.list.d/weewx.list > wget: invalid option -- '0' > Usage: wget [OPTION]... [URL]... > > Try `wget --help' for more options. > pi@ei-dev-005:~ $ > > > > How can I fix this problem? > > Tanks from bavaria, germany! > Stefan > > > > -- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.