3

When trying to install xulrunner 1.9.2. I'm getting thsi error:

Setting up xulrunner-1.9.2 (1.9.2.28+build1+nobinonly-0ubuntu0.10.04.1) ...
/var/lib/dpkg/info/xulrunner-1.9.2.postinst: 8: /var/lib/dpkg/info/xulrunner-1.9.2.postinst: /usr/sbin/update-alternatives: not found
dpkg: error processing package xulrunner-1.9.2 (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 xulrunner-1.9.2
E: Sub-process /usr/bin/dpkg returned an error code (1)
frlan
  • 1,050
  • 5
  • 17

1 Answers1

4
  1. sudo nano /var/lib/dpkg/info/xulrunner-1.9.2.prerm

  2. remove all contents except that this

    #!/bin/sh

    set -e

  3. sudo dpkg -P --force-all xulrunner-1.9.2

    result

Suppression de xulrunner-1.9.2 (1.9.2.28+build1+nobinonly-0ubuntu0.11.04.1) ... Purging configuration files for xulrunner-1.9.2 (1.9.2.28+build1+nobinonly-0ubuntu0.11.04.1) ...

reference >> https://www.skyminds.net/ubuntu-resoudre-lerreur-xulrunner-bin-error-while-loading-shared-libraries-libhunspell-1-2-so-0/

good luck :)

2707974
  • 10,758
rendi
  • 41