Package: xrdp
Version: 0.9.1-4~bpo8+1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
While attempting to update this package, it fails due to an issue in the
post-installation script.
# apt-get -t jessie-backports install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
guacamole
The following packages will be upgraded:
xrdp
1 upgraded, 0 newly installed, 0 to remove and 149 not upgraded.
Need to get 0 B/441 kB of archives.
After this operation, 1,254 kB of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 124472 files and directories currently installed.)
Preparing to unpack .../xrdp_0.9.1-4~bpo8+1_amd64.deb ...
Unpacking xrdp (0.9.1-4~bpo8+1) over (0.6.1-2) ...
Processing triggers for libc-bin (2.19-18+deb8u9) ...
Processing triggers for systemd (215-17+deb8u7) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up xrdp (0.9.1-4~bpo8+1) ...
Installing new version of config file /etc/default/xrdp ...
Installing new version of config file /etc/init.d/xrdp ...
Installing new version of config file /etc/xrdp/sesman.ini ...
Installing new version of config file /etc/xrdp/startwm.sh ...
Configuration file '/etc/xrdp/xrdp.ini'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** xrdp.ini (Y/I/N/O/D/Z) [default=N] ?
Job for xrdp.service failed. See 'systemctl status xrdp.service' and
'journalctl -xn' for details.
invoke-rc.d: initscript xrdp, action "restart" failed.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u9) ...
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
xrdp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Following the error's recommendation, I ran the following
# systemctl status xrdp.service
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-05-17 11:40:50 EDT; 1min
17s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
May 17 11:40:50 ws06-yyz systemd[1]: xrdp.service: control process exited,
code=exited status=1
May 17 11:40:50 ws06-yyz systemd[1]: Failed to start xrdp daemon.
May 17 11:40:50 ws06-yyz systemd[1]: Unit xrdp.service entered failed state.
# journalctl -xn
May 17 11:42:21 ws06-yyz systemd[1]: xrdp-sesman.service stop-sigterm timed
out. Killing.
May 17 11:42:21 ws06-yyz systemd[1]: xrdp-sesman.service: main process exited,
code=killed, status=9/KILL
May 17 11:42:21 ws06-yyz systemd[1]: Stopped xrdp session manager.
-- Subject: Unit xrdp-sesman.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit xrdp-sesman.service has finished shutting down.
May 17 11:42:21 ws06-yyz systemd[1]: Unit xrdp-sesman.service entered failed
state.
I then attempted to nudge it into installing properly.
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... 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.
Setting up xrdp (0.9.1-4~bpo8+1) ...
Job for xrdp.service failed. See 'systemctl status xrdp.service' and
'journalctl -xn' for details.
invoke-rc.d: initscript xrdp, action "restart" failed.
dpkg: error processing package xrdp (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-18+deb8u9) ...
Errors were encountered while processing:
xrdp
E: Sub-process /usr/bin/dpkg returned an error code (1)
This actually appears to get it past the xrdp-sesman failure to start issue, as
seen by the same checks.
# systemctl status xrdp.service
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-05-17 11:45:15 EDT; 3min
37s ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 17605 ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS (code=exited,
status=1/FAILURE)
Process: 17595 ExecStartPre=/bin/sh /usr/share/xrdp/socksetup (code=exited,
status=0/SUCCESS)
May 17 11:45:15 ws06-yyz systemd[1]: xrdp.service: control process exited,
code=exited status=1
May 17 11:45:15 ws06-yyz systemd[1]: Failed to start xrdp daemon.
May 17 11:45:15 ws06-yyz systemd[1]: Unit xrdp.ser