Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix ActivePerl's PPM "database disk image is malformed" error?

I've recently installed ActivePerl 18 (v5.18.2) 64bits on Windows 8.1, and ppm keeps producing the same error : DBD::SQLite::db selectrow_array failed: database disk image is malformed.

Here's an exerpt from my command prompt:

ppm install Win32-Console-ANSI
ppm install failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed

ppm rep
ppm rep failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed

ppm
ppm gui failed: DBD::SQLite::db selectrow_array failed: database disk image is malformed
like image 828
Ilyas Avatar asked Nov 16 '14 21:11

Ilyas


2 Answers

I had similar problem. I solved it, I cleanned AppData folder of ActivePerl. I found that under:

C:\Users\%USERNAME%\AppData\Local\ActiveState\ActivePerl\

Remove all data from that folder.

Please try it can help you.

like image 155
varda Avatar answered Oct 14 '22 05:10

varda


I fixed mine by deleting "C:\Perl64\etc\ppm-perl-area.db" and C:\Perl64\site\etc\ppm-site-area.db". Both were rebuilt when ppm was restarted.

like image 22
BVV Avatar answered Oct 14 '22 04:10

BVV



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!