标签:vmcore idg oop module event 技术 tools des download
安装VMwarehanlong@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-murrine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
gtk2-engines-murrine light-themes ubuntu-artwork ubuntu-desktop
0 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
Processing 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
dpkg: 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 1
Errors were encountered while processing:
initramfs-tools
linux-image-4.15.0-30-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
#悲催的出现问题了
hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt-get install gtk2-engines-murrine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gtk2-engines-murrine
0 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
Processing 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
dpkg: 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 1
Errors were encountered while processing:
initramfs-tools
linux-image-4.15.0-30-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
#尝试修复,结果没啥用
hanlong@HanLong-Ubuntu:~/Downloads$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
Processing 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-generic
gzip: stdout: No space left on device
E: mkinitramfs failure find 141 cpio 141 gzip 1
update-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 1
dpkg: 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 1
Errors were encountered while processing:
initramfs-tools
linux-image-4.15.0-30-generic
E: 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-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
brltty initramfs-tools linux-image-4.15.0-30-generic linux-modules-extra-4.15.0-30-generic ubuntu-minimal
0 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-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.15.0-20-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-4.15.0-32-generic
I: /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-generic
Found initrd image: /boot/initrd.img-4.15.0-32-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
File descriptor 10 (/var/lib/dpkg/triggers/update-initramfs (deleted)) leaked on lvs invocation. Parent PID 26578: /bin/sh
Found Windows 7 on /dev/sda1
done
Processing 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_offset
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 ./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... Done
Building dependency tree
Reading state information... Done
libatspi2.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$ vmware
Gtk-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 done
make: 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= modules
make[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.ko
make[1]: Leaving directory ‘/usr/src/linux-headers-4.15.0-20-generic‘
/usr/bin/make -C $PWD SRCROOT=$PWD/. MODULEBUILDDIR= postbuild
make[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.o
make: 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= modules
make[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.ko
make[1]: Leaving directory ‘/usr/src/linux-headers-4.15.0-20-generic‘
/usr/bin/make -C $PWD SRCROOT=$PWD/. MODULEBUILDDIR= postbuild
make[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.o
make: 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
#终于看到熟悉的界面了
标签:vmcore idg oop module event 技术 tools des download
原文地址:http://blog.51cto.com/hongdouzi555/2160124