Post #3987107
2026-07-21 13:00 UTC
Decided to dig into what I initially suspected was hardware issues on a host performing "pkgin upgrade" very slowly.
No, turns out it's legitimate requests hammering the disks, with pkg_delete performing an MD5 check on every file it is about to forcibly remove anyway.
Eventually it'd be nice to add a flag for this, but for now I've removed it for my builds:
https://github.com/TritonDataCenter/pkgsrc/commit/87055e3a0c53f409a0cf1efa887a3cb96afe0757
This will be in macOS and SmartOS builds soon, and will significantly improve upgrade performance.
#pkgsrc
Replies (1)
-
@netbsd@mastodon.sdf.org 2026-07-21 13:43
@jperkin@federate.me.uk The UX is confusing anyway, the message from pkg_delete looks like it failed to delete the file because the checksum didn't match.