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.
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.