The problem seem to be solved when we create a empty file on the location
where it says "not found". 

A more clean solution;
If you change the code in this line to 
/var/lib/dpkg/info/xulrunner-1.9.2.postinst

#!/bin/sh
set -e

XUL_VERSION=1.9.2
GRE_VERSION=`/usr/bin/xulrunner-$XUL_VERSION --gre-version`

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
       cat >>  /usr/bin/xulrunner-$XUL_VERSION
        /usr/sbin/update-alternatives --install /usr/bin/xulrunner \
                xulrunner /usr/bin/xulrunner-$XUL_VERSION 50
        if test -e /usr/lib/xulrunner-$GRE_VERSION/.autoreg; then
                touch /usr/lib/xulrunner-$GRE_VERSION/.autoreg
        fi

        # Remove possible left-over
        if [ -f /etc/ld.so.conf.d/xulrunner-$XUL_VERSION ] ; then
                rm -f /etc/ld.so.conf.d/xulrunner-$XUL_VERSION
        fi

        ldconfig
fi

-- 
package xulrunner-1.9.2 1.9.2.8+build1+nobinonly-0ubuntu0.10.04.1 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 127
https://bugs.launchpad.net/bugs/622585
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to