question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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.

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
gndcommented, Mar 16, 2018

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
    ;;
1reaction
jkozakcommented, Mar 22, 2020

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found