PPM Error

Posted by leonidas_1987 on 2016-02-25 02:15

Hi together,

i really need help with this: I installed perl and now i want to install a couple of modules with PPM. But if i try installing modules i get this error:

"ppm install MinGW" (one command im using for example)

"ppm install failed: DBD::SQLite::db selectrow_array failed: file is encrypted or is not in a database"

Im searching for solutions for this problems since hours but i found nothing yet. Even if i type only PPM in the command shell it appears the same error.

Could someone help me with that problem? I would appreciate this a lot.

Regards, Leo

ActiveState Staff
Thu, 2016-03-03 08:54

That's an internal error from the PPM command.

It indicates that there are still .vdb files on the PPM search path which were created for SQLite 2. The SQLite 3 used by newer ActivePerls cannot use the old file formats.

Check all users, including the default users:

Delete all the .vdb files you find. PPM will rebuild them on the next startup.

If you find files for multiple versions of Perl, find out if the older versions are still in use. Also investigate to see if someone has locked PERL5LIB or PERLLIB at an incompatible version for the one you're using.

If older versions are running and PER*LIB is set, make a choice about which versions you want to run on this system. Uninstall the others, or this issue will come back.