I’d like to apologize for the somewhat scattered earlier email. Sent in a hurry, and not cleaned up.

My question is based on my particular situation: I have a custom build of Linux, based on (but diverging from) a build-it-yourself model called Linux From Scratch. 

I’ve also built a series of scripts to help me update packages and anything that directly or indirectly depends on the changed packages. It’s a bit of a hobby of mine that’s part of the backyard weather station hobby many of us enjoy.

But a result of this is that packages will often get rebuilt and reinstalled after updates to packages they leverage happen. A great example of this is PHP, which leverages so many packages I’ve installed that it gets rebuilt once a month on average. 

But…  I’ve  generally _not_ done that with Weewx, one of the few packages that I don’t rebuild in this routine matter. Why? Because WeeWX generates _real world data_. The entire rest of the system is in place _just_ so Weewx and a web server can run. I’ve been careful upgrading Weewx as I don’t want to make a mistake in “rebuilding the same version on top of itself” that corrupts or loses my weather data. I’ve also appreciated that Weewx has been self-contained - everything in /home/Weewx. 

I am curious if that caution is still necessary and if I can reinstall version XYZ of Weewx on top an installation _already_ running XYZ.

The kind replies to my earlier question answers this.

Sent from my iPhone

On Feb 16, 2023, at 3:36 PM, Vince Skahan <[email protected]> wrote:

Packagers generally won't overwrite a pre-existing copy of the identical copy unless you specifically tell it to do so, usually by passing it a switch to say --force or --reinstall or the equivalent explicitly.

Do you mean 'pip' or 'apt' or 'yum' or 'rpm' specifically, and what do you mean by 'rebuilds' in your question ?
  • yum has a 'reinstall' command
  • apt-get has a --reinstall option
  • pip has a --upgrade --force-reinstall option
What exactly is your scenario and what are you concerned will be overwritten (or not overwritten) ?

--
You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/de69c906-9ace-482c-812a-3b6dbe278152n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "weewx-development" 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-development/95B204C1-11AB-4438-9F4B-3A887F790F1A%40gmail.com.

Reply via email to