[Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 15 May 2025 23:08:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107

--- Comment #6 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #4)
(In reply to Mark Millard from comment #4)

Note: The rsync analogy is not necessarily
coherent for figuring out what files to
delete if new .pkg files only have
information about the new build and there
is no source of accurate information about
what is currently installed for the older
version of the same package (before the
new installation happens). (However far
back that older one might be . . .)

Lots of directories end up with files from
multiple .pkg files.

It would take comparisons of the old and
new .pkg information to selectively do the
deletes of files that should end up no
longer existing. rsync-ish selectively
copying is only part of what would be
involved overall.

(I've not going to give a specification
of what rsync combination of mode settings
that I'm implicitly referencing.)


Note: I'm not suggesting any change be made
to pkg for this bugzilla submittal. It is
more notes about the comments going in a
more problematical direction.

My notes have made the mistake of being
worded as if the authors of the Description
and Comment #3 where from the same Email
account. (They are not.) For this I
apologize.

-- 
You are receiving this mail because:
You are the assignee for the bug.