[Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed
Date: Fri, 16 May 2025 07:39:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107 --- Comment #10 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Martin Birgmeier from comment #9) While the .pkg file to be installed from has known good content for any checksum like information (no support of modifications to the contents), a live target file system's file vs. the /var/db/pkg/local.sqlite content for that file can be an issue for which files still match vs. which do not. That can include temporary bug fixes that were not just edits of text files. Allowing for local security updates and such being replaced by pkg could lead to not wanting deletion of old files by pkg that do not match the original old files, for example. .pkgsave and .pkgnew files are examples of ending up with both old and new files (by content) already. Because of such, checksumming of the live files could well be involved and 3 checksums for a file could be compared for figuring out what to do. Permissions/protections/flags/ownership/. . . changes are also involved overall. -- You are receiving this mail because: You are the assignee for the bug.