博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubunut-记一次安装VMware 14 pro经历
阅读量:5808 次
发布时间:2019-06-18

本文共 17859 字,大约阅读时间需要 59 分钟。

安装VMware

#开头就是这样

hanlong@HanLong-Ubuntu:~/Downloads$ ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offset(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",(vmware-installer.py:22083): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

#百度查找看到一哥们说解决了这个问题就试了下,结果不适合这系统

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get remove gtk2-engines-murrineReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following packages will be REMOVED:  gtk2-engines-murrine light-themes ubuntu-artwork ubuntu-desktop0 upgraded, 0 newly installed, 4 to remove and 10 not upgraded.2 not fully installed or removed.After this operation, 18.1 MB disk space will be freed.Do you want to continue? [Y/n] y(Reading database ... 240353 files and directories currently installed.)Removing ubuntu-desktop (1.417) ...Removing ubuntu-artwork (1:16.10+18.04.20180421.1-0ubuntu1) ...Removing light-themes (16.10+18.04.20180421.1-0ubuntu1) ...Removing gtk2-engines-murrine:amd64 (0.98.2-2ubuntu1) ...Setting up initramfs-tools (0.130ubuntu3.1) ...update-initramfs: deferring update (trigger activated)Processing triggers for hicolor-icon-theme (0.17-2) ...Setting up linux-image-4.15.0-30-generic (4.15.0-30.32) ...Processing triggers for initramfs-tools (0.130ubuntu3.1) ...update-initramfs: Generating /boot/initrd.img-4.15.0-32-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-32-generic with 1.dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Processing triggers for linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-4.15.0-30-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-30-generic with 1.run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1dpkg: error processing package linux-image-4.15.0-30-generic (--configure): installed linux-image-4.15.0-30-generic package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-tools linux-image-4.15.0-30-genericE: Sub-process /usr/bin/dpkg returned an error code (1)

#悲催的出现问题了

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get install gtk2-engines-murrineReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following NEW packages will be installed:  gtk2-engines-murrine0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.2 not fully installed or removed.Need to get 88.7 kB of archives.After this operation, 324 kB of additional disk space will be used.Get:1 http://cn.archive.ubuntu.com/ubuntu bionic/main amd64 gtk2-engines-murrine amd64 0.98.2-2ubuntu1 [88.7 kB]Fetched 88.7 kB in 2s (54.9 kB/s)               Selecting previously unselected package gtk2-engines-murrine:amd64.(Reading database ... 239503 files and directories currently installed.)Preparing to unpack .../gtk2-engines-murrine_0.98.2-2ubuntu1_amd64.deb ...Unpacking gtk2-engines-murrine:amd64 (0.98.2-2ubuntu1) ...Setting up gtk2-engines-murrine:amd64 (0.98.2-2ubuntu1) ...Setting up initramfs-tools (0.130ubuntu3.1) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-4.15.0-30-generic (4.15.0-30.32) ...Processing triggers for initramfs-tools (0.130ubuntu3.1) ...update-initramfs: Generating /boot/initrd.img-4.15.0-32-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-32-generic with 1.dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Processing triggers for linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-4.15.0-30-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-30-generic with 1.run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1dpkg: error processing package linux-image-4.15.0-30-generic (--configure): installed linux-image-4.15.0-30-generic package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-tools linux-image-4.15.0-30-genericE: Sub-process /usr/bin/dpkg returned an error code (1)

#尝试修复,结果没啥用

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt --fix-broken installReading package lists... DoneBuilding dependency tree       Reading state information... Done0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.2 not fully installed or removed.After this operation, 0 B of additional disk space will be used.Setting up initramfs-tools (0.130ubuntu3.1) ...update-initramfs: deferring update (trigger activated)Setting up linux-image-4.15.0-30-generic (4.15.0-30.32) ...Processing triggers for initramfs-tools (0.130ubuntu3.1) ...update-initramfs: Generating /boot/initrd.img-4.15.0-32-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-32-generic with 1.dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1Processing triggers for linux-image-4.15.0-30-generic (4.15.0-30.32) .../etc/kernel/postinst.d/initramfs-tools:update-initramfs: Generating /boot/initrd.img-4.15.0-30-genericgzip: stdout: No space left on deviceE: mkinitramfs failure find 141 cpio 141 gzip 1update-initramfs: failed for /boot/initrd.img-4.15.0-30-generic with 1.run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1dpkg: error processing package linux-image-4.15.0-30-generic (--configure): installed linux-image-4.15.0-30-generic package post-installation script subprocess returned error exit status 1Errors were encountered while processing: initramfs-tools linux-image-4.15.0-30-genericE: Sub-process /usr/bin/dpkg returned an error code (1)

#一直看啊看,找啊找,最后发现版本不匹配,升级过。发现问题就解决问题,接下来就删掉新版本,删除顺利

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get remove initramfs-tools linux-image-4.15.0-30-genericReading package lists... DoneBuilding dependency tree       Reading state information... DoneThe following packages will be REMOVED:  brltty initramfs-tools linux-image-4.15.0-30-generic linux-modules-extra-4.15.0-30-generic ubuntu-minimal0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.2 not fully installed or removed.After this operation, 187 MB disk space will be freed.Do you want to continue? [Y/n] y(Reading database ... 239508 files and directories currently installed.)Removing ubuntu-minimal (1.417) ...Removing brltty (5.5-4ubuntu2) ...Removing initramfs-tools (0.130ubuntu3.1) ...Removing linux-modules-extra-4.15.0-30-generic (4.15.0-30.32) ...Removing linux-image-4.15.0-30-generic (4.15.0-30.32) ...I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.15.0-20-genericI: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-20-genericI: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-32-genericI: /initrd.img is now a symlink to boot/initrd.img-4.15.0-32-generic/var/lib/dpkg/info/linux-image-4.15.0-30-generic.postrm ... removing pending trigger/etc/kernel/postrm.d/zz-update-grub:Generating grub configuration file ...Found linux image: /boot/vmlinuz-4.15.0-32-genericFound initrd image: /boot/initrd.img-4.15.0-32-genericFound linux image: /boot/vmlinuz-4.15.0-20-genericFound initrd image: /boot/initrd.img-4.15.0-20-genericFound memtest86+ image: /memtest86+.elfFound memtest86+ image: /memtest86+.binFile descriptor 10 (/var/lib/dpkg/triggers/update-initramfs (deleted)) leaked on lvs invocation. Parent PID 26578: /bin/shFound Windows 7 on /dev/sda1doneProcessing triggers for man-db (2.8.3-2) ...

#安装VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle

hanlong@HanLong-Ubuntu:~/Downloads$ ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "atk-bridge": /usr/lib/x86_64-linux-gnu/libatspi.so.0: undefined symbol: g_type_class_adjust_private_offsetGtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directoryhanlong@HanLong-Ubuntu:~/Downloads$ sudo ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

→→报错:

1.安装需要sudo命令,没有输入
2.找不到包 atk-bridge、canberra-gtk-module

#两个包已经安装过了,但是无法加载

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get install libatspi2.0-0 libcanberra-gtk-module Reading package lists... DoneBuilding dependency tree       Reading state information... Donelibatspi2.0-0 is already the newest version (2.28.0-1).libcanberra-gtk-module is already the newest version (0.30-5ubuntu1).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

#输入ldconfig,使库生效

hanlong@HanLong-Ubuntu:~/Downloads$ sudo ldconfig

#查看运行环境是否还缺少包,可以看到还少一个。

hanlong@HanLong-Ubuntu:~/Downloads$ sudo ./VMware-Workstation-Full-14.1.2-8497320.x86_64.bundle Extracting VMware Installer...done.Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

#尝试装了ibcanberra-gtk-dev ,发现真的可以,那么就解决问题了。

hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get install libcanberra-gtk-dev

#输入启动命令,按安装终于可以了。

hanlong@HanLong-Ubuntu:~/Downloads$ vmwareGtk-Message: 10:10:14.604: GtkDialog mapped without a transient parent. This is discouraged.Stopping VMware services:   VMware Authentication Daemon                                        done   VM communication interface socket family                            done   Virtual machine communication interface                             done   Virtual machine monitor                                             done   Blocking file system                                                donemake: Entering directory '/tmp/modconfig-nDtq8h/vmmon-only'/usr/bin/make -C /lib/modules/4.15.0-20-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \  MODULEBUILDDIR= modulesmake[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/linux/driver.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/linux/hostif.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/linux/driverLog.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/memtrack.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/apic.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/vmx86.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/hashFunc.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/cpuid.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/task.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/comport.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/common/phystrack.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/vmcore/moduleloop.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/bootstrap/monLoaderVmmon.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/bootstrap/monLoader.o  CC [M]  /tmp/modconfig-nDtq8h/vmmon-only/bootstrap/bootstrap.o  LD [M]  /tmp/modconfig-nDtq8h/vmmon-only/vmmon.o  Building modules, stage 2.  MODPOST 1 modules  CC      /tmp/modconfig-nDtq8h/vmmon-only/vmmon.mod.o  LD [M]  /tmp/modconfig-nDtq8h/vmmon-only/vmmon.komake[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'/usr/bin/make -C $PWD SRCROOT=$PWD/. \  MODULEBUILDDIR= postbuildmake[1]: Entering directory '/tmp/modconfig-nDtq8h/vmmon-only'make[1]: 'postbuild' is up to date.make[1]: Leaving directory '/tmp/modconfig-nDtq8h/vmmon-only'cp -f vmmon.ko ./../vmmon.omake: Leaving directory '/tmp/modconfig-nDtq8h/vmmon-only'make: Entering directory '/tmp/modconfig-nDtq8h/vmnet-only'/usr/bin/make -C /lib/modules/4.15.0-20-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \  MODULEBUILDDIR= modulesmake[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic'  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/driver.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/hub.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/userif.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/netif.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/bridge.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/procfs.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/smac.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/smac_compat.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/vnetEvent.o  CC [M]  /tmp/modconfig-nDtq8h/vmnet-only/vnetUserListener.o  LD [M]  /tmp/modconfig-nDtq8h/vmnet-only/vmnet.o  Building modules, stage 2.  MODPOST 1 modules  CC      /tmp/modconfig-nDtq8h/vmnet-only/vmnet.mod.o  LD [M]  /tmp/modconfig-nDtq8h/vmnet-only/vmnet.komake[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'/usr/bin/make -C $PWD SRCROOT=$PWD/. \  MODULEBUILDDIR= postbuildmake[1]: Entering directory '/tmp/modconfig-nDtq8h/vmnet-only'make[1]: 'postbuild' is up to date.make[1]: Leaving directory '/tmp/modconfig-nDtq8h/vmnet-only'cp -f vmnet.ko ./../vmnet.omake: Leaving directory '/tmp/modconfig-nDtq8h/vmnet-only'Starting VMware services:   Virtual machine monitor                                             done   Virtual machine communication interface                             done   VM communication interface socket family                            done   Blocking file system                                                done   Virtual ethernet                                                    done   VMware Authentication Daemon                                        done   Shared Memory Available                                             done

#终于看到熟悉的界面了

Ubunut-记一次安装VMware 14 pro经历

转载于:https://blog.51cto.com/hongdouzi555/2160124

你可能感兴趣的文章
使用Openfiler搭建ISCSI网络存储
查看>>
应用新安全组 - 每天5分钟玩转 OpenStack(116)
查看>>
Guid.NewGuid().ToString()的几种格式
查看>>
生产制造追溯系统
查看>>
4.3. 键盘设置
查看>>
iOS - UIViewController
查看>>
MYSQL子查询与连接
查看>>
Appium+python自动化20-查看iOS上app元素属性
查看>>
准备 overlay 网络实验环境 - 每天5分钟玩转 Docker 容器技术(49)
查看>>
论文笔记之:Large Scale Distributed Semi-Supervised Learning Using Streaming Approximation
查看>>
IntPtr 转 string
查看>>
一文搞懂各种 Docker 网络 - 每天5分钟玩转 Docker 容器技术(72)
查看>>
学生名单
查看>>
(转) 多模态机器翻译
查看>>
【官方文档】Nginx负载均衡学习笔记(三) TCP和UDP负载平衡官方参考文档
查看>>
opencv安装指南
查看>>
矩阵常用归一化
查看>>
Oracle常用函数总结
查看>>
SpringCloud实战小贴士:Zuul的路径匹配
查看>>
【聚能聊有奖话题】Boring隧道掘进机完成首段挖掘,离未来交通还有多远?
查看>>