[Pkg-nagios-devel] Bug#867256: monitoring-plugins-basic: fails to install: Error: The new file apt.cfg does not exist!

bugs.monitoring-plugins at timmehosting.de bugs.monitoring-plugins at timmehosting.de
Mon Jul 10 11:42:46 UTC 2017


I can confirm that problem on several machines. We were able to get 
around by altering the post-installation script:

--- snip
# diff -rupN3 monitoring-plugins.dpkg.functions.orig 
--- monitoring-plugins.dpkg.functions.orig    2017-07-10 
13:07:13.562944671 +0200
+++ /usr/share/monitoring-plugins/dpkg/functions    2017-07-10 
13:05:16.656944917 +0200
@@ -9,7 +9,7 @@ register_cfgs(){
              cd $templdir
              for f in *cfg; do
-                ucf $f $dest
+                ucf $templdir/$f $dest
--- /snip

As you can see, we just added "$templdir/" into that line and 
installation worked again. Without it, ucf seems to be unable to locate 
the "new file".

More information about the Pkg-nagios-devel mailing list