~ #  sed -i.orig -e '/^set/ a\set -x' 
/target/var/lib/dpkg/info/kdump-tools.postinst
~ # tail -f /var/log/syslog 
May  5 12:11:29 in-target:  linux-crashdump depends on kdump-tools; however:
May  5 12:11:29 in-target:   Package kdump-tools is not configured yet.
May  5 12:11:29 in-target: 
May  5 12:11:29 in-target: dpkg: error processing package linux-crashdump 
(--configure):
May  5 12:11:29 in-target:  dependency problems - leaving unconfigured
May  5 12:11:29 in-target: Errors were encountered while processing:
May  5 12:11:29 in-target:  kdump-tools
May  5 12:11:29 in-target:  linux-crashdump
May  5 12:11:29 main-menu[422]: WARNING **: Configuring 'pkgsel' failed with 
error code 100
May  5 12:11:29 main-menu[422]: WARNING **: Menu item 'pkgsel' failed.

May  5 12:13:15 main-menu[422]: INFO: Modifying debconf priority limit from 
'critical' to 'high'
May  5 12:13:15 debconf: Setting debconf/priority to high
May  5 12:13:15 main-menu[422]: INFO: Falling back to the package description 
for brltty-udeb
May  5 12:13:20 main-menu[422]: INFO: Falling back to the package description 
for brltty-udeb
May  5 12:13:20 main-menu[422]: INFO: Menu item 'pkgsel' selected
May  5 12:13:21 in-target: Reading package lists...
May  5 12:13:21 in-target: 
May  5 12:13:21 in-target: Building dependency tree...
May  5 12:13:21 in-target: 
May  5 12:13:21 in-target: Reading state information...
May  5 12:13:21 in-target: 
May  5 12:13:21 in-target: tasksel is already the newest version (3.34ubuntu3).
May  5 12:13:21 in-target: 0 upgraded, 0 newly installed, 0 to remove and 0 not 
upgraded.
May  5 12:13:21 in-target: 2 not fully installed or removed.
May  5 12:13:21 in-target: After this operation, 0 B of additional disk space 
will be used.
May  5 12:13:21 in-target: Setting up kdump-tools (1:1.5.9-5ubuntu0.4) ...^M
May  5 12:13:21 in-target: + uname -r^M
May  5 12:13:21 in-target: + /etc/kernel/postinst.d/kdump-tools 
4.4.0-62-generic^M
May  5 12:13:21 in-target: dpkg: error processing package kdump-tools 
(--configure):^M
May  5 12:13:21 in-target:  subprocess installed post-installation script 
returned error exit status 1^M
May  5 12:13:21 in-target: No apport report written because the error message 
indicates its a followup error from a previous failure.
May  5 12:13:21 in-target: dpkg: dependency problems prevent configuration of 
linux-crashdump:^M
May  5 12:13:21 in-target:  linux-crashdump depends on kdump-tools; however:^M
May  5 12:13:21 in-target:   Package kdump-tools is not configured yet.^M
May  5 12:13:21 in-target: ^M
May  5 12:13:21 in-target: dpkg: error processing package linux-crashdump 
(--configure):^M
May  5 12:13:21 in-target:  dependency problems - leaving unconfigured^M
May  5 12:13:21 in-target: Errors were encountered while processing:^M
May  5 12:13:21 in-target:  kdump-tools^M
May  5 12:13:21 in-target:  linux-crashdump^M
May  5 12:13:22 in-target: E: Sub-process /usr/bin/dpkg returned an error code 
(1)
May  5 12:13:22 in-target: Setting up kdump-tools (1:1.5.9-5ubuntu0.4) ...
May  5 12:13:22 in-target: + uname -r
May  5 12:13:22 in-target: + /etc/kernel/postinst.d/kdump-tools 4.4.0-62-generic
May  5 12:13:22 in-target: dpkg: error processing package kdump-tools 
(--configure):
May  5 12:13:22 in-target:  subprocess installed post-installation script 
returned error exit status 1
May  5 12:13:22 in-target: dpkg: dependency problems prevent configuration of 
linux-crashdump:
May  5 12:13:22 in-target:  linux-crashdump depends on kdump-tools; however:
May  5 12:13:22 in-target:   Package kdump-tools is not configured yet.
May  5 12:13:22 in-target: 
May  5 12:13:22 in-target: dpkg: error processing package linux-crashdump 
(--configure):
May  5 12:13:22 in-target:  dependency problems - leaving unconfigured
May  5 12:13:22 in-target: Errors were encountered while processing:
May  5 12:13:22 in-target:  kdump-tools
May  5 12:13:22 in-target:  linux-crashdump
May  5 12:13:24 pkgsel: checking for (security) updates to the base system
May  5 12:13:25 in-target: Reading package lists...
May  5 12:13:25 in-target: 
May  5 12:13:25 in-target: Building dependency tree...
May  5 12:13:25 in-target: 
May  5 12:13:25 in-target: Reading state information...
May  5 12:13:25 in-target: 
May  5 12:13:25 in-target: Calculating upgrade...
May  5 12:13:25 in-target: 
May  5 12:13:25 in-target: 0 upgraded, 0 newly installed, 0 to remove and 0 not 
upgraded.
May  5 12:13:25 in-target: 2 not fully installed or removed.
May  5 12:13:25 in-target: After this operation, 0 B of additional disk space 
will be used.
May  5 12:13:25 in-target: Setting up kdump-tools (1:1.5.9-5ubuntu0.4) ...^M
May  5 12:13:25 in-target: + uname -r^M
May  5 12:13:25 in-target: + /etc/kernel/postinst.d/kdump-tools 
4.4.0-62-generic^M
May  5 12:13:25 in-target: dpkg: error processing package kdump-tools 
(--configure):^M
May  5 12:13:25 in-target:  subprocess installed post-installation script 
returned error exit status 1^M
May  5 12:13:25 in-target: dpkg: dependency problems prevent configuration of 
linux-crashdump:^M
May  5 12:13:25 in-target:  linux-crashdump depends on kdump-tools; however:^M
May  5 12:13:25 in-target:   Package kdump-tools is not configured yet.^M
May  5 12:13:25 in-target: ^M
May  5 12:13:25 in-target: dpkg: error processing package linux-crashdump 
(--configure):^M
May  5 12:13:25 in-target:  dependency problems - leaving unconfigured^M
May  5 12:13:25 in-target: No apport report written because the error message 
indicates its a followup error from a previous failure.
May  5 12:13:25 in-target: Errors were encountered while processing:^M
May  5 12:13:25 in-target:  kdump-tools^M
May  5 12:13:25 in-target:  linux-crashdump^M
May  5 12:13:26 in-target: E: Sub-process /usr/bin/dpkg returned an error code 
(1)
May  5 12:13:26 in-target: Setting up kdump-tools (1:1.5.9-5ubuntu0.4) ...
May  5 12:13:26 in-target: + uname -r
May  5 12:13:26 in-target: + /etc/kernel/postinst.d/kdump-tools 4.4.0-62-generic
May  5 12:13:26 in-target: dpkg: error processing package kdump-tools 
(--configure):
May  5 12:13:26 in-target:  subprocess installed post-installation script 
returned error exit status 1
May  5 12:13:26 in-target: dpkg: dependency problems prevent configuration of 
linux-crashdump:
May  5 12:13:26 in-target:  linux-crashdump depends on kdump-tools; however:
May  5 12:13:26 in-target:   Package kdump-tools is not configured yet.
May  5 12:13:26 in-target: 
May  5 12:13:26 in-target: dpkg: error processing package linux-crashdump 
(--configure):
May  5 12:13:26 in-target:  dependency problems - leaving unconfigured
May  5 12:13:26 in-target: Errors were encountered while processing:
May  5 12:13:26 in-target:  kdump-tools
May  5 12:13:26 in-target:  linux-crashdump
May  5 12:13:26 main-menu[422]: WARNING **: Configuring 'pkgsel' failed with 
error code 100
May  5 12:13:26 main-menu[422]: WARNING **: Menu item 'pkgsel' failed.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to makedumpfile in Ubuntu.
https://bugs.launchpad.net/bugs/1687791

Title:
  Install of kdump-tools fails

Status in makedumpfile package in Ubuntu:
  New

Bug description:
  When installing Ubuntu xenial via netimage, installation fails because
  of an error, when configuring the kdump-tools. /var/log/syslog says:

  ...

  May  2 22:15:17 in-target: Setting up grub2 (2.02~beta2-36ubuntu3.9) ...^M
  May  2 22:15:17 in-target: Setting up lxc-common (2.0.7-0ubuntu1~16.04.2) 
...^M
  May  2 22:15:17 in-target: Running in chroot, ignoring request.^M
  May  2 22:15:17 in-target: invoke-rc.d: policy-rc.d denied execution of 
reload.^M
  May  2 22:15:17 in-target: Setting up grub-gfxpayload-lists (0.7) ...^M
  May  2 22:15:17 in-target: Processing triggers for libc-bin (2.23-0ubuntu7) 
...^M
  May  2 22:15:17 in-target: Processing triggers for systemd (229-4ubuntu17) 
...^M
  May  2 22:15:17 in-target: Processing triggers for ureadahead (0.100.0-19) 
...^M
  May  2 22:15:17 in-target: Processing triggers for dbus (1.10.6-1ubuntu3.3) 
...^M
  May  2 22:15:17 in-target: Errors were encountered while processing:^M
  May  2 22:15:17 in-target:  kdump-tools^M
  May  2 22:15:17 in-target:  linux-crashdump^M
  May  2 22:15:18 in-target: E: Sub-process /usr/bin/dpkg returned an error 
