我使用此处的提示安装了 x11rdp如何安装和配置 X11RDP?,它是一个下载、构建、安装和配置 x11rdp 的脚本,我运行了一次sudo bash setup.sh
,它没有工作,因为我没有命令,make
所以我安装了它,make 命令运行时没有问题,除了包libxcb1-dev
,它似乎坏了,我试图运行apt-get -f install
,它再次没有工作,我试图用更新管理器更新,同样的问题又出现了,我试着使用 synaptic 但仍然没有工作,有什么想法可以解决这个问题,或者有什么想法是我做错了什么或者脚本做错了或者是包中的问题?顺便说一句,即使包坏了,我也可以使用脚本安装 x11rdp,而且我使用起来没有问题。
这里是日志:
The following packages have unmet dependencies:
libxcb1-dev: Depends: libxcb1 (= 1.8.1-1) but 1.8.1-1ubuntu0.1 is installed
Depends: libxau-dev (>= 1:1.0.0-1) but 1:1.0.6-4 is installed
Depends: libxdmcp-dev (>= 1:1.0.0-1) but 1:1.1.0-4 is installed
ldconfig deferred processing now taking place
and log into the `apt-get -f install`
Errors were encountered while processing:
libxcb1-dev
libx11-dev
libxfixes-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libxcb1-dev:
libxcb1-dev depends on libxcb1 (= 1.8.1-1); however:
Version of libxcb1 on system is 1.8.1-1ubuntu0.1.
dpkg: error processing libxcb1-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libx11-dev:
libx11-dev depends on libxcb1-dev; however:
Package libxcb1-dev is not configured yet.
dpkg: error processing libx11-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxfixes-dev:
libxfixes-dev depends on libx11-dev; however:
Package libx11-dev is not configured yet.
dpkg: error processing libxfixes-dev (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libxcb1-dev
libx11-dev
libxfixes-dev
答案1
安装构建必需品如果您还没有这样做。它提供了各种可用于在 Ubuntu 中构建软件的软件包。它可以在软件中心安装,也可以通过运行以下命令安装:
sudo apt-get update && sudo apt-get install build-essential