> > it is quite possible that the b16 is messing things up
This why I favour building packages as X.Y-1.99 to avoid such problems with other people's software :D On Mon, 22 Jun 2026 at 14:22, matthew wall <[email protected]> wrote: > > > > On Jun 21, 2026, at 14:46, 'Peter Fletcher' via weewx-user < > [email protected]> wrote: > > > > 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). > > that would require a change to the systemd unit file, telling weewxd to > use weewx.conf-5.0.0b16-5.4.0 instead of weewx.conf. i am pretty sure that > your system is still using weewx.conf. if not, please provide more > information. > > > > 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. > > if you choose to use the maintainer's version, or if you mess with the > 'version' field, then the apt logic will copy the maintainer's version into > weewx.conf. > > > > 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! > > if you modify weewx.conf, then there should be no confusion. weewx.conf > is what your system uses unless you change the systemd configuration. > > > > 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? > > it is quite possible that the b16 is messing things up, resulting in you > getting a maintainer's version (which could look just like your original > conf, but with mangled/reformatted comments). > > we have had issues with the operating systems' comparisons of versions. i > don't remember if this is true for dpkg, but there were cases where > 5.1.0b10 was treated as newer than 5.1.0, for example. > > apologies for the previous, lengthy response that did not address your > questions directly. > > 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]. > To view this discussion visit > https://groups.google.com/d/msgid/weewx-user/F9C6E6AA-B1EF-4E8B-B76C-0A6CE82334BC%40gmail.com > . > -- 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/CAGTinV5dU%3D4UaUAW7Jo2vO%3DAz_emro5j0iRSfAzSXjiYfz_%2Bdg%40mail.gmail.com.
