0

当我尝试通过 SSH 为我的谷歌云计算引擎(Ubuntu)安装 chrome 远程桌面时,它显示出差异。给出以下消息:

$sudo dpkg --install chrome-remote-desktop_current_amd64.deb

Selecting previously unselected package chrome-remote-desktop.
(Reading database ... 113227 files and directories currently installed.)
Preparing to unpack chrome-remote-desktop_current_amd64.deb ...
Unpacking chrome-remote-desktop (91.0.4472.10) ...
dpkg: dependency problems prevent configuration of chrome-remote-desktop:
 chrome-remote-desktop depends on libgbm1 (>= 17.1.0~rc2); however:
  Version of libgbm1:amd64 on system is 13.0.6-1+b2.
dpkg: error processing package chrome-remote-desktop (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (232-25+deb9u12) ...
Errors were encountered while processing:
 chrome-remote-desktop

$ sudo apt install --assume-yes --fix-broken

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  chrome-remote-desktop
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 104 MB disk space will be freed.
(Reading database ... 113353 files and directories currently installed.)
Removing chrome-remote-desktop (91.0.4472.10) ...
4

1 回答 1

0

看起来您为比您正在运行的更新的 Ubuntu 下载了 DEB 包。你没有具体说明你正在运行什么,所以我只能推测。

您使用的版本会影响很多事情,以下输出是什么?

lsb_release -a

在非常旧的发行版上,安装较新的发行版外软件包会遇到很多问题。

而且我认为远程桌面需要匹配基本的chrome包,当你运行时会发生什么:

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt update
sudo apt install google-chrome-stable

如果您想远程控制您的服务器,您是否考虑过替代方案?

  • 使用 SSH 的 X11 转发隧道
  • 无机器
  • VNC 服务器(我仍然会通过 SSH 使用它以使其更安全)
  • 团队查看器
于 2021-05-13T10:47:24.760 回答