Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2025 07:05:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 286107] ports-mgmt/pkg: improvement request: only install files whose checksum have changed
Message-ID:  <bug-286107-32340-eu1KHaHd0M@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

Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-pkg (Nobody)
<pkg@FreeBSD.org> for maintainer-feedback:
Bug 286107: ports-mgmt/pkg: improvement request: only install files whose
checksum have changed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286107



--- Description ---
Scenario:
- FreeBSD stable/14
- ports latest
- upgrading ports using 'pkg upgrade'

Result:
- All files of the old ports are removed, then all files of the updated ports
are installed
- For many ports, the contents of most files do not change at all
- This results in unnecessary disk churn, SSD wear level increase, backup size
increase, etc.

Desired result:
- 'pkg upgrade' should compute the differences between the old and the new
installed files, most likely using their checksum
- 'pkg upgrade' should then delete and add files as necessary to implement the
new pkg plist.
- Unchanged files should not be touched at all, not even their mtime.
- This would help a lot especially with the big ports: KDE, LibreOffice, ...

-- Martin


home | help

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