xymon-client 4.3.7-1 postinst failed: pkill found nothing to kill

Bug #1069227 reported by Adrian
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xymon (Ubuntu)
Fix Released
Undecided
Axel Beckert

Bug Description

this used to work in 12.04

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: xymon-client 4.3.7-1
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic i686
ApportVersion: 2.6.1-0ubuntu3
AptOrdering:
 xymon-client: Configure
 hobbit-plugins: Configure
Architecture: i386
Date: Sun Oct 21 08:45:03 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
SourcePackage: xymon
Title: package xymon-client 4.3.7-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to quantal on 2012-10-19 (1 days ago)

Revision history for this message
Adrian (adrian) wrote :
Revision history for this message
Adrian (adrian) wrote : Re: [Bug 1069227] Re: package xymon-client 4.3.7-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

On 21/10/12 09:22, Axel Beckert wrote:
> *** This bug is a duplicate of bug 1042821 ***
> https://bugs.launchpad.net/bugs/1042821
>
> ** This bug has been marked a duplicate of bug 1042821
> post-install script fails
>
How do I go about fixing it from the git repository?

Revision history for this message
Axel Beckert (xtaran) wrote :

Hi,

Adrian Versteegen wrote:
> How do I go about fixing it from the git repository?

You don't need to. It's a missing Pre-Depends on procps. Just install
procps and run "dpkg --configure --pending" afterwards (as root).

The according git commit is:

http://anonscm.debian.org/gitweb/?p=collab-maint/xymon.git;a=commitdiff;h=3589e03a7f3cb0aefc014ca2820344cccb8cc8b9

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
  `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5

Revision history for this message
Adrian (adrian) wrote :

On 21/10/12 10:13, Axel Beckert wrote:
> *** This bug is a duplicate of bug 1042821 ***
> https://bugs.launchpad.net/bugs/1042821
>
> Hi,
>
> Adrian Versteegen wrote:
>> How do I go about fixing it from the git repository?
> You don't need to. It's a missing Pre-Depends on procps. Just install
> procps and run "dpkg --configure --pending" afterwards (as root).
>
> The according git commit is:
>
> http://anonscm.debian.org/gitweb/?p=collab-
> maint/xymon.git;a=commitdiff;h=3589e03a7f3cb0aefc014ca2820344cccb8cc8b9
>
> Regards, Axel
It didn't quite work Axel

<code>
  sudo apt-get install procps
Reading package lists... Done
Building dependency tree
Reading state information... Done
procps is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up xymon-client (4.3.7-1) ...
dpkg: error processing xymon-client (--configure):
  subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of hobbit-plugins:
  hobbit-plugins depends on xymon-client (>= 4.3.7-1~); however:
   Package xymon-client is not configured yet.

dpkg: error processing hobbit-plugins (--configure):
  dependency problems - leaving unconfigured
No apport report written because the error message indicates its a
followup error from a previous failure.
   Errors were encountered while processing:
  xymon-client
  hobbit-plugins
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code>

Does this make it a different bug?

Thanks,
Adrian

Revision history for this message
Axel Beckert (xtaran) wrote :

Hi,

Adrian Versteegen wrote:
> >> How do I go about fixing it from the git repository?
> > You don't need to. It's a missing Pre-Depends on procps. Just install
> > procps and run "dpkg --configure --pending" afterwards (as root).
[...[
> It didn't quite work Axel
>
> <code>
> sudo apt-get install procps
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> procps is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 2 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue [Y/n]?
> Setting up xymon-client (4.3.7-1) ...
> dpkg: error processing xymon-client (--configure):
> subprocess installed post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of hobbit-plugins:
> hobbit-plugins depends on xymon-client (>= 4.3.7-1~); however:
> Package xymon-client is not configured yet.
> dpkg: error processing hobbit-plugins (--configure):
> dependency problems - leaving unconfigured
> No apport report written because the error message indicates its a
> followup error from a previous failure.
> Errors were encountered while processing:
> xymon-client
> hobbit-plugins
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> </code>

Hrm. Doesn't look as expected.

> Does this make it a different bug?

Maybe.

Thanks for the details. Will check next week when I've got access to a
quantal box.

  Regards, Axel
--
 ,''`. | Axel Beckert <email address hidden>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
  `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5

Revision history for this message
Launchpad Janitor (janitor) wrote : Re: package xymon-client 4.3.7-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xymon (Ubuntu):
status: New → Confirmed
Revision history for this message
udifuchs (udifuchs) wrote :

For me, the post install script failed at the line: 'pkill -u hobbit vmstat'.

A work around it to run 'sudo -u hobbit vmstat 1'. This gives pkill something to kill. Then you can run in parallel 'sudo dpkg --configure --pending' to finish the install.

A more permanent fix would be to change the line in the script to 'pkill -u hobbit vmstat || true'.

Revision history for this message
Axel Beckert (xtaran) wrote :

udifuchs: Thanks for that hint. So it is indeed a different issue. Changing the title accordingly.

summary: package xymon-client 4.3.7-1 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1
+ installed post-installation script returned error exit status 1: pkill
+ found nothing to kill
Changed in xymon (Ubuntu):
assignee: nobody → Axel Beckert (xtaran)
status: Confirmed → Fix Committed
Axel Beckert (xtaran)
summary: - package xymon-client 4.3.7-1 failed to install/upgrade: subprocess
- installed post-installation script returned error exit status 1: pkill
- found nothing to kill
+ xymon-client 4.3.7-1 postinst failed: pkill found nothing to kill
Changed in xymon (Ubuntu):
status: Fix Committed → New
status: New → Incomplete
status: Incomplete → Opinion
status: Opinion → Confirmed
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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