[Bug 989788] Re: package nagios-plugins-basic 1.4.15-5ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127

Clint Byrum clint at fewbar.com
Sat Apr 28 01:33:34 UTC 2012


Hi James, thanks for taking the time to file this bug report and help us
make Ubuntu better.

It appears that Nagios was just a victim of insufficient dependencies:

Setting up libperl5.14 (5.14.2-6ubuntu2) ...
Setting up libperl-dev (5.14.2-6ubuntu2) ...
Setting up update-inetd (4.41) ...
Setting up iputils-ping (3:20101006-1ubuntu1) ...
Setting up nagios-plugins-basic (1.4.15-5ubuntu3) ...
perl: error while loading shared libraries: libperl.so.5.12: cannot open shared object file: No such file or directory
dpkg: error processing nagios-plugins-basic (--configure):
 subprocess installed post-installation script returned error exit status 127

As you see, libperl was updated without updating perl, so the linking
failed. Nagios uses 'ucf', which is a perl program, and depends on
debhelper, which then depends on perl. The problem is that perl was
basically in an inconsistent state at that point. It seems to me that
perl should Depend: libperl5 ${binary:Version} so that apt will upgrade
perl before trying to use perl. Perl is so fundamental to package
management though, its possible that this is one of those corner cases
that has to be dealt with differently.

Anyway, I believe this is perl's problem, not nagios's, and so I'm
redirecting the bug, and marking it as Medium importance.

** Package changed: nagios-plugins (Ubuntu) => perl (Ubuntu)

** Changed in: perl (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/989788

Title:
  package nagios-plugins-basic 1.4.15-5ubuntu3 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 127

Status in “perl” package in Ubuntu:
  New

Bug description:
  ** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ......ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 718, in add_hooks_info
      symb['add_info'](self, ui)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 49, in add_info
      check_attachment_for_errors(report, log)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 149, in check_attachment_for_errors
      if attachment in report and re.search(grub_error, report[attachment], re.MULTILINE):
    File "/usr/lib/python2.7/re.py", line 142, in search
      return _compile(pattern, flags).search(string)
  TypeError: expected string or buffer

  ProblemType: Package
  DistroRelease: Ubuntu 12.04
  Package: nagios-plugins-basic 1.4.15-5ubuntu3
  ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
  Uname: Linux 3.0.0-12-server x86_64
  ApportVersion: 2.0.1-0ubuntu6
  Architecture: amd64
  Date: Fri Apr 27 09:29:52 2012
  ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 127
  InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  SourcePackage: nagios-plugins
  Title: package nagios-plugins-basic 1.4.15-5ubuntu3 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127
  UpgradeStatus: Upgraded to precise on 2012-04-27 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/989788/+subscriptions




More information about the foundations-bugs mailing list