Re: [weewx-user] New Install - Debian 9 Stretch

2018-04-12 Thread Michael9778
I had the same problem, searched and tried dozens of threads, the "su -" vs 
"su" made all the difference!

On Thursday, 9 November 2017 13:45:58 UTC-8, Glenn McKechnie wrote:
>
> Dave, 
>
> Try using su - rather than just su. Note the dash (-) after su, that 
> dash fully sets your environment for root which should help with the 
> gpg issue and the remaining errors to disappear. 
>
> Don't worry about the squeeze line in the weewx repo , it should work 
> regardless. 
> Cheers 
>  Glenn 
>
> rorpi - read only raspberry pi & various weewx addons 
> https://github.com/glennmckechnie 
>
>
> On 10 November 2017 at 08:31, Dave Walker  > wrote: 
> > 
> > My new install on a Debian 9 PC is off to a rocky start. I used the 
> > instructions at the link below: 
> > 
> > http://www.weewx.com/docs/debian.htm 
> > 
> > Sudo is not installed in a fresh version of Debian 9, so I began as 
> root. 
> > 
> > davew@debian:~$ su 
> > Password: 
> > root@debian:/home/davew# wget -qO - http://weewx.com/keys.html | apt- 
> > key add - 
> > gpg: keydb_get_keyblock failed: Value not found 
> > gpg: keydb_get_keyblock failed: Value not found 
> > root@debian:/home/davew# wget -qO - http://weewx.com/keys.html | sudo 
> > apt-key add - 
> > gpg: keydb_get_keyblock failed: Value not found 
> > gpg: keydb_get_keyblock failed: Value not found 
> > root@debian:/home/davew# wget -qO - http://weewx.com/apt/weewx.list | 
> > sudo tee /etc/apt/sources.list.d/weewx.list 
> > deb [arch=all] http://weewx.com/apt/ squeeze main 
> > 
> > root@debian:/home/davew# whoami 
> > root 
> > root@debian:/home/davew# apt-get update 
> > Ign:1 http://ftp.ca.debian.org/debian stretch 
> > InRelease 
> > Hit:2 http://ftp.ca.debian.org/debian stretch-updates 
> > InRelease 
> > Hit:3 http://security.debian.org/debian-security stretch/updates 
> > InRelease 
> > Hit:4 http://ftp.ca.debian.org/debian stretch 
> > Release 
> > Get:5 http://weewx.com/apt squeeze InRelease [2,537 
> > B] 
> > Ign:5 http://weewx.com/apt squeeze 
> > InRelease 
> > 
> > Get:7 http://weewx.com/apt squeeze/main all Packages [2,581 
> > B] 
> > Fetched 5,118 B in 7s (730 
> > B/s) 
> > 
> > Reading package lists... Done 
> > W: http://ftp.ca.debian.org/debian/dists/stretch-updates/InRelease: The 
> > key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is 
> > not readable by user '_apt' executing apt-key. 
> > W: http://security.debian.org/debian-security/dists/stretch/updates/InR 
> > elease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as 
> > the file is not readable by user '_apt' executing apt-key. 
> > W: http://ftp.ca.debian.org/debian/dists/stretch/Release.gpg: The 
> > key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is 
> > not readable by user '_apt' executing apt-key. 
> > W: http://weewx.com/apt/dists/squeeze/InRelease: The key(s) in the 
> > keyring /etc/apt/trusted.gpg are ignored as the file is not readable by 
> > user '_apt' executing apt-key. 
> > W: GPG error: http://weewx.com/apt squeeze InRelease: The following 
> > signatures couldn't be verified because the public key is not 
> > available: NO_PUBKEY ED444FCCF0E2B09E 
> > W: The repository 'http://weewx.com/apt squeeze InRelease' is not 
> > signed. 
> > N: Data from such a repository can't be authenticated and is therefore 
> > potentially dangerous to use. 
> > N: See apt-secure(8) manpage for repository creation and user 
> > configuration details. 
> > 
> > 
> > It appears that Weewx is expecting access to the squeeze repository. but 
> I 
> > am running stretch?? 
> > 
> > Can anybody set me on the right path. I sure didn't get far on my own. 
> Help 
> > would be appreciated! 
> > 
> > Dave W. 
> > 
> > -- 
> > 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 . 
> > 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.


Re: [weewx-user] New Install - Debian 9 Stretch

2017-11-09 Thread Glenn McKechnie
Dave,

Try using su - rather than just su. Note the dash (-) after su, that
dash fully sets your environment for root which should help with the
gpg issue and the remaining errors to disappear.

Don't worry about the squeeze line in the weewx repo , it should work
regardless.
Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie


On 10 November 2017 at 08:31, Dave Walker  wrote:
>
> My new install on a Debian 9 PC is off to a rocky start. I used the
> instructions at the link below:
>
> http://www.weewx.com/docs/debian.htm
>
> Sudo is not installed in a fresh version of Debian 9, so I began as root.
>
> davew@debian:~$ su
> Password:
> root@debian:/home/davew# wget -qO - http://weewx.com/keys.html | apt-
> key add -
> gpg: keydb_get_keyblock failed: Value not found
> gpg: keydb_get_keyblock failed: Value not found
> root@debian:/home/davew# wget -qO - http://weewx.com/keys.html | sudo
> apt-key add -
> gpg: keydb_get_keyblock failed: Value not found
> gpg: keydb_get_keyblock failed: Value not found
> root@debian:/home/davew# wget -qO - http://weewx.com/apt/weewx.list |
> sudo tee /etc/apt/sources.list.d/weewx.list
> deb [arch=all] http://weewx.com/apt/ squeeze main
>
> root@debian:/home/davew# whoami
> root
> root@debian:/home/davew# apt-get update
> Ign:1 http://ftp.ca.debian.org/debian stretch
> InRelease
> Hit:2 http://ftp.ca.debian.org/debian stretch-updates
> InRelease
> Hit:3 http://security.debian.org/debian-security stretch/updates
> InRelease
> Hit:4 http://ftp.ca.debian.org/debian stretch
> Release
> Get:5 http://weewx.com/apt squeeze InRelease [2,537
> B]
> Ign:5 http://weewx.com/apt squeeze
> InRelease
>
> Get:7 http://weewx.com/apt squeeze/main all Packages [2,581
> B]
> Fetched 5,118 B in 7s (730
> B/s)
>
> Reading package lists... Done
> W: http://ftp.ca.debian.org/debian/dists/stretch-updates/InRelease: The
> key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is
> not readable by user '_apt' executing apt-key.
> W: http://security.debian.org/debian-security/dists/stretch/updates/InR
> elease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as
> the file is not readable by user '_apt' executing apt-key.
> W: http://ftp.ca.debian.org/debian/dists/stretch/Release.gpg: The
> key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is
> not readable by user '_apt' executing apt-key.
> W: http://weewx.com/apt/dists/squeeze/InRelease: The key(s) in the
> keyring /etc/apt/trusted.gpg are ignored as the file is not readable by
> user '_apt' executing apt-key.
> W: GPG error: http://weewx.com/apt squeeze InRelease: The following
> signatures couldn't be verified because the public key is not
> available: NO_PUBKEY ED444FCCF0E2B09E
> W: The repository 'http://weewx.com/apt squeeze InRelease' is not
> signed.
> N: Data from such a repository can't be authenticated and is therefore
> potentially dangerous to use.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
>
>
> It appears that Weewx is expecting access to the squeeze repository. but I
> am running stretch??
>
> Can anybody set me on the right path. I sure didn't get far on my own. Help
> would be appreciated!
>
> Dave W.
>
> --
> 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.