[Debconf-devel] Bug#457271: debconf sometimes fails because of uninitialized value in Template.pm

Peter T. Breuer ptb at inv.it.uc3m.es
Fri Dec 21 06:45:20 UTC 2007


Package: debconf
Version: 1.5.17
Severity: normal


I've been getting this message for months and months and months when
installing some packages:

 Use of uninitialized value in exists at
 /usr/share/perl5/Debconf/Template.pm line 80, <> line 23.
 Use of uninitialized value in exists at
 /usr/share/perl5/Debconf/DbDriver/Cache.pm line 39, <> line 23.

Line 80 of Template.pm is:

  return $template{$template} if exists $template{$template};

Line 39 of Cache.pm is

  return $this->{cache}->{$item}
       if exists $this->{cache}->{$item};

Sometimes package install breaks because of it. Then I run the
postinstall configure script (for such it is that normally fails) after
having commented out set -e and the line that loads the frontend
functions.

  . /usr/share/debconf/confmodule

Installing debconf itself ALWAYS breaks because of it.

I believe the issue may be connected to internationalization. I use
lang=C. I don't want any i18n, thanks, even though I live in spain,
but it seems hard to avoid.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.15.3 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/bash

Versions of packages debconf depends on:
ii  debconf-i18n                  1.5.17     full internationalization support 
ii  perl-base                     5.8.8-12   The Pathologically Eclectic Rubbis

Versions of packages debconf recommends:
ii  apt-utils                     0.7.6      APT utility programs

-- no debconf information





More information about the Debconf-devel mailing list