Comment 21 for bug 25620

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Fri, 11 Nov 2005 18:32:00 +0100
From: Eric Valette <email address hidden>
To: <email address hidden>
CC: Joey Hess <email address hidden>, =?ISO-8859-1?Q?Frank_K=FCster?=
 <email address hidden>, Norbert Preining <email address hidden>,
 <email address hidden>, <email address hidden>,
 teTeX maintainers <email address hidden>
Subject: Re: Bug#338587: tex-common fails to install

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

Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: <email address hidden>