Package: seelablet-common
Version: 0.1.9-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package seelablet-common.
  (Reading database ... 
(Reading database ... 7520 files and directories currently installed.)
  Preparing to unpack .../seelablet-common_0.1.9-3_all.deb ...
  Unpacking seelablet-common (0.1.9-3) ...
  Setting up seelablet-common (0.1.9-3) ...
  dpkg: error processing package seelablet-common (--configure):
   subprocess installed post-installation script returned error exit status 2
  Errors were encountered while processing:
   seelablet-common

Adding a set -x to the postinst results in

# dpkg --configure --pending
Setting up seelablet-common (0.1.9-3) ...
+ set -e
+ udevadm control --reload
dpkg: error processing package seelablet-common (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 seelablet-common


Let's look at other packages that call udevadm in their postinst:
https://codesearch.debian.net/results/udevadm%20control%20--reload%20path%3Apostinst*/page_0

Usually errors are ignored by appending (some variant of) "|| true",
and sometimes there is also an explicit test for a chroot (e.g. in hackrf),
although that could be simplified to

  if ! ischroot; then
    udevadm foo --bar || true
    udevadm bar --foo || true
  fi

(ischroot is in debianutils)

cheers,

Andreas

Attachment: seelablet-common_0.1.9-3.log.gz
Description: application/gzip

Reply via email to