Page 1 of 1

NCPA update stops update process and/or breaks config

Posted: Wed Jan 26, 2022 10:35 am
by nehpets
Every time NCPA updates, it pauses the apt upgrade process waiting for user input (even when run with apt upgrade -y).

This also leads to users selecting to use the new file which wipes out the password being used and breaking communication with Nagios XI. What can be done to avoid this situation on future NCPA updates?

The only "custom" change in my config file is setting the password.

Code: Select all

Setting up ncpa (2.4.0-1) ...

Configuration file '/usr/local/ncpa/etc/ncpa.cfg'
 ==> 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.
*** ncpa.cfg (Y/I/N/O/D/Z) [default=N] ? n

Re: NCPA update stops update process and/or breaks config

Posted: Thu Jan 27, 2022 10:48 am
by ssax
I'm able to replicate this, I'm looking for a solution and will update shortly.