[pkg-fso-maint] Bug#861771: Fails to install: postinst script returned error exit status 1

Ryan Kavanagh rak at debian.org
Wed May 3 20:13:25 UTC 2017


Package: nodm
Version: 0.13-1.2
Severity: grave

nodm fails to install/upgrade. Please see the attached output from
journalctl -xe. I marked the severity as grave because the package fails
to install/upgrade, thus rendering it unusable to (all?) users.

----------------------8<---------------------------
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up nodm (0.13-1.2) ...
Job for nodm.service failed because the control process exited with error code.
See "systemctl status nodm.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nodm, action "start" failed.
● nodm.service - Display manager for automatic session logins
   Loaded: loaded (/lib/systemd/system/nodm.service; static; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Wed 2017-05-03 16:05:42 EDT; 7ms ago
     Docs: man:nodm(8)
  Process: 20265 ExecStartPre=/usr/bin/test ${NODM_ENABLED} != no -a ${NODM_ENABLED} != false (code=exited, status=1/FAILURE)

May 03 16:05:42 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:05:42 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
dpkg: error processing package nodm (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 nodm
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo systemctl status nodm.service
● nodm.service - Display manager for automatic session logins
   Loaded: loaded (/lib/systemd/system/nodm.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-05-03 16:06:47 EDT; 3min 41s ago
     Docs: man:nodm(8)
  Process: 20844 ExecStartPre=/usr/bin/test ${NODM_ENABLED} != no -a ${NODM_ENABLED} != false (code=exited, status=1/FAILURE)

May 03 16:06:47 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:47 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:47 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:47 zeta systemd[1]: Stopped Display manager for automatic session logins.
May 03 16:06:47 zeta systemd[1]: nodm.service: Start request repeated too quickly.
May 03 16:06:47 zeta systemd[1]: Failed to start Display manager for automatic session logins.
May 03 16:06:47 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:47 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
----------------------8<---------------------------


-- System Information:
Debian Release: 9.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_CA.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nodm depends on:
ii  debconf [debconf-2.0]  1.5.60
ii  libc6                  2.24-10
ii  libpam0g               1.1.8-3.5
ii  libx11-6               2:1.6.4-3
ii  lsb-base               9.20161125
ii  x11-common             1:7.7+19
ii  xserver-xorg-core      2:1.19.3-1

nodm recommends no packages.

nodm suggests no packages.

-- debconf information:
  nodm/first_vt: 7
* shared/default-x-display-manager: xdm
  nodm/min_session_time: 60
  nodm/x_timeout: 300
  nodm/x_options: -nolisten tcp
  nodm/user: rak
  nodm/daemon_name: /usr/sbin/nodm
* nodm/enabled: false
  nodm/xsession: /etc/X11/Xsession

-- 
|_)|_/  Ryan Kavanagh      | GPG: 4E46 9519 ED67 7734 268F
| \| \  https://ryanak.ca/ |      BD95 8F7B F8FC 4A11 C97A
-------------- next part --------------
May 03 16:06:40 zeta sudo[20525]: pam_unix(sudo:session): session closed for user root
May 03 16:06:41 zeta sudo[20665]:      rak : TTY=pts/8 ; PWD=/home/rak ; USER=root ; COMMAND=/usr/bin/apt upgrade
May 03 16:06:41 zeta sudo[20665]: pam_unix(sudo:session): session opened for user root by rak(uid=0)
May 03 16:06:46 zeta systemd[1]: Reloading.
May 03 16:06:46 zeta systemd[1]: Starting Display manager for automatic session logins...
-- Subject: Unit nodm.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has begun starting up.
May 03 16:06:46 zeta systemd[1]: nodm.service: Control process exited, code=exited status=1
May 03 16:06:46 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:46 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:46 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:46 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:46 zeta systemd[1]: Stopped Display manager for automatic session logins.
-- Subject: Unit nodm.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has finished shutting down.
May 03 16:06:46 zeta systemd[1]: Starting Display manager for automatic session logins...
-- Subject: Unit nodm.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has begun starting up.
May 03 16:06:46 zeta systemd[1]: nodm.service: Control process exited, code=exited status=1
May 03 16:06:46 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:46 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:46 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:46 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:46 zeta systemd[1]: Stopped Display manager for automatic session logins.
-- Subject: Unit nodm.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has finished shutting down.
May 03 16:06:46 zeta systemd[1]: Starting Display manager for automatic session logins...
-- Subject: Unit nodm.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has begun starting up.
May 03 16:06:46 zeta systemd[1]: nodm.service: Control process exited, code=exited status=1
May 03 16:06:46 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:46 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:46 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:46 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:46 zeta systemd[1]: Stopped Display manager for automatic session logins.
-- Subject: Unit nodm.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has finished shutting down.
May 03 16:06:46 zeta systemd[1]: Starting Display manager for automatic session logins...
-- Subject: Unit nodm.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has begun starting up.
May 03 16:06:46 zeta systemd[1]: nodm.service: Control process exited, code=exited status=1
May 03 16:06:46 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:46 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:46 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:47 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:47 zeta systemd[1]: Stopped Display manager for automatic session logins.
-- Subject: Unit nodm.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has finished shutting down.
May 03 16:06:47 zeta systemd[1]: Starting Display manager for automatic session logins...
-- Subject: Unit nodm.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has begun starting up.
May 03 16:06:47 zeta systemd[1]: nodm.service: Control process exited, code=exited status=1
May 03 16:06:47 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:47 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:47 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
May 03 16:06:47 zeta sudo[20665]: pam_unix(sudo:session): session closed for user root
May 03 16:06:47 zeta systemd[1]: nodm.service: Service hold-off time over, scheduling restart.
May 03 16:06:47 zeta systemd[1]: Stopped Display manager for automatic session logins.
-- Subject: Unit nodm.service has finished shutting down
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has finished shutting down.
May 03 16:06:47 zeta systemd[1]: nodm.service: Start request repeated too quickly.
May 03 16:06:47 zeta systemd[1]: Failed to start Display manager for automatic session logins.
-- Subject: Unit nodm.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit nodm.service has failed.
-- 
-- The result is failed.
May 03 16:06:47 zeta systemd[1]: nodm.service: Unit entered failed state.
May 03 16:06:47 zeta systemd[1]: nodm.service: Failed with result 'exit-code'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1873 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20170503/e81e8e69/attachment.sig>


More information about the pkg-fso-maint mailing list