我尝试在 Ubuntu 15.04 中使用命令安装 RealVNC,dpkg -i <realvncinstallerfile>.deb
但在安装过程中出现以下错误。
Preparing to unpack VNC-Server-5.2.3-Linux-x86.deb ...
Unpacking realvnc-vnc-server (5.2.3.8648) ...
dpkg: dependency problems prevent configuration of realvnc-vnc-server:
realvnc-vnc-server depends on libc6.
realvnc-vnc-server depends on libx11-6 | xlibs (>> 4.1.0).
realvnc-vnc-server depends on libxext6 | xlibs (>> 4.1.0).
realvnc-vnc-server depends on libxtst6 | xlibs (>> 4.1.0).
dpkg: error processing package realvnc-vnc-server (--install):
dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for hicolor-icon-theme (0.14-0ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.58ubuntu1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu1) ...
Errors were encountered while processing:
realvnc-vnc-server
我无法将我的 PC 连接到互联网以直接下载/安装 VNC,因为它是一台生产 PC。尝试通过 USB 加密狗连接互联网,但该设备仅在 Windows 中支持。我对 Ubuntu 还很陌生,希望有人能帮助我,在此先谢谢了。
答案1
在 ubuntu 20.04 LTS 上安装 RealVNC .deb 包时我遇到了同样的问题。它向我显示了这个错误。
Selecting previously unselected package realvnc-vnc-viewer:i386.
(Reading database ... 287754 files and directories currently installed.)
Preparing to unpack VNC-Viewer-6.20.529-Linux-x86.deb ...
Unpacking realvnc-vnc-viewer:i386 (6.20.529.42646) ...
dpkg: dependency problems prevent configuration of realvnc-vnc-viewer:i386:
realvnc-vnc-viewer:i386 depends on libc6.
realvnc-vnc-viewer:i386 depends on libgcc1 (>= 1:4.1.1).
realvnc-vnc-viewer:i386 depends on libx11-6.
realvnc-vnc-viewer:i386 depends on libxext6.
dpkg: error processing package realvnc-vnc-viewer:i386 (--install):
dependency problems - leaving unconfigured
但是,这个命令修复了所有损坏的软件包 -
sudo apt --fix-broken install
然后我尝试dpkg -i <realvncinstallerfile>.deb
并成功安装。