[Pkg-openssl-devel] Bug#445090: Bug#445090: subprocess post-installation script returned error exit status 255

Kurt Roeckx kurt at roeckx.be
Wed Oct 3 18:35:27 UTC 2007


On Wed, Oct 03, 2007 at 06:04:12PM +0000, Soeren Sonnenburg wrote:
> > Since I can't reproduce it either, it makes it very hard for me to fix
> > it.
> 
> Hmmhh, any ideas what could return 255 in the post-inst script?

The bug log shows that atleast the debconf message was displayed, which
means we atleast got to this part:
                db_version 2.0

                db_reset libssl0.9.8/restart-services
                db_set libssl0.9.8/restart-services "$services"
                db_input critical libssl0.9.8/restart-services || true
                db_go || true

By looking at the number of empty lines in the bug report,
it seem to me atleast this was done too:

                db_get libssl0.9.8/restart-services
                # Arghhh, close all the stupid debconf pipes
                db_stop

                if [ "x$RET" != "x" ]
                then
                    services=$RET
                    answer=yes
                else
                    answer=no
                fi
                echo

But then this part wasn't executed:
                if [ "$answer" = yes ] && [ "$services" != "" ]; then
                    echo "Restarting services possibly affected by the upgrade:"
[...]
                fi
            else
                echo "Nothing to restart."
            fi
        fi # end upgrading and $2 lt 0.9.8c-2
    fi # Upgrading
fi

# Automatically added by dh_makeshlibs
if [ "$1" = "configure" ]; then
        ldconfig
fi

Which basicly leaves the "if" or the "ldconfig", which both seem
unlikely.


Kurt






More information about the Pkg-openssl-devel mailing list