Le mardi 6 mars 2007 23:00, Mike Young a écrit :
> Package: openbsd-inetd
> Version: 0.20050402-5
> Followup-For: Bug #386469
>
>
> I'm seeing this same error on an etch update/upgrade today.
> my pid for inetd doesn't change during the attempt at install, which
> suggests that the preinstall for openbsd-inetd doesn't make any attempt
> to stop the preexisting process. (or any attempt that is made, fails)
>
> I'm not familiar with this package specifically, but glancing at the
> preinst script I am leaning towards the first hypothesis (we make no
> attempt to stop the preexisting process).
>
> The script has:
> upgrade_from_old_inetd() {
>   if [ "$2" ] && dpkg --compare-versions "$2" ge 0.20040915-1; then
>     return 0
>   fi
>
> This seems incorrect to me. Even when we upgrade from a previous
> version, shouldn't we stop the previous instance?
This does not avoid running the rest of upgrade_from_old_inetd() when 
upgrading from any previous versions, it just avoids running it when 
upgrading from a version ulterior to 0.20040915-1. These versions handle 
stopping the old version in the prerm.

Reply via email to