0

有谁知道如何解决这个问题?这似乎一直工作到 7 日,然后突然之间,每当 xrdp 启动时,我都会收到此错误。这是重新安装 xrdp 的尝试:

# apt -y install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  guacamole xrdp-pulseaudio-installer
The following NEW packages will be installed:
  xrdp
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 435 kB of archives.
After this operation, 2,971 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 xrdp amd64 0.9.9-1+deb10u1 [435 kB]
Fetched 435 kB in 0s (2,104 kB/s)
Selecting previously unselected package xrdp.
(Reading database ... 64507 files and directories currently installed.)
Preparing to unpack .../xrdp_0.9.9-1+deb10u1_amd64.deb ...
Unpacking xrdp (0.9.9-1+deb10u1) ...
Setting up xrdp (0.9.9-1+deb10u1) ...
A dependency job for xrdp.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript xrdp, action "restart" failed.
● xrdp.service - xrdp daemon
   Loaded: loaded (/etc/systemd/system/xrdp.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:xrdp(8)
           man:xrdp.ini(5)

Nov 12 09:22:28 Cerberus systemd[1]: Dependency failed for xrdp daemon.
Nov 12 09:22:28 Cerberus systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Nov 12 10:43:41 Cerberus systemd[1]: Dependency failed for xrdp daemon.
Nov 12 10:43:41 Cerberus systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
dpkg: error processing package xrdp (--configure):
 installed xrdp package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (241-7~deb10u8) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
 xrdp
E: Sub-process /usr/bin/dpkg returned an error code (1)

我想这是因为我必须在 7 号进行了升级,但日志文件中没有任何内容,而 journalctl -xe 只是说同样的话:

-- Logs begin at Fri 2021-11-12 09:20:54 CST, end at Fri 2021-11-12 10:48:39 CST. --
Nov 12 09:22:28 Cerberus systemd[1]: Dependency failed for xrdp daemon.
-- Subject: A start job for unit xrdp.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit xrdp.service has finished with a failure.
--
-- The job identifier is 67 and the job result is dependency.
Nov 12 09:22:28 Cerberus systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.
Nov 12 10:43:41 Cerberus systemd[1]: Dependency failed for xrdp daemon.
-- Subject: A start job for unit xrdp.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit xrdp.service has finished with a failure.
--
-- The job identifier is 932 and the job result is dependency.
Nov 12 10:43:41 Cerberus systemd[1]: xrdp.service: Job xrdp.service/start failed with result 'dependency'.

有人知道什么依赖失败了吗?或者如何判断什么依赖失败了?

Debian Buster:Linux Cerberus 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

4

0 回答 0