Debian Bug report logs - #321290
debconf-copydb spews lots of errors on templates files

version graph

Package: debconf; Maintainer for debconf is Debconf Developers <[email protected]>; Source for debconf is src:debconf (PTS, buildd, popcon).

Reported by: Colin Watson <[email protected]>

Date: Thu, 4 Aug 2005 18:18:03 UTC

Severity: normal

Found in version debconf/1.4.55

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Joey Hess <[email protected]>:
Bug#321290; Package debconf. (full text, mbox, link).


Acknowledgement sent to Colin Watson <[email protected]>:
New Bug report received and forwarded. Copy sent to Joey Hess <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Colin Watson <[email protected]>
To: [email protected]
Subject: debconf-copydb spews lots of errors on templates files
Date: Thu, 4 Aug 2005 19:13:56 +0100
Package: debconf
Version: 1.4.55
Severity: normal

  # debconf-copydb templatedb tmpdb -c Name:tmpdb -c Driver:File -c Filename:/tmp/templates.dat
  Use of uninitialized value in exists at /usr/share/perl5/Debconf/Template.pm line 67.
  Use of uninitialized value in exists at /usr/share/perl5/Debconf/DbDriver/Cache.pm line 29.
  [... repeated lots and lots and lots ...]

The Copy driver expects to find a Template field in each item it's
copying, which is true for config databases but isn't true for template
databases. Nevertheless, it does appear to copy the database
successfully: diff outputs nothing.

Is the right fix just to try the item name if the Template field is
missing, or to have some switch for the type of database being copied?
(That said, I'm not sure how debconf-copydb could know whether to set
such a switch or not. A command-line flag would be nasty.)

Thanks,

-- 
Colin Watson                                       [[email protected]]



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Fri May 16 09:32:22 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.