package nagios3-cgi 3.2.3-3ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2

Bug #1188630 reported by Phoebe
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios3 (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

trying to install nagios3,w eird thing happend. can't see any log, maybe someone can help :)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: nagios3-cgi 3.2.3-3ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-43.68-generic-pae 3.2.42
Uname: Linux 3.2.0-43-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.3
AptOrdering: nagios3-cgi: Remove
Architecture: i386
Date: Fri Jun 7 21:59:33 2013
DpkgTerminalLog:
 Removing nagios3-cgi ...
 /var/lib/dpkg/info/nagios3-cgi.prerm: 3: .: Can't open /usr/share/nagios3/debian/httpd.webapps-common
 dpkg: error processing nagios3-cgi (--remove):
  subprocess installed pre-removal script returned error exit status 2
DuplicateSignature: package:nagios3-cgi:3.2.3-3ubuntu1:subprocess installed pre-removal script returned error exit status 2
ErrorMessage: subprocess installed pre-removal script returned error exit status 2
InstallationMedia: Ubuntu 12.04 "Precise" - Build i386 LIVE Binary 20120426-19:48
MarkForUpload: True
SourcePackage: nagios3
Title: package nagios3-cgi 3.2.3-3ubuntu1 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.nagios3.cgi.cfg: [deleted]
modified.conffile..etc.nagios3.stylesheets.avail.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.checksanity.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.cmd.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.common.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.config.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.extinfo.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.histogram.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.history.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.ministatus.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.notifications.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.outages.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.showlog.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.status.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.statusmap.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.summary.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.tac.css: [deleted]
modified.conffile..etc.nagios3.stylesheets.trends.css: [deleted]

Revision history for this message
Phoebe (rfhk) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
tags: removed: need-duplicate-check
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Thanks for reporting this. I was able to reproduce the bug, the problem seems to be with nagios3-cgi trying to remove some files that were already deleted, either accidentally or by some previous operations.
As a workaround, can you try to manually create the files it asks you (as empty files), and uninstall it again?
Some better management of the uninstall process should be required, in order to don't crash if the files don't exist.

Changed in nagios3 (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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