行事曆

2月 24, 2012

關於VMware Workstation 8.xxx 及 Vmware Player 4.xxx 與Debian 問題..

去年年終,更新 VMware Workstation 8 版後...一直與Debian 不合...
Debian更新時  或 安裝套件時 總會出現如下訊息 一長串...
insserv: warning: script 'K01vmware' missing LSB tags and overrides
insserv: warning: script 'S50vmware-USBArbitrator' missing LSB tags and overrides
insserv: warning: script 'vmware-workstation-server' missing LSB tags and overrides
insserv: warning: script 'vmware-USBArbitrator' missing LSB tags and overrides
insserv: warning: script 'vmware' missing LSB tags and overrides
insserv: There is a loop at service rmnologin if started
insserv: There is a loop between service rmnologin and mountnfs if started
insserv:  loop involving service mountnfs at depth 6
insserv:  loop involving service nfs-common at depth 5 
無法順利更新安裝成套件.. 當初在Vmware的論譚,找到暫時的解決方法..
資料來源:http://communities.vmware.com/message/1875412#1875412
只是很好奇.去年年終算是剛推8版..今年年初都改到8.0.2了..Debian Kernel 也換到 2.6.32了..
問題還是沒解決~_~ 只好趁這段文字筆記 消失在電腦前.放到部落格當暫存吧..

解決方法:
首先若沒這個路徑目錄 /etc/insserv/overrides 先建立一個
  mkdir  /etc/insserv/overrides

編輯二個檔案
vmware , vmware-USBArbitrator,看你是要用vi, nano , 或 gedit都可以
 gedit /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 

 gedit /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/overrides/vmware*
chmod +x /etc/insserv/overrides/vmware-*

沒有留言: