安装VMware Tools经常会出现兼容性不好,安装的时候经常core,导致系统之间复制文件失灵,准备使用open-vm-tools。
如果出现sudo apt install open-vm-tools-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome-session-common : Breaks: eog (< 3.36.0) but 3.28.1-1 is to be installed
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.28.4-0ubuntu18.04.1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
使用因为某些版本过于新,使用ubuntu官方源,不要使用阿里的源。
1 更新下系统源
sudo apt update
2 安装open-vm-tools
sudo apt install open-vm-tools
主要版本,因为可能版本不对,建议先搜索
sudo apt-cache madison open-vm-tools
open-vm-tools | 2:11.0.5-4ubuntu0.18.04.1 | bionic-updates/main amd64 Packages
open-vm-tools | 2:10.2.0-3ubuntu3 | bionic/main amd64 Packages
指定版本号安装
sudo apt install open-vm-tools=2:11.0.5-4ubuntu0.18.04.1
3 如果要实现文件夹共享,需要安装 open-vm-tools-dkms
sudo apt install open-vm-tools-dkms
4 桌面环境还需要安装 open-vm-tools-desktop 以支持双向拖放文件
sudo apt install open-vm-tools-desktop
阅读(2808) | 评论(0) | 转发(0) |