This is a question requiring very deep technical knowledge!
to prepare for testing of new feature "automatic security patch installation" I installed OMV for RPi4 on a new SD card and performed at one stage "apt update; apt upgrade"
Preparing to unpack .../monit_1%3a5.26.0-1_armhf.deb ...
Unpacking monit (1:5.26.0-1) over (1:5.25.2-3) ...
Setting up monit (1:5.26.0-1) ...
Configuration file '/etc/monit/monitrc'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** monitrc (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/monit/monitrc ..
Later I noticed that this was the wrong choice because the configuration is to be maintained by OMV.
Hence I'm wondering if apt would allow a configuration to prevent these decisions from being made by a user (as users tend to make errors when they lack context.)
https://wiki.debian.org/PackageManagement/Preseed would suggest a solution but I'm lacking a good example
Anyone have a suggestion?