← Back to team overview

touch-packages team mailing list archive

[Bug 1406735] Re: package udev 208-8ubuntu8.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 102

 

Martin:

The previous invocation of /var/lib/dpkg/info/udev.postinst configure
seems to have cleared the problem so I didn't rerun this command.
However, I was installing other packages and while installing evolution,
ran into my old nemisis: spamassassin which failed in a similar manner,
creating dependency problems dor sa-compile.  So I tried your suggestion
on that package and got this result:

# env DPKG_MAINTSCRIPT_PACKAGE=spamassassin DPKG_MAINTSCRIPT_NAME=postinst sh -ex /var/lib/dpkg/info/spamassassin.postinst configure ; echo $?
+ set -e
+ [ configure = triggered ]
+ [ configure = configure ]
+ getent passwd debian-spamd
+ mkdir -p /var/lib/spamassassin
+ stat -c %U /var/lib/spamassassin
+ OWNER=debian-spamd
+ stat -c %G /var/lib/spamassassin
+ GROUP=debian-spamd
+ dpkg-statoverride --list /var/lib/spamassassin/sa-update-keys
+ [ debian-spamd:debian-spamd != debian-spamd:debian-spamd ]
+ test -d /var/lib/spamassassin/sa-update-keys
+ su - debian-spamd -c sa-update --gpghomedir /var/lib/spamassassin/sa-update-keys         --import /usr/share/spamassassin/GPG.KEY
+ deb-systemd-helper debian-installed spamassassin.service
+ deb-systemd-helper unmask spamassassin.service
+ deb-systemd-helper --quiet was-enabled spamassassin.service
+ deb-systemd-helper update-state spamassassin.service
+ [ -x /etc/init.d/spamassassin ]
+ update-rc.d spamassassin defaults 19 21
+ [ -x /etc/init.d/spamassassin ]
+ invoke-rc.d spamassassin start
SpamAssassin Mail Filter Daemon: disabled, see /etc/default/spamassassin
0

OK, that looks promising.  When I returned to synaptic and installed
another unrelated package, it then proceded to configure both
spamassassin and sa-compile!  There must be a flag somewhere that
doesn't get updated when the manual command is run, so the package
manager still thinks it needs to be performed.

In any event, I have apparently managed to get the udev and spamassassin
packages into a stable state and new packages are installing as expected
once again.  Please let me know if you would like any additional
information.  And thank you greatly for your guick and very useful help.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1406735

Title:
  package udev 208-8ubuntu8.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 102

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  A few weeks ago I installed Ubuntu 10.10 server with the addition of
  the xubuntu-desktop packages.  Everything started out alright until i
  tried to install sendmail in place of postfix.  That installaton
  failed, reporting a similar error:

  "subprocess installed post-installation script returned error exit
  status 102"

  From there, things went from bad to worse.  I was now unable to finish
  the install of sendmail nor could I remove it fully and reinstall
  postfix.  Spamassassin seemed to be one critical package that hept
  reporting errors.  As I tried to install or remove packages using
  synaptic, the system most of the time refused to act due to dascading
  errors and partially removed packages that could not be removed, even
  by force.

  Today I threw up my hands and did a complete fresh install of the
  system.  Everything went well for the basic packages until I ran
  software updater.  A few packages were scheduled to be updated,
  including udev and it has now faild in the exact same manner.

  Could someone look at this and provide a quick reply as to what can be
  done to rectify this situation.  I am afraid to install or remove any
  other software for fear of corrupting the system further and I
  currently do not have a usable system.

  Let me know if additional information is required.  Thanks.

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: udev 208-8ubuntu8.1
  ProcVersionSignature: Ubuntu 3.16.0-28.38-generic 3.16.7-ckt1
  Uname: Linux 3.16.0-28-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: amd64
  CustomUdevRuleFiles: .70-persistent-net.rules
  Date: Wed Dec 31 01:40:11 2014
  DuplicateSignature: package:udev:208-8ubuntu8.1:subprocess installed post-installation script returned error exit status 102
  ErrorMessage: subprocess installed post-installation script returned error exit status 102
  InstallationDate: Installed on 2014-12-31 (0 days ago)
  InstallationMedia: Ubuntu-Server 14.10 "Utopic Unicorn" - Release amd64 (20141022.2)
  MachineType: ASUSTeK COMPUTER INC. Z9PE-D8 WS
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-28-generic root=UUID=d7121d57-8cf9-42a5-b7c3-75f414ce3e09 ro nomdmonddf nomdmonisw
  SourcePackage: systemd
  Title: package udev 208-8ubuntu8.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 102
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/06/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 5503
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: Z9PE-D8 WS
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0x
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 17
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5503:bd05/06/2014:svnASUSTeKCOMPUTERINC.:pnZ9PE-D8WS:pvr1.0x:rvnASUSTeKCOMPUTERINC.:rnZ9PE-D8WS:rvr1.0x:cvnToBeFilledByO.E.M.:ct17:cvrToBeFilledByO.E.M.:
  dmi.product.name: Z9PE-D8 WS
  dmi.product.version: 1.0x
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

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


References