mahesh, this appears to be an incompatibility with nagios3's maintainer scripts and the 'mini-httpd' package, which diverts /usr/bin/htpasswd, and thus cannot take the -b argument.
The appropriate way to fix this is probably for the maintainer script to add a 'Breaks: mini-httpd' or perhaps detect that it has been installed by looking for /usr/bin/htpasswd.apache-utils. Ultimately, though, mini-httpd seems fairly wrong headed in diverting htpasswd, and should not, IMO, be diverting /usr/bin/htpasswd, as it is not a fully compatible drop in replacement. So, I'm marking this as also affecting mini-httpd (Debian bug is already existing, will mark that as well). nagios3, imo, doesn't really need to handle this, as mini-httpd is the "rude" package here. So marking as Low in nagios3, and High in mini-httpd. As a workaround, remove mini-httpd, as it is not compatible with the maintainer scripts of nagios3. ** Changed in: nagios3 (Ubuntu) Status: New => Triaged ** Changed in: nagios3 (Ubuntu) Importance: Undecided => Low ** Bug watch added: Debian Bug tracker #520941 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520941 ** Also affects: mini-httpd (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=520941 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/943088 Title: package nagios3-cgi 3.2.3-1ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nagios3/+bug/943088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs