Eric Valette wrote:
> Joey Hess wrote:
>
>>>>On Fre, 11 Nov 2005, Hilmar Preusse wrote:
>>>>
>>>>
>>>>>>Setting up tex-common (0.10) ...
>>>>>>debconf: Unable to load Debconf::Element::Dialog.
>>
>>
>>I imagine that a strace -f of a run of dpkg-reconfigure or any other
>>debconf command that reproduces the problem would show clearly what it
>>is.
>>
>>Most likely is that the file has gone missing on the local system due to
>>disk corruption, accidental deletion, or a screwed up local install of
>>perl that's somehow not finding it.
>>
>
>
> Disks are clean. I reinstalled debconf, dialog. No change.
Here is the culprit code.
sub makeelement {
my $this=shift;
my $question=shift;
my $nodebug=shift;
my $type=$this->elementtype.'::'.ucfirst($question->type);
$type=~s/::$//; # in case the question has no type..
$this->_loadelementclass($type, $nodebug);
my $element="Debconf::Element::$type"->new(question => $question);
<===== bug triggered here. Do not understand how type instanciate to dialog.
return if ! ref $element;
return $element;
}
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Eric Valette wrote: :Element: :Dialog.
> Joey Hess wrote:
>
>>>>On Fre, 11 Nov 2005, Hilmar Preusse wrote:
>>>>
>>>>
>>>>>>Setting up tex-common (0.10) ...
>>>>>>debconf: Unable to load Debconf:
>>
>>
>>I imagine that a strace -f of a run of dpkg-reconfigure or any other
>>debconf command that reproduces the problem would show clearly what it
>>is.
>>
>>Most likely is that the file has gone missing on the local system due to
>>disk corruption, accidental deletion, or a screwed up local install of
>>perl that's somehow not finding it.
>>
>
>
> Disks are clean. I reinstalled debconf, dialog. No change.
Here is the culprit code.
sub makeelement { this->elementty pe.'::' .ucfirst( $question- >type); >_loadelementcl ass($type, $nodebug); "Debconf: :Element: :$type" ->new(question => $question);
my $this=shift;
my $question=shift;
my $nodebug=shift;
my $type=$
$type=~s/::$//; # in case the question has no type..
$this-
my $element=
<===== bug triggered here. Do not understand how type instanciate to dialog.
return if ! ref $element;
return $element;
}
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: <email address hidden>