Bug#310912: dbd-sqlite3-perl: dbdimp.c line 268

Marcelo E. Magallon "Marcelo E. Magallon" <mmagallo@debian.org>, 310912@bugs.debian.org
Sat, 4 Jun 2005 08:02:21 -0600


Hi Andrea,

 I'm sorry about the late reply.

On Thu, May 26, 2005 at 11:35:38PM +0200, Andrea Ganduglia wrote:
 > Package: libdbd-sqlite3-perl
 > Version: 1.08-1
 > Severity: normal
 > File: dbd-sqlite3-perl
 > 
 > Execute a simple code it return
 > 
 > DBD::SQLite::db do failed: file is encrypted or is not a database(26) at
 > dbdimp.c line 268 at ./ipk.pl line 12.
 > DBD::SQLite::db do failed: file is encrypted or is not a database(26) at
 > dbdimp.c line 268 at ./ipk.pl line 12.

 That message is caused by SQLite2 trying to open an SQLite3 database or
 the other way around.

 You need to create your database with the same verision of the SQLite
 DBI driver (that is SQLite2 for libdbd-sqlite2-perl and SQLite3 for
 libdbd-sqlite3-perl).  Please read the documentation in
 /usr/share/doc/libdbd-sqlite{2,3}-perl/

 Marcelo