VMware Communities
SamSpade
Contributor
Contributor

Vmware Player Prevents Aptitude from Installing Debian Packages

I am running a fresh install of debian wheezy. I installed VMware Player 4.0.1 build-528992 and then Windows 7 in a vm. Everything is working properly, until I tried to use aptitude to install foomatic-db-hpijs. VMware seems to be preventing aptitude from installing the debian packages. The error messages:

root@orca:~# aptitude install foomatic-db-hpijs
Note: selecting "foomatic-db" instead of the
      virtual package "foomatic-db-hpijs"
The following NEW packages will be installed:
  foomatic-db
The following partially installed packages will be configured:
  cups
0 packages upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 0 B/1,248 kB of archives. After unpacking 6,966 kB will be used.
Selecting previously unselected package foomatic-db.
(Reading database ... 131007 files and directories currently installed.)
Unpacking foomatic-db (from .../foomatic-db_20110831-1_all.deb) ...
Setting up cups (1.5.0-12) ...
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
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: There is a loop at service vmware-USBArbitrator if started
insserv: There is a loop at service rmnologin if started
insserv:  loop involving service vmware-USBArbitrator at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing cups (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up foomatic-db (20110831-1) ...
configured to not write apport reports
                                      Errors were encountered while processing:
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up cups (1.5.0-12) ...
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
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Starting vmware-USBArbitrator depends on rmnologin and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: There is a loop at service vmware-USBArbitrator if started
insserv: There is a loop at service rmnologin if started
insserv:  loop involving service vmware-USBArbitrator at depth 1
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing cups (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
cups
                                        
root@orca:~#
Anyone see this before? Any ideas, short of removing VMware and then reinstalling it, to fix this problem?
Thanks,
Mark
Reply
0 Kudos
12 Replies
SamSpade
Contributor
Contributor

The problem turned out to be the missing LSB in the script vmware-USBArbitrator. I add theses lines to the script, and I was able to install cups with no errors and run vmware.
### BEGIN INIT INFO
# Provides:          vmware-USBArbitrator
# Required-Start:    $remote_fs $syslog
# Required-Stop:     $remote_fs $syslog
# 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
I would submit this as a bug for VMware Player, but I can't find a link for bug reports.
Mark
Reply
0 Kudos
sqqqrly
Contributor
Contributor

I had the exact same error..... Running LMDE 11 - XFCE

USB is busted in vmware 8.

Reply
0 Kudos
SamSpade
Contributor
Contributor

As a postscript, I found that my usb ports would not work in the guest (Windows 7). However, if I re-enabled the original vmware-USBArbitrator and rebooted, usb worked correctly in the guest and host. So, I guess when I get the error after installing new software, I will have to bounce back to the modified file, and when I want to use the usb on the guest, I will enable the other file. What a pain!

Perhaps now I understand why there is no bug reporting link on the vmware site! Smiley Wink

Mark

Reply
0 Kudos
sqqqrly
Contributor
Contributor

Better, write an expect script....

I use expect quite a bit and this is a good application.  Thanks for the hint about getting usb working.  It is a real pain. 

Reply
0 Kudos
ccroom
Contributor
Contributor

I am having the very same issues.  Recent install of Wheezy.  I did create a symbolic link to the rc.d folder that I found in the ArchLinux website but still have some errors.  It does allow programs to install.  Has anyone found a permanent solution?

# ln -s /etc/init.d/vmware /etc/rc.d/vmware
# ln -s /etc/init.d/vmware-workstation-server /etc/rc.d/vmware-workstation-server
Reply
0 Kudos
sqqqrly
Contributor
Contributor

Thanks SamSpade.  :smileycool:

Your LSB edit fixed both my usb issue and fixed my apt-get update failures!

If not for you, I would have been reinstalling. Possibly another distro to when it was really a vmware bug and not LMDE.   I like LMDE.

This is a serious bug.  I was also going to give Oracle's :smileycry: virtualbox a go, but I could not install it because of this.   If I had reinstalled it might have been the end of vmware for me.

I reported this to support.  They replied that no one else had seen this issue, but obviously from this thread, I am not alone.  I have since pointed them to this thread.

-s

Reply
0 Kudos
rldleblanc
Contributor
Contributor

Probably a cleaner way to approach this is to use /etc/insserv/overrides. Do the following:

Create /etc/insserv/overrides/vmware with the following:

### 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

Create /etc/insserv/overrides/vmware-USBArbitrator with the following:

### 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

Then run 'chmod +x /etc/insserv/overrides/vmware*

This prevents the fix from being broken with an update to the shipped init.d script and my fix your USB problem. Since I don't use USB in a VM, I can't test it.

Robert

Reply
0 Kudos
KingKuranez
Contributor
Contributor

I get the same error when trying to install openvpn.

I can confirm that the solution in #7 solves the problem for me. USB works in the VM. I also added the LSB override for the vmware-workstation-server script to get rid of the last warning when installing.

Asus N53S running Linux Mint LXDE xfce 64-bit (win7 in VM)

Reply
0 Kudos
Marvin42
Contributor
Contributor

Thankyou rldleblanc, your solution works fine for me to

Regards,

Marvin42

Reply
0 Kudos
skibum58
Contributor
Contributor

Almost fixed, thanks to this thread.

What would an override for this look like?

     warning: script 'vmware-workstation-server' missing LSB tags and overrides

I'm not sure what to put after your $syslog entry.

Your vmware and vmware-USBArbitrator overrides worked flawlessly.

I have yet to check whether I still need to manually start the USBArbitrator, will report back when I do.  For right now I'm just trying to get my apt-get cleaned up.

Reply
0 Kudos
Netsrac
Contributor
Contributor

I still have this problem with debian wheezy 7.2 and vmware player 5.0.2 - Post #7 fixed this.

Reply
0 Kudos
AndrewStonie
Contributor
Contributor

Roberts answer is the correct one.

The reason this happens is because the VMWare package is a generic Linux one (not a Debian package).

Debian since Wheezy uses a dependency based boot sequence for daemons (see Sam's notes)

Here is the whole lot:

nano /etc/insserv/overrides/vmware

[PASTE BELOW INTO NANO]

### 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

Ctrl+x+y+enter

nano /etc/insserv/overrides/vmware-USBArbitrator

[PASTE BELOW INTO NANO]

### 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

Ctrl+x+y+enter

nano /etc/insserv/overrides/vmware-workstation-server

[PASTE BELOW INTO NANO]

### BEGIN INIT INFO

# Provides:          vmware-workstation-server

# 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

Ctrl+x+y+enter

chmod +x /etc/insserv/overrides/vmware*

Reply
0 Kudos