code (1)
  May  2 22:15:18 in-target: Setting up kdump-tools (1:1.5.9-5ubuntu0.4) ...
  May  2 22:15:18 in-target: dpkg: error processing package kdump-tools 
(--configure):
  May  2 22:15:18 in-target:  subprocess installed post-installation script 
returned error exit status 1
  May  2 22:15:18 in-target: dpkg: dependency problems prevent configuration of 
linux-crashdump:
  May  2 22:15:18 in-target:  linux-crashdump depends on kdump-tools; however:
  May  2 22:15:18 in-target:   Package kdump-tools is not configured yet.
  May  2 22:15:18 in-target: 
  May  2 22:15:18 in-target: dpkg: error processing package linux-crashdump 
(--configure):
  May  2 22:15:18 in-target:  dependency problems - leaving unconfigured
  May  2 22:15:18 in-target: Errors were encountered while processing:
  May  2 22:15:18 in-target:  kdump-tools
  May  2 22:15:18 in-target:  linux-crashdump
  May  2 22:15:18 main-menu[616]: WARNING **: Configuring 'pkgsel' failed with 
error code 100
  May  2 22:15:18 main-menu[616]: WARNING **: Menu item 'pkgsel' failed.

  
  After this the 'Select and install software' dialog pops up and says, that 
'Installation step failed'. If one presses '<Continue>', one gets bombed back 
into the 'Ubuntu installer main menu'.
  Now you get into a loop, when choosing the 'Select and install software' item 
from the menu.

  Installer image is 'Linux foo 4.4.0-62-generic #83-Ubuntu SMP Wed Jan
  18 14:10:15 UTC 2017 x86_64 GNU/Linux'.

  The only workaround found so far is:
      cp -p /target/var/lib/dpkg/info/kdump-tools.postinst \
          /target/var/lib/dpkg/info/kdump-tools.postinst.suck
      printf '#!/bin/sh\nexit 0\n' \
          >/target/var/lib/dpkg/info/kdump-tools.postinst

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to