Update failed. Now apt-get can't complete install

Max2Play Home 2016 (en) Forums Max2Play on Raspberry PI Update failed. Now apt-get can't complete install

Tagged: ,

This topic contains 1 reply, has 1 voice, and was last updated by  gianpaoloracca premium 2 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • 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 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

    21. September 2016 at 21:28 #23127

    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.

    Hope that this helps someone else

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Register here