Debian安装vmware虚拟机

Debian安装VMware本身并不难,到官网上下载一下安装包就可以安装了,但是装好之后会有一个问题,那不是再用aptitude或者软件中心安装其它软件时会出现无法安装的问题,这个就相当的严重了,据说这是一个vmware的bug...具体的错误提示类似于下面给出的:

    insserv: warning: script 'K01vmware' missing LSB tags and overrides

    insserv: warning: script 'S50vmware-USBArbitrator' missing LSB tags and overrides

insserv: warning: script 'vmware-USBArbitrator' missing LSB tags and overrides
insserv: warning: script 'vmware' missing LSB tags and overrides

解决方法如下:

在/etc/insserv/overrides/下新建vmware,内容如下:

### BEGIN INIT INFO
# Provides:          vmware
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: VMware VMX service for virtual machines
# Description:       Allows running of VMware virtual machines.                                    
### END INIT INFO

在/etc/insserv/overrides/下新建vmware-USBArbitrator,内容如下

### BEGIN INIT INFO
# Provides:          vmware-USBArbitrator
# Required-Start:    $remote_fs $syslog vmware
# Required-Stop:     $remote_fs $syslog vmware
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: Start daemon when vmware starts
# Description:       Enable service provided by daemon.
### END INIT INFO

在/etc/insserv/overriders/下新建vmware-workstation-server

### BEGIN INIT INFO
# Provides:          vmware-workstation-server
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# Default-Start:     2 3 5
# Default-Stop:      2 3 5
# Short-Description: have not defined yet
# Description:       the same as the line ahead                                    
### END INIT INFO

希望可以帮到遇到和我一样问题的朋友~~^_^.....

你可能感兴趣的:(vmware)