Leftover junk
Gary E. Miller
gem at rellim.com
Thu Dec 6 20:03:59 UTC 2018
Yo Hal!
On Thu, 06 Dec 2018 11:53:58 -0800
Hal Murray via devel <devel at ntpsec.org> wrote:
> What's the right way to get rid of leftover junk?
Dunno. gpsd also has the same problem.
> The recent switch to installing things in PYTHONARCHDIR rather than
> PYTHONDIR left the old versions in PYTHONDIR. We have had similar
> problems in the ancient past when we renamed programs.
Also happens when people play with different install options.
> Should we have code that looks for old stuff? Should it be part of
> waf install, or a stand alone script?
We have no way to know what the previsou installer did. So no way to undo
it. I don't see a way around that problem.
> Should we actually remove it, or just point it out and let people
> remove it by hand?
We can't remove other copies, it may be intentional. For example, I'll
have NTPsec installed for many different Python versions at the same
time. Some users will install their distro ntpd, and from the tar ball,
and flip-flop between version.
So what we have is a run-time problem, not an install time problem.
What I recently did to gpsd is to have all the client programs check the
modules versions before using the module. Smoked out a lot of old
junk.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20181206/a22b0899/attachment.bin>
More information about the devel
mailing list