mini-httpd breaks nagios by diverting to an incompatible htpasswd

Bug #943088 reported by mahesh j.ingle on 2012-02-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mini-httpd (Debian)
Fix Released
Unknown
mini-httpd (Ubuntu)
Low
Unassigned

Bug Description

i want to install install nagios on my ubuntu machin but i get this error plaese help

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: nagios3-cgi 3.2.3-1ubuntu1.2
ProcVersionSignature: Ubuntu 2.6.38-13.55-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Feb 29 11:53:53 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: nagios3
Title: package nagios3-cgi 3.2.3-1ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Clint Byrum (clint-fewbar) wrote :

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
importance: Undecided → Low
Changed in mini-httpd (Debian):
status: Unknown → New
Changed in mini-httpd (Debian):
status: New → Fix Released

This is fixed in 1.21-1 in Debian. Ubuntu will get it when we autosync next cycle.

summary: - package nagios3-cgi 3.2.3-1ubuntu1.2 failed to install/upgrade:
- subprocess installed post-installation script returned error exit status
- 1
+ mini-httpd breaks nagios by diverting to an incompatible htpassed
affects: nagios3 (Ubuntu) → mini-httpd (Ubuntu)
summary: - mini-httpd breaks nagios by diverting to an incompatible htpassed
+ mini-httpd breaks nagios by diverting to an incompatible htpasswd
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mini-httpd - 1.23-1

---------------
mini-httpd (1.23-1) unstable; urgency=medium

  * New upstream release
  * d/control:
     - Bump Standard-Version to 3.9.7.
  * d/upstream.changelog:
     - Update changes.
  * d/patches:
     - Remove patch fix-add_to_response-buffer-overflow fixed for upstream.
     - Fix support FreeBSD
       thanks Steven Chamberlain <email address hidden> (Closes: #815339)
     - Add patch fix-autobuilders for a problem with package on 64-bit
       thanks Steve Langasek <email address hidden> (Closes: #819125)
  * d/rules:
     - Add hardening
     - Don`t install htpasswd (LP: #943088)

 -- Jose dos Santos Junior <email address hidden> Fri, 01 Apr 2016 17:32:30 -0300

Changed in mini-httpd (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.