Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 May 2025 06:43:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed
Message-ID:  <bug-286107-32340-aDTkcPBrgj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286107-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107

--- Comment #9 from Martin Birgmeier <d8zNeCFG@aon.at> ---
(In reply to Mark Millard from comment #6)

You are right, rsync is not the way to go. But as far as I understand there are
cryptographic checksums of every file both in the /var/db/pkg/local.sqlite
database and in a .pkg file. If I am not wrong here, this information could be
used to perform the comparison.

I understand that there are some post-install steps, such as dealing with
.sample files etc., but these are usually small and therefore not such a
problem if getting "unnecessarily" reinstalled.

I now also saw your last sentence, thank you.

-- Martin

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286107-32340-aDTkcPBrgj>