Following up with a tested source debdiff, in case it saves you the work.

I cherry-picked the upstream fix onto trixie's 2.8.1-5:

  https://github.com/networkupstools/nut/pull/2169
  https://github.com/networkupstools/nut/issues/2168

It applies cleanly on top of the ten existing Debian patches, and
builds cleanly in a clean trixie container. Source debdiff attached -- three
files only: d/changelog, d/patches/series, and the new DEP-3 patch
(upsmon-clear-CAL-flag.patch). NEWS.adoc and docs/nut.dict hunks from the
upstream PR are dropped, as they don't apply to 2.8.1 and aren't functional.

Verified at the binary level, /usr/lib/nut/upsmon:

                              2.8.1-5   +deb13u1
    "calibration in progress"     1         1
    "calibration finished"        0         1
    NOTCAL                        0         1

The stock trixie binary has no mechanism to report or clear that state at
all, which matches the observed symptom exactly.

The rebuild is installed and running on the affected host, with upsmon
reconnected to the UPS. 

Thankyou.

Attachment: nut_2.8.1-5+deb13u1.debdiff
Description: Binary data

Reply via email to