jitsi-meet: jitsi-meet-prosody 1.0.1967-1 fails to uninstall on Debian 9.1

Error:

root@Daisy:/etc/prosody# dpkg --force-all -r jitsi-meet-prosody
(Reading database ... 536425 files and directories currently installed.)
Removing jitsi-meet-prosody (1.0.1967-1) ...
prosody.service is not active, cannot reload.
invoke-rc.d: initscript prosody, action "reload" failed.
dpkg: error processing package jitsi-meet-prosody (--remove):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 jitsi-meet-prosody
root@Daisy:/etc/prosody#

Reason: Uninstalling jitsi-meet-prosody should not fail if prosody is not active.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 23 (5 by maintainers)

Most upvoted comments

damencho: well obviously the prosody cannot be reloaded because it is not installed anymore.

I solved this issue by editing the file /var/lib/dpkg/info/jitsi-meet-prosody.postrm and changing:

   remove)
        if [ -x "/etc/init.d/prosody" ]; then
            invoke-rc.d prosody reload
        fi
    ;;

to

  remove)
        if [ -x "/etc/init.d/prosody" ]; then
            invoke-rc.d prosody reload || true
        fi
    ;;

This is still an issue - given the predictable demand for videoconferencing right now it really should be fixed.

Hello, same problem here, unable to unsisntall properly jitsi-meet. Got following error message : E: prosody: installed prosody package post-installation script subprocess returned error exit status 1 It’s probably not an easy problem to solve for developers, so my full support to them 😉

Note: problem solved (uninstall) by removing all the entries related to ‘jisti’ ‘in /var/lib.dpkg/status’, according to this post: https://unix.stackexchange.com/questions/318171/how-to-completely-remove-jitsi-package#318186