Debian Buster Installation Fails.

179 views
Skip to first unread message

Michael McClane

unread,
Aug 9, 2020, 12:58:35 PM8/9/20
to weewx-user
Followed all the instructions but sudo apt-get install weewx returns  E: unable to locate package weewx.

Jamie Stephens

unread,
Aug 9, 2020, 1:04:17 PM8/9/20
to weewx...@googlegroups.com
Did you add weewx to the trusted sources? 

On Sun, Aug 9, 2020 at 12:58 PM Michael McClane <mrm...@gmail.com> wrote:
Followed all the instructions but sudo apt-get install weewx returns  E: unable to locate package weewx.








--


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/40398a48-22d1-4fc7-bdd8-b577adfbc77eo%40googlegroups.com.


gjr80

unread,
Aug 9, 2020, 4:38:44 PM8/9/20
to weewx-user
Hi,

Would help if you copy/paste the exact commands you entered and their response.

Gary

Michael McClane

unread,
Aug 10, 2020, 7:11:47 AM8/10/20
to weewx-user
Here it is


root@Buster:/home/mrmccla# wget -qO - http://weewx.com/keys.html |sudo apt-key add -
OK
roor@Buster: wget -qO - http://wewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
root@Buster:/home/mrmccla# sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://mirror.steadfast.net/debian buster InRelease
Hit:3 http://mirror.steadfast.net/debian buster-updates InRelease
Reading package lists... Done
root@Buster:/home/mrmccla# sudo apt-get install weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package weewx



root@Buster:/etc/apt# ls
apt.conf.d      sources.list             sources.list.save    trusted.gpg.d
auth.conf.d      sources.list~             sources.old
listchanges.conf  sources.list.d         trusted.gpg
preferences.d      sources.list.d.weewx.list  trusted.gpg~

Greg from Oz

unread,
Aug 10, 2020, 7:22:58 AM8/10/20
to weewx-user
You have to run the next line as well:
wget -qO - http://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list

sudo apt-get update
sudo apt-get install weewx

Mike McClane

unread,
Aug 10, 2020, 7:33:59 AM8/10/20
to weewx...@googlegroups.com
I’m confused. I ran:

wget - keys
wget - python3
apt-get update
apt-get install

What line did I miss

--
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.

Greg from Oz

unread,
Aug 10, 2020, 7:53:03 AM8/10/20
to weewx-user
You didn't miss any I did.....
I am confused...
I missed the python line in your post.

Is this: deb [arch=all] http://weewx.com/apt/python3 buster main
really in the weewx.list file?

It's strange it doesn't work.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

Greg from Oz

unread,
Aug 10, 2020, 8:11:14 AM8/10/20
to weewx-user
I just created a debian buster virtual machine and ran the commands and it worked and installed fine.

Tom Keffer

unread,
Aug 10, 2020, 8:23:24 AM8/10/20
to weewx-user
Two things to try:

1. Check that weewx.com is in your sources directory:

ls -l /etc/apt/sources.list.d

You should see 'weewx.list'

2. See if apt knows about weewx:

apt show weewx

Post the results

-tk

Mike McClane

unread,
Aug 10, 2020, 10:46:12 AM8/10/20
to weewx...@googlegroups.com
weewx.list is in /etc/apt/sources.list.d

apt show weewx  returns

N: Unable to locate package weewx
N: Unable to locate package weewx
E: No packages found


Which is weird as the results  of:
roor@Buster: wget -qO - http://wewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
root@Buster:/home/mrmccla# sudo apt-get update
Hit:1 http://security.debian.org buster/updates InRelease
Hit:2 http://mirror.steadfast.net/debian buster InRelease
Hit:3 http://mirror.steadfast.net/debian buster-updates InRelease
Reading package lists... Done

give the appearance of finding the information.

Mike

Mike McClane

unread,
Aug 10, 2020, 10:55:46 AM8/10/20
to weewx...@googlegroups.com
This may be the problem

deb {arch=all} http://weewx.com/apt/python2 buster main is in the file.  instead python3!  I assume that I can delete the file and try to retrieve the python3 version.

Mike

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/cf0825fb-c5c7-4b02-b3be-9e60924ba4f1o%40googlegroups.com.

Tom Keffer

unread,
Aug 10, 2020, 5:39:34 PM8/10/20
to weewx-user
Yes, you can delete weewx.list and start all over. But, the presence of python2 (instead of python3) does not explain your symptoms: it should still be able to locate the weewx package. 

The symptoms are more consistent with not having done the "sudo apt update" step. But, you say you did this.

-tk

Michael McClane

unread,
Aug 11, 2020, 1:15:32 PM8/11/20
to weewx-user
Followed the exact same steps.  It worked this time loading the proper version python.


On Sunday, August 9, 2020 at 1:04:17 PM UTC-4, Jamie Stephens wrote:
Did you add weewx to the trusted sources? 
On Sun, Aug 9, 2020 at 12:58 PM Michael McClane <mrm...@gmail.com> wrote:
Followed all the instructions but sudo apt-get install weewx returns  E: unable to locate package weewx.








--


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...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages