Found out this was due to old versions of the init.d scripts. No specific code was required there, so I removed the init.d scripts and it now works successfully
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1920748 Title: package munin 2.0.57-1ubuntu1 failed to install/upgrade: installed munin package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1920748/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs