Archivo

Archive for the ‘Debian’ Category

VMware bloquea las actualizaciónes de software en Debian Squeeze

viernes, 25 May 2012 3 comentarios

Hola,

hace tiempo al intentar actualizar mi Debian Squeeze de casa me salían errores de insserv y el proceso de apt-get upgrade devolvía un error. El problema parecía relacionado con vmware tal como aparece en el log.

configurando initscripts (2.88dsf-13.1+squeeze1) ...
insserv: warning: script 'K01vmware' missing LSB tags and overrides
insserv: warning: script 'K08vmware-USBArbitrator' missing LSB tags and overrides
insserv: warning: script 'vmware' missing LSB tags and overrides
insserv: warning: script 'vmware-USBArbitrator' missing LSB tags and overrides
insserv: There is a loop between service rc.local and mountnfs if started
insserv: loop involving service mountnfs at depth 6
insserv: loop involving service nfs-common at depth 5
insserv: There is a loop between service rc.local and checkroot if started
insserv: loop involving service checkroot at depth 3
insserv: loop involving service hdparm at depth 2
insserv: Starting vmware-USBArbitrator depends on rc.local and therefore on system facility `$all' which can not be true!
....

En los foros de vmware encontré a más gente con el mismo problema y la solución pasa por usar /etc/insserv/overrides.

Para ello creamos los siguientes ficheros

/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

Y como root ejecutamos en una consola el comando

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

Ahora si ejecutamos un apt-get upgrade no debería darnos ningún error.

Leer más…

Categorías: Debian, Linux Etiquetas: ,