How to fix ActivePerl PPM error "database disk image is distorted"?

I recently installed ActivePerl 18 (v5.18.2) 64bits on Windows 8.1, and ppm continues to produce the same error: DBD :: SQLite :: db selectrow_array failed: the database disk image is corrupt.

Here is an extract from my command line:

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 
+5
source share
4 answers

I had a similar problem. I solved this, I cleaned up the AppData ActivePerl folder. I found that under:

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

Delete all data from this folder.

Try it, it can help you.

+10
source

I fixed mine by deleting "C: \ Perl64 \ etc \ ppm-perl-area.db" and C: \ Perl64 \ site \ etc \ ppm-site-area.db. Both were restored upon restarting ppm.

+1
source

I could solve my problem by renaming np-mswin32-64-multithreaded-5_20.db
as
ppm-MSWin32-x64-multi-thread-5_20.db _

and then rename <p> -pw-mswin32-64-multithreaded-5_20.db.old
in
<p> -pw-mswin32-64-multithreaded-5_20.db

+1
source

Try updating the DBD :: SQLite package directly from CPAN. Or try telling PPM to update everything. If they do not want to work, you may need to reinstall ActivePerl.

Hth!
TheJester1977

0
source

Source: https://habr.com/ru/post/1206989/


All Articles