|
Home > Archive > Debian Developers > February 2004 > Anyone who can reproduce bug #234270?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Anyone who can reproduce bug #234270?
|
|
| Cajus Pollmeier 2004-02-27, 8:33 pm |
| Hi!
Is there anyone on the list who has/had problems with the acpid
postinst/config scripts? I can't reproduce the bug on my systems
and I don't see where/why it happens for the user who reported
the bug...
Thanks,
Cajus
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Will Lowe 2004-02-28, 1:33 pm |
| > Is there anyone on the list who has/had problems with the acpid
> postinst/config scripts? I can't reproduce the bug on my systems
> and I don't see where/why it happens for the user who reported
> the bug...
(I'm the user who reported the bug, although it seems to have happened
to at least one other person from looking at the BTS).
It happens on line 4 of acpid.postinst, where it tries to source
/usr/share/debconf/confmodule. See:
http://bugs.debian.org/cgi-bin/bugr...ug=234270&msg=9
I've tried purging and reinstalling it several times, keeps coming
back. Looks to me like the debconf frontend is failing, although I
don't know why that would happen, since debconf works fine with all
the other packages on my system.
I've copied Joey Hess on this message in case he can shed some light
on the debconf funkiness.
--
thanks,
Will
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Joey Hess 2004-02-28, 6:33 pm |
| Will Lowe wrote:
>
> (I'm the user who reported the bug, although it seems to have happened
> to at least one other person from looking at the BTS).
>
> It happens on line 4 of acpid.postinst, where it tries to source
> /usr/share/debconf/confmodule. See:
>
> http://bugs.debian.org/cgi-bin/bugr...ug=234270&msg=9
>
> I've tried purging and reinstalling it several times, keeps coming
> back. Looks to me like the debconf frontend is failing, although I
> don't know why that would happen, since debconf works fine with all
> the other packages on my system.
>
> I've copied Joey Hess on this message in case he can shed some light
> on the debconf funkiness.
(Please don't send vital information to control@bugs, that makes it
invisible to future readers.)
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.
--
see shy jo
| |
| Will Lowe 2004-02-29, 1:33 pm |
| 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
--
thanks,
Will
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Cajus Pollmeier 2004-02-29, 2:33 pm |
| On Sunday 29 February 2004 18:53, Will Lowe wrote:
> Joey Hess said:
>
>
> 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
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|