https://github.com/weewx/weewx/wiki/faq-questions-apt-get-asks and https://github.com/weewx/weewx/wiki/WeeWX-Frequently-Asked-Questions#should-I-edit-the-weewx-config-file-version-string have more info. There have been other threads here in the distant past but I’m not finding them in a quick search.
On Sunday, June 21, 2026 at 11:46:13 AM UTC-7 Peter Fletcher wrote: > When I upgraded my workhorse Pi 3 to Trixie, I apt installed weewx > (5.3.01), using a working 5.0 .conf file from a Bookworm installation, and > it has been working fine for a month or so. Today, when I did my periodic > sudo apt update/sudo apt full-upgrade sequence, one of the upgrades pulled > in was weewx (to 5.4.01 - not 100% sure about the last digit). As usual, > when weewx is involved, in the course of the running of the apt upgrade, I > was asked which version of weewx.conf to use - there are three or four > options, includng the default 'keep existing version', which, again as > usual, I accepted. However, when weewx was restarted by apt, I noticed that > it was using a differently named .conf file (weewx.conf-5.0.0b16-5.4.0). > weewx started up normally, and the 'new' .conf file turns out to be a copy > of my original, with a change in the version parameter from 5.0.0b16 to > 5.4.0 and a couple of minor changes in some commented text. > In one sense, it can be argued that the upgrade *did* keep my old version > of weewx.conf - just under a new name! However, the potential problem with > this behavior, if I had not noticed the change, is that I might make a > modification to the original weewx.conf in the future and get very confused > by its not working! > I think that this represents a change in behavior, but it may not be a > recent one, since weewx wasn't apt installed on my bookworm system, and I > think that this is the first time it has been upgraded by apt on my Trixie > system. Why is "keep my existing weewx.conf" no longer being taken > literally? > -- 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 visit https://groups.google.com/d/msgid/weewx-user/de725099-cff8-4e68-a375-136f89a6a207n%40googlegroups.com.
