Pretty sure apt doesn't touch config files unless you allow/tell it to, it isn't programmed to make small modifications either.
However weeWX code on the other hand is another matter. On Mon, 22 Jun 2026 at 04:46, 'Peter Fletcher' via weewx-user < [email protected]> 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/345effaa-b3a1-4de7-b0c9-2fa1f171111cn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/345effaa-b3a1-4de7-b0c9-2fa1f171111cn%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 visit https://groups.google.com/d/msgid/weewx-user/CAGTinV6tNOEdyfKoS0BRFFys6iy7rAK0hiuZahkXXp_riWwEaA%40mail.gmail.com.
