package i8kutils 1.41 failed to install/upgrade: installed post-installation script subprocess exited with error code 1 (invoke-rc.d: initscript i8kmon, action "start" failed.)

Bug #1364503 reported by Lacyc3
254
This bug affects 53 people
Affects Status Importance Assigned to Milestone
i8kutils
New
Undecided
Unassigned
i8kutils (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Description: Ubuntu Utopic Unicorn (development branch)
Release: 14.10

I tried to install i8kutils from Synaptic.

When attempting to install this package on Ubuntu 14.10, I get the following error message:
Setting up i8kutils (1.41) ...
 * Starting Dell fan/cpu-temperature monitor i8kmon [fail]
invoke-rc.d: initscript i8kmon, action "start" failed.
dpkg: error processing package i8kutils (--configure):
 subprocess installed post-installation script returned error exit status 1

When attempting to install it on Ubuntu 15.04, I get the following error message:
Setting up i8kutils (1.41) ...
Job for i8kmon.service failed. See "systemctl status i8kmon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript i8kmon, action "start" failed.
dpkg: error processing package i8kutils (--configure):
 subprocess installed post-installation script returned error exit status 1

The common problem is that the i8kmon fails to start.

ProblemType: Package
DistroRelease: Ubuntu 14.10
Package: i8kutils 1.41
ProcVersionSignature: Ubuntu 3.16.0-11.16-generic 3.16.1
Uname: Linux 3.16.0-11-generic x86_64
ApportVersion: 2.14.7-0ubuntu1
Architecture: amd64
Date: Tue Sep 2 18:38:24 2014
DuplicateSignature: package:i8kutils:1.41:installed post-installation script alfolyamat 1 hibakóddal kilépett
ErrorMessage: installed post-installation script alfolyamat 1 hibakóddal kilépett
InstallationDate: Installed on 2014-08-29 (4 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140828)
SourcePackage: i8kutils
Title: package i8kutils 1.41 failed to install/upgrade: installed post-installation script alfolyamat 1 hibakóddal kilépett
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Lacyc3 (lacyc3) wrote :
tags: removed: need-duplicate-check
tags: added: trusty vivid
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in i8kutils (Ubuntu):
status: New → Confirmed
description: updated
description: updated
summary: package i8kutils 1.41 failed to install/upgrade: installed post-
- installation script subprocess exited with error code 1
+ installation script subprocess exited with error code 1 (invoke-rc.d:
+ initscript i8kmon, action "start" failed.)
Changed in i8kutils (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Charl le Roux (charl-leroux) wrote :

I can confirm this bug also affects Ubuntu 15.10 (Wily).

Below is my output when I do 'sudo apt-get install i8kutils':

Setting up i8kutils (1.41) ...
Job for i8kmon.service failed because the control process exited with error code. See "systemctl status i8kmon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript i8kmon, action "start" failed.
dpkg: error processing package i8kutils (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Errors were encountered while processing:
 i8kutils
E: Sub-process /usr/bin/dpkg returned an error code (1)

The output of "systemctl status i8kmon.service" is:
● i8kmon.service - LSB: Dell fan/cpu-temperature monitor
   Loaded: loaded (/etc/init.d/i8kmon)
   Active: failed (Result: exit-code) since Sun 2015-11-01 20:52:47 SAST; 2min 45s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5399 ExecStart=/etc/init.d/i8kmon start (code=exited, status=1/FAILURE)

Nov 01 20:52:47 xps15-ubuntu systemd[1]: Starting LSB: Dell fan/cpu-temperature monitor...
Nov 01 20:52:47 xps15-ubuntu i8kmon[5399]: * Starting Dell fan/cpu-temperature monitor i8kmon
Nov 01 20:52:47 xps15-ubuntu i8kmon[5399]: ...fail!
Nov 01 20:52:47 xps15-ubuntu systemd[1]: i8kmon.service: Control process exited, code=exited status=1
Nov 01 20:52:47 xps15-ubuntu systemd[1]: Failed to start LSB: Dell fan/cpu-temperature monitor.
Nov 01 20:52:47 xps15-ubuntu systemd[1]: i8kmon.service: Unit entered failed state.
Nov 01 20:52:47 xps15-ubuntu systemd[1]: i8kmon.service: Failed with result 'exit-code'.

Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

Same error here on Ubuntu 16.04:

```
sudo apt install i8kutils
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los paquetes indicados a continuación se instalaron de forma automática y ya no son necesarios.
  libpkcs11-helper1 linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic
  linux-image-4.2.0-35-generic linux-image-4.4.0-21-generic
  linux-image-extra-4.2.0-35-generic linux-image-extra-4.4.0-21-generic
Utilice «sudo apt autoremove» para eliminarlos.
Se instalarán los siguientes paquetes adicionales:
  acpi tclx8.4
Paquetes sugeridos:
  tclx8.4-doc
Se instalarán los siguientes paquetes NUEVOS:
  acpi i8kutils tclx8.4
0 actualizados, 3 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
Se necesita descargar 121 kB de archivos.
Se utilizarán 437 kB de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n]
Des:1 http://ar.archive.ubuntu.com/ubuntu xenial/universe amd64 acpi amd64 1.7-1 [13,8 kB]
Des:2 http://ar.archive.ubuntu.com/ubuntu xenial/universe amd64 tclx8.4 amd64 8.4.1-1 [81,1 kB]
Des:3 http://ar.archive.ubuntu.com/ubuntu xenial/universe amd64 i8kutils amd64 1.41 [25,9 kB]
Descargados 121 kB en 1s (87,8 kB/s)
Seleccionando el paquete acpi previamente no seleccionado.
(Leyendo la base de datos ... 383197 ficheros o directorios instalados actualmente.)
Preparando para desempaquetar .../archives/acpi_1.7-1_amd64.deb ...
Desempaquetando acpi (1.7-1) ...
Seleccionando el paquete tclx8.4 previamente no seleccionado.
Preparando para desempaquetar .../tclx8.4_8.4.1-1_amd64.deb ...
Desempaquetando tclx8.4 (8.4.1-1) ...
Seleccionando el paquete i8kutils previamente no seleccionado.
Preparando para desempaquetar .../i8kutils_1.41_amd64.deb ...
Desempaquetando i8kutils (1.41) ...
Procesando disparadores para man-db (2.7.5-1) ...
Procesando disparadores para systemd (229-4ubuntu5) ...
Procesando disparadores para ureadahead (0.100.0-19) ...
Configurando acpi (1.7-1) ...
Configurando tclx8.4 (8.4.1-1) ...
Configurando i8kutils (1.41) ...
Job for i8kmon.service failed because the control process exited with error code. See "systemctl status i8kmon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript i8kmon, action "start" failed.
dpkg: error al procesar el paquete i8kutils (--configure):
 el subproceso instalado el script post-installation devolvió el código de salida de error 1
Procesando disparadores para libc-bin (2.23-0ubuntu3) ...
Procesando disparadores para systemd (229-4ubuntu5) ...
Procesando disparadores para ureadahead (0.100.0-19) ...
Se encontraron errores al procesar:
 i8kutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

tags: added: wily xenial yakkety
removed: utopic vivid
Revision history for this message
Cruz Fernandez (cruz-fernandez) wrote :

I could install i8kutils by forcing the load of kernel module:

    sudo modprobe i8k force=1

Also for restarting I've added an option to the module:

    sudo su
    echo options i8k force=1 > /etc/modprobe.d/i8k.conf

Revision history for this message
sahil (lihas) wrote :

The solution suggested by @Cruz Fernandez (cruz-fernandez) works for me.
Tested on ubuntu 15.10 64bit. I executed the following command, before doing "apt install i8kutils" again.

    sudo modprobe i8k force=1

Revision history for this message
Roel De Coninck (roeldeconinck) wrote :

I had the same issue on ubuntu 16.04 and 16.10:

'''
Job for i8kmon.service failed because the control process exited with error code.
See "systemctl status i8kmon.service" and "journalctl -xe" for details.
invoke-rc.d: initscript i8kmon, action "start" failed.
● i8kmon.service - LSB: Dell fan/cpu-temperature monitor
   Loaded: loaded (/etc/init.d/i8kmon; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Son 2017-02-12 12:46:16 CET; 13ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6573 ExecStart=/etc/init.d/i8kmon start (code=exited, status=1/FAILURE)

Feb 12 12:46:16 roel-XPS-15-9560 systemd[1]: Starting LSB: Dell fan/cpu-temp....
Feb 12 12:46:16 roel-XPS-15-9560 i8kmon[6573]: * Starting Dell fan/cpu-temp...n
Feb 12 12:46:16 roel-XPS-15-9560 i8kmon[6573]: ...fail!
Feb 12 12:46:16 roel-XPS-15-9560 systemd[1]: i8kmon.service: Control process...1
Feb 12 12:46:16 roel-XPS-15-9560 systemd[1]: Failed to start LSB: Dell fan/c....
Feb 12 12:46:16 roel-XPS-15-9560 systemd[1]: i8kmon.service: Unit entered fa....
Feb 12 12:46:16 roel-XPS-15-9560 systemd[1]: i8kmon.service: Failed with res....
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package i8kutils (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 i8kutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
'''

After doing the sudo modprobe i8k force=1 I could however install i8kutils without error.

Revision history for this message
vitorafsr (vitorafsr) wrote :

Try i8kutils 1.43 to see if it solves the problem.

GMPH (gmphtravel)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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