Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do a fix the cpan command when the SQLite index fails?
    primarykey
    data
    text
    <p>When attempting to use the CPAN command line, I am unable to either reload index or install any modules. There is an error with SQLite. If I disable the use of SQLite, I get a different error. Both are listed below. Has anyone found this problem before? How did you fix it? </p> <p>"""WITH SQLITE""" </p> <pre><code>Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Creating database file ... Gathering information from index files ... fetch_info() failed! at C:\strawberry\perl\vendor\lib/CPAN/SQLite/Index.pm line 57, &lt;DATA&gt; line 58. Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62, &lt;DATA&gt; line 58. CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l ine 329, &lt;DATA&gt; line 58. Catching error: "system C:\\strawberry\\perl\\bin\\perl.exe -MCPAN::SQLite::META =setup,update -e setup failed: 5632 at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQ Lite/META.pm line 323.\cJ" at C:/strawberry/perl/lib/CPAN.pm line 391 CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at C:/strawberry/perl/li b/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\strawberry\perl\bin/cpan line 8 """USERANDPASS""" Fetching with LWP: http://cpan.strawberryperl.com/modules/02packages.details.txt.gz Fetching with LWP: http://cpan.strawberryperl.com/modules/03modlist.data.gz Creating database file ... Gathering information from index files ... fetch_info() failed! at C:\strawberry\perl\vendor\lib/CPAN/SQLite/Index.pm line 57, &lt;DATA&gt; line 58. Indexing failed! at C:/strawberry/perl/vendor/lib/CPAN/SQLite.pm line 62, &lt;DATA&gt; line 58. CPAN::SQLite setup failed at C:/strawberry/perl/vendor/lib/CPAN/SQLite/META.pm l ine 329, &lt;DATA&gt; line 58. Catching error: "system C:\\strawberry\\perl\\bin\\perl.exe -MCPAN::SQLite::META =setup,update -e setup failed: 5632 at C:\\strawberry\\perl\\vendor\\lib/CPAN/SQ Lite/META.pm line 323.\cJ" at C:/strawberry/perl/lib/CPAN.pm line 391 CPAN::shell() called at C:/strawberry/perl/lib/App/Cpan.pm line 295 App::Cpan::_process_options('App::Cpan') called at C:/strawberry/perl/li b/App/Cpan.pm line 364 App::Cpan::run('App::Cpan') called at C:\strawberry\perl\bin/cpan line 8 </code></pre> <p>"""WITHOUT SQLITE"""</p> <pre><code>Going to read 'C:\strawberry\cpan\sources\modules\02packages.details.txt.gz' Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Could not split line["\cI&lt;head&gt;"] ...Could not split line["\cI&lt;/head&gt;"] Could not split line["\cI&lt;body bgcolor=\"#ffffff\"&gt;"] Could not split line["\cI&lt;script language=\"javascript\"&gt;"] Giving up parsing your C:\strawberry\cpan\sources\modules\02packages.details.txt .gz, too many errorsGoing to read 'C:\strawberry\cpan\sources\authors\01mailrc.t xt.gz' ............................................................................DONE Going to read 'C:\strawberry\cpan\sources\modules\02packages.details.txt.gz' Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does not contain a Line-Count header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Warning: Your C:\strawberry\cpan\sources\modules\02packages.details.txt.gz does not contain a Last-Updated header. Please check the validity of the index file by comparing it to more than one CPAN mirror. I'll continue but problems seem likely to happen. Could not split line["\cI&lt;head&gt;"] ...Could not split line["\cI&lt;/head&gt;"] Could not split line["\cI&lt;body bgcolor=\"#ffffff\"&gt;"] Could not split line["\cI&lt;script language=\"javascript\"&gt;"] Giving up parsing your C:\strawberry\cpan\sources\modules\02packages.details.txt .gz, too many errorsLockfile removed. </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload