You would end up with two different installations. If you really want to do this, you could install using apt-get, then move your old files over into the new places. In particular, you would have to move the database (unless using MySQL), the weewx.conf file, and the skins.
-tk On Fri, Oct 14, 2016 at 5:19 AM, Andrew Milner <[email protected]> wrote: > I have always installed via setup.py - can I switch by just using apt-get > or will I end up with two installations in two different places - one my > existing setup.py in /home/weewx and one somewhere else? Is it possible to > make apt-get use the existing installation, skins and .conf files?? > > > > On Friday, 14 October 2016 14:51:37 UTC+3, mwall wrote: > >> On Friday, October 14, 2016 at 6:36:25 AM UTC-4, Liz wrote: >>> >>> Just trying the upgrade through this system. I have got to diff the >>> files and find the essential parts of the weewx.conf that I have to >>> change, and those I have to retain. >>> I can do that, but for a lot of our users this is a big degree of >>> difficulty. >>> >>> I'd suggest that the post-install script looks at essentials which need >>> changing in conf files and does those. >>> >> >> liz, >> >> could you provide more detail about the process you went through so i can >> duplicate the behavior? >> >> there is already logic in the pre/post scripts that *should* upgrade the >> weewx.conf file when you do a .deb upgrade (using dpkg or apt). when it >> encounters changes to weewx.conf, it *should* do the standard debian >> prompts about changed files. >> >> m >> > -- > 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]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
