Max2Play Home › Forums › Max2Play on Raspberry PI › Update failed. Now apt-get can't complete install
- This topic has 1 reply, 1 voice, and was last updated 7 years, 2 months ago by
gianpaoloracca premium.
-
Posted in: Max2Play on Raspberry PI
-
21. September 2016 at 19:37 #23122
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 anapt-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 7 years, 2 months ago by
gianpaoloracca.
-
This topic was modified 7 years, 2 months ago by
gianpaoloracca.
-
This topic was modified 7 years, 2 months ago by
gianpaoloracca.
-
This topic was modified 7 years, 2 months ago by
gianpaoloracca.
21. September 2016 at 21:28 #23127Ok, 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.Hope that this helps someone else
-
This topic was modified 7 years, 2 months ago by
-
You must be logged in to reply to this topic.