We need more information than "neither of these repositories work." What went wrong?
It's not a simple matter of replacing squeeze with buster. You also have to use a different URL. http://weewx.com/apt/python3, instead of http://weewx.com/apt/python2. Best to follow the instructions explicitly: dId you do the full "wget" command, *including the tee*? *wget -qO - http://weewx.com/apt/weewx-python3.list <http://weewx.com/apt/weewx-python3.list> | sudo tee /etc/apt/sources.list.d/weewx.list* This should be followed by update and install. If that doesn't work, please be explicit about what the problem is. -tk On Thu, Sep 17, 2020 at 12:39 AM Peter Whisker <[email protected]> wrote: > Hi, > I have been using weewx successfully for 18 months and am looking to move > from python2 to python3. I looked at http://www.weewx.com/docs/debian.htm > and although the instructions seem clear the end result fails to connect to > a valid repository. > > The commands add the following lines to the repository > root@network2:~# wget -qO - http://weewx.com/apt/weewx-python3.list > *deb [arch=all] http://weewx.com/apt/python3 > <http://weewx.com/apt/python3> buster main* > root@network2:~# wget -qO - http://weewx.com/apt/weewx-python2.list > *deb [arch=all] http://weewx.com/apt/python2 > <http://weewx.com/apt/python2> squeeze main* > root@network2:~# > > However neither of these repositories work. I have found that the line > *deb [arch=all] http://weewx.com/apt <http://weewx.com/apt> squeeze main * > works for the Python2 repository but replacing "squeeze" with "buster" > does not product a Python3 one. > > Could this get fixed (either documentation or repository) and also what is > the Python3 repository called please. > > Thanks > Peter > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/cbfd9082-2203-4183-aa6a-bace2f1f7360n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/cbfd9082-2203-4183-aa6a-bace2f1f7360n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEC7ho913bHRnF3dEQzmEWYMMasoA_Sbr0FpBZBuB3XE5w%40mail.gmail.com.
