[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Anyone who can reproduce bug #234270?



On Sunday 29 February 2004 18:53, Will Lowe wrote:
> Joey Hess said:
> 
> > I see no indication from what you sent that it's at all related to
> > debconf. Put the set -x in the script, passing it at the command line
> > does not work for scripts using debconf.
> 
> Aha, it was the config script and not the postinst that was erroring.
> Here's the (end of a) trace of acpid.config:
> 
> ++ set -- configure
> ++ unset _old_opts
> + '[' '!' -d /proc/acpi ']'
> + db_fget acpid/modules seen
> + echo 'FGET acpid/modules' seen
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=false
> + return 0
> + '[' false '!=' true ']'
> ++ uname -r
> + LOC=/lib/modules/2.6.2-alley/kernel/drivers/acpi
> + '[' -d /lib/modules/2.6.2-alley/kernel/drivers/acpi ']'
> ++ find /lib/modules/2.6.2-alley/kernel/drivers/acpi -type f -name '*.o' -printf 'basename %f .o\n'
> ++ find /lib/modules/2.6.2-alley/kernel/drivers/acpi -type f -name '*.ko' -printf 'basename %f .ko\n'
> ++ /bin/sh
> + MODULES=asus_acpi
> ac
> processor
> battery
> button
> fan
> toshiba_acpi
> thermal
> + db_set acpid/modules 'asus_acpi
> ac
> processor
> battery
> button
> fan
> toshiba_acpi
> thermal'
> + echo 'SET acpid/modules' 'asus_acpi
> ac
> processor
> battery
> button
> fan
> toshiba_acpi
> thermal'
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=value set
> + return 0
> + db_input medium acpid/modules
> + echo 'INPUT medium' acpid/modules
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=20 Unsupported command "ac" (full line was "ac") received from confmodule.
> + return 20
> + true
> + db_go
> + echo 'GO '
> + local 'IFS=
> '
> + local _LINE
> + read -r _LINE
> + RET=20 Unsupported command "processor" (full line was "processor") received from confmodule.
> + return 20
> dpkg: error processing acpid (--configure):
>  subprocess post-installation script returned error exit status 20
> Errors were encountered while processing:
>  acpid

Ah. Ok. I ever thought that newlines were changed into whitespaces... Thinking seems not to be enough.
Just uploading a fixed version.

Thanks,
Cajus



Reply to: