![无法在 debian 8.5 (tinkeboard os) (Arm) 上使用 apt-get 安装 xrdp](https://linux22.com/image/108411/%E6%97%A0%E6%B3%95%E5%9C%A8%20debian%208.5%20(tinkeboard%20os)%20(Arm)%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20apt-get%20%E5%AE%89%E8%A3%85%20xrdp.png)
我刚刚得到了一个修补板来制作一个便宜的服务器,我正在尝试安装 xrdp。这是迄今为止尝试过的
sudo apt-get install xrdp
sudo apt-get -f install xrdp
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-update
sudo apt-get install clear
$ sudo apt-get install xrdp
Reading package lists... Done
Building dependency tree
Reading state information... Done
xrdp is already the newest version.
The following packages were automatically installed and are no longer required:
libllvm3.5 zlib1g-dev
Use 'apt-get autoremove' to remove them.
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] Y
Setting up xrdp (0.9.1-4~bpo8+1) ...
Generating 2048 bit rsa key...
ssl_gen_key_xrdp1 ok
saving to /etc/xrdp/rsakeys.ini
A dependency job for xrdp.service failed. See 'journalctl -xe' for details.
invoke-rc.d: initscript xrdp, action "start" 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+deb8u7) ...
Errors were encountered while processing:
xrdp
E: Sub-process /usr/bin/dpkg returned an error code (1)
Journalctl -xe 的输出是
Mar 27 22:14:25 linaro-alip xrdp-sesman[3140]: (3140)(-1225464928)[CORE ] shutti
Mar 27 22:14:25 linaro-alip systemd[1]: Failed to start xrdp session manager.
-- Subject: Unit xrdp-sesman.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit xrdp-sesman.service has failed.
--
-- The result is failed.
Mar 27 22:14:25 linaro-alip systemd[1]: Dependency failed for xrdp daemon.
-- Subject: Unit xrdp.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit xrdp.service has failed.
--
-- The result is dependency.
Mar 27 22:14:25 linaro-alip systemd[1]: xrdp-sesman.service: Failed with result
Mar 27 22:14:29 linaro-alip sudo[3059]: pam_unix(sudo:session): session closed f
Mar 27 22:15:24 linaro-alip kernel: RTL871X: nolinked power save leave
Mar 27 22:15:26 linaro-alip kernel: RTL871X: nolinked power save enter
Mar 27 22:16:28 linaro-alip kernel: RTL871X: nolinked power save leave
Mar 27 22:16:29 linaro-alip kernel: RTL871X: nolinked power save enter
答案1
您应该xrdp
从main
存储库安装,因为向后移植的包(xrdp(0.9.1-4~bpo8+1)依赖于取决于 :libc6 (>= 2.15) [not arm64]
。
删除xrdp
,然后编辑您的sources.list
和您的pin-priority
允许从稳定的存储库安装软件包。最后升级你的包并xrdp
像平常一样安装。
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get intall xrdp