Today I did an update via web interface. The update somehow went wrong and the web interface didn’t come back.
I logged in via ssh and I did an
apt-get update && apt-get upgrade
I received the following error, and I don’t know how to fix it.
Setting up samba (2:3.6.6-6+deb7u10) ...
insserv: warning: script 'shairport' missing LSB tags and overrides
insserv: warning: script 'gmediarender' missing LSB tags and overrides
insserv: warning: script 'squeezelite' missing LSB tags and overrides
insserv: There is a loop between service logitechmediaserver and shairport if stopped
insserv: loop involving service shairport at depth 2
insserv: loop involving service logitechmediaserver at depth 1
insserv: Stopping shairport depends on logitechmediaserver and therefore on system facility '$all' which can not be true!
insserv: Stopping gmediarender depends on logitechmediaserver and therefore on system facility '$all' which can not be true!
insserv: Stopping squeezelite depends on logitechmediaserver and therefore on system facility '$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing samba (--configure):
I read around that the init file of logitechmediaserver should be responsible and I should fix it but I don’t want to make more damage and I’m asking for help.
Thanks
This topic was modified 8 years, 2 months ago by gianpaoloracca.
This topic was modified 8 years, 2 months ago by gianpaoloracca.
This topic was modified 8 years, 2 months ago by gianpaoloracca.
This topic was modified 8 years, 2 months ago by gianpaoloracca.
Ok, maybe I solved it.
I ran the script again from /opt/max2play/update_max2play.sh
The first time I got an error
`Copy custom header files
mkdir: cannot create directory /var/www/max2play/public/addons/squeezeplug': File exists
Then I copied that directory in another location just for backup and ran the script again.
The second time the script ended without errors. I rebooted and everything was ok.