Changing the 'config.readfp(...)', as below, got me going again.

--- nrpe-ng-debian/nrpe_ng/config.py    2024-09-13 19:40:04.000000000 +0100
+++ it-veri/puppet/modules/nrpe/files/config.py 2025-05-02 15:10:44.979044324 
+0100
@@ -176,8 +176,10 @@
 
         # Attempt to read the config file
         try:
-            with open(f) as fp:
-                config.readfp(fp, f)
+            # partain: replace with:
+            config.read(f)
+            # with open(f) as fp:
+            #     config.readfp(fp, f)
         except IOError as e:
             raise ConfigError(
                 "{f}: failed to read file: {err}".format(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2061898

Title:
  nrpe-ng fails to install in Noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nrpe-ng/+bug/2061898/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to