Unable to install kdump tools: post install script returning fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Invalid
|
High
|
Canonical Kernel Team | ||
makedumpfile (Ubuntu) |
Invalid
|
Undecided
|
Ubuntu on IBM Power Systems Bug Triage |
Bug Description
---Problem Description---
Unable to install Kdump-tools.
---Steps to Reproduce---
Unable to Install Kdump-tool Debian package kdump-tools_
=======
Note: Unable to install the Kdump-tool. The problem comes when postinst script is run:
root@pok1-
Linux pok1-qz1-
root@pok1-
[ 0.000000] Kernel command line: imgurl=http://
Error:
=====
update-
update-
update-
update-
Setting up ifenslave (2.9ubuntu1) ...^M
Setting up file (1:5.32-2ubuntu0.2) ...^M
Setting up kdump-tools (1:1.6.3-2) ...^M
^M
Creating config file /etc/default/
dpkg: error processing package kdump-tools (--configure):^M
installed kdump-tools package post-installation script subprocess returned error exit status 1^M
dpkg: dependency problems prevent configuration of linux-crashdump:^M
linux-crashdump depends on kdump-tools; however:^M
Package kdump-tools is not configured yet.^M
^M
Detail Log:
===========
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack libmagic1_
Unpacking libmagic1:ppc64el (1:5.32-2ubuntu0.2) over (1:5.32-2ubuntu0.2) ...
Setting up libmagic1:ppc64el (1:5.32-2ubuntu0.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack libmagic-
Unpacking libmagic-mgc (1:5.32-2ubuntu0.2) over (1:5.32-2ubuntu0.2) ...
Setting up libmagic-mgc (1:5.32-2ubuntu0.2) ...
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack file_5.
Unpacking file (1:5.32-2ubuntu0.2) over (1:5.32-2ubuntu0.2) ...
Setting up file (1:5.32-2ubuntu0.2) ...
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack bsdmainutils_
Unpacking bsdmainutils (11.1.2ubuntu1) over (11.1.2ubuntu1) ...
Setting up bsdmainutils (11.1.2ubuntu1) ...
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack makedumpfile_
Unpacking makedumpfile (1:1.6.
Setting up makedumpfile (1:1.6.
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack kexec-tools_
Unpacking kexec-tools (1:2.0.
Setting up kexec-tools (1:2.0.
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
Configuring kexec-tools
-------
If you choose this option, a system reboot will trigger a restart into a kernel loaded by kexec instead of going
through the full system boot loader process.
Should kexec-tools handle reboots (sysvinit only)? [yes/no] yes
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.29) ...
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack kdump-tools_
Unpacking kdump-tools (1:1.6.3-2) over (1:1.6.3-2) ...
Setting up kdump-tools (1:1.6.3-2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/
debconf: falling back to frontend: Readline
Configuring kdump-tools
-------
If you choose this option, the kdump-tools mechanism will be enabled. A reboot is still required in order to enable
the crashkernel kernel parameter.
Should kdump-tools be enabled by default? [yes/no] yes
dpkg: error processing package kdump-tools (--install):
installed kdump-tools package post-installation script subprocess returned error exit status 1
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.29) ...
Errors were encountered while processing:
kdump-tools
root@pok1-
(Reading database ... 65250 files and directories currently installed.)
Preparing to unpack kdump-tools_
Unpacking kdump-tools (1:1.6.3-2) over (1:1.6.3-2) ...
Setting up kdump-tools (1:1.6.3-2) ...
dpkg: error processing package kdump-tools (--install):
installed kdump-tools package post-installation script subprocess returned error exit status 1
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.29) ...
Errors were encountered while processing:
kdump-tools
---uname output---
Linux pok1-qz1-
This is on Diskless Environment
====
Can you attach the /var/log/syslog to see what sort of messages are getting logged (if any)?
It might be worthwhile if you can add a set -x at the start of the following:
/target/
and
/etc/kernel/
if they exist to see what is going on in them at the time of the failure
tags: | added: architecture-ppc64le bugnameltc-182124 severity-critical targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → makedumpfile (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Low |
------- Comment From <email address hidden> 2019-10-29 16:20 EDT------- /support. canonical. com/ua/ s/case/ 5003z000021SHJ0 /server- unable- to-install- kdumptools- on-the- diskless- machine where he was asked to try installing a new kdump-tools. Kuldip agreed to try that and report back...
The reporter, Kuldip, also opened this case simultaneously to the bug https:/