正在尝试在 Ubuntu 20.10 arm64 机器上安装任何 desk:arm-hf。
因为跨平台,我使用 dpkg 进行安装。
> > pi@pi-desktop:~/Downloads$ sudo dpkg --force architecture -i anydesk_6.0.1-1_armhf.deb Selecting previously unselected package > anydesk:armhf. (Reading database ... 136205 files and directories > currently installed.) Preparing to unpack anydesk_6.0.1-1_armhf.deb > ... Warning: The unit file, source configuration file or drop-ins of > anydesk.service changed on disk. Run 'systemctl daemon-reload' to > reload units. Unpacking anydesk:armhf (6.0.1) ... Setting up > anydesk:armhf (6.0.1) ... Created symlink > /etc/systemd/system/multi-user.target.wants/anydesk.service → > /etc/systemd/system/anydesk.service. Processing triggers for > gnome-menus (3.36.0-1ubuntu1) ... Processing triggers for > desktop-file-utils (0.24-1ubuntu4) ... Processing triggers for > mime-support (3.64ubuntu1) ... Processing triggers for > hicolor-icon-theme (0.17-2) ... > > anydesk got installed.
但当我尝试通过终端打开时它显示错误
anydesk: error while loading shared libraries: libpolkit-gobject-1.so.0: cannot open shared object file: No such file or directory
所以我尝试使用 aptitiude 安装 libpolkit-gobject-1.so.0
pi@pi-desktop:~$ sudo apt-get install libpolkit-gobject-1.so.0
[sudo] password for pi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpolkit-gobject-1.so.0
E: Couldn't find any package by glob 'libpolkit-gobject-1.so.0'
E: Couldn't find any package by regex 'libpolkit-gobject-1.so.0'
在参考了一些论坛后我尝试了这个
pi@pi-desktop:~$ apt-file list libpolkit-gobject-1-0
libpolkit-gobject-1-0: /usr/lib/aarch64-linux-gnu/libpolkit-gobject-1.so.0
libpolkit-gobject-1-0: /usr/lib/aarch64-linux-gnu/libpolkit-gobject-1.so.0.0.0
libpolkit-gobject-1-0: /usr/share/doc/libpolkit-gobject-1-0/changelog.Debian.gz
libpolkit-gobject-1-0: /usr/share/doc/libpolkit-gobject-1-0/copyright
仍然收到相同的错误。如何安装 libpolkit-gobject-1.so.0 或如何使 anydesk 工作