E: Unable to locate package weewx </pre>

348 views
Skip to first unread message

zaax

unread,
Mar 26, 2021, 9:53:24 AM3/26/21
to weewx-user
Hi,

Try to instal and I'm getting E: Unable to locate package weewx

Please advise

Dave Webb KB1PVH

unread,
Mar 26, 2021, 10:03:09 AM3/26/21
to weewx...@googlegroups.com
Could probably list a bunch of reasons but would be speculation without some insight on what you have tried. 

Dave - KB1PVH




Sent from my Galaxy S21

--
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/06e985be-6262-4dfe-bd6a-0336fe8cf451n%40googlegroups.com.

zaax

unread,
Mar 26, 2021, 10:20:14 AM3/26/21
to weewx-user
Not to sure what you mean

but I followed the instructions on installing and thats what I got

steve@steve-Swift-SF114-32:~$ sudo apt-get install weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done

E: Unable to locate package weewx
steve@steve-Swift-SF114-32:~$ wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
deb [arch=all] http://weewx.com/apt/python3 buster main
steve@steve-Swift-SF114-32:~$ sudo apt-get install weewx
Reading package lists... Done
Building dependency tree       
Reading state information... Done

E: Unable to locate package weewx

Dave Webb KB1PVH

unread,
Mar 26, 2021, 10:30:30 AM3/26/21
to weewx...@googlegroups.com

Configure apt

Tell apt where to find the WeeWX releases. This only has to be done once - the first time you install WeeWX.

Tell your system to trust weewx.com:
wget -qO - https://weewx.com/keys.html | sudo apt-key add -
For Debian10 and later, use python3:
wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list
For Debian9 and earlier, use python2:
wget -qO - https://weewx.com/apt/weewx-python2.list | sudo tee /etc/apt/sources.list.d/weewx.list

Install

Use apt-get to install WeeWX. The installer will prompt for a location, latitude/longitude, altitude, station type, and parameters specific to your station hardware.

sudo apt-get update
sudo apt-get install weewx

Dave - KB1PVH




Sent from my Galaxy S21

vince

unread,
Mar 26, 2021, 11:30:54 AM3/26/21
to weewx-user
You didn't follow the instructions.

1. add the key to trust the weewx package
2. add the repository to be able to install from the weewx repository
3. update your system's knowledge of what is in the weewx repository
4. install the package

You didn't do step 3.

You need to do the apt-get update before doing the apt-get install.
Reply all
Reply to author
Forward
0 new messages