Subject: | CPANPLUS::Internals::Source::SQLite fails with "DBI error: no such table: module" |
I did as the cpanplus::shell tip suggested and switched to sqlite with:
s conf source_engine CPANPLUS::Internals::Source::SQLite; s save
s selfupdate enabled_features
After restarting CPANPLUS I get:
CPAN Terminal> a AVAR
CPAN Terminal> m Tie
CPAN Terminal> o
[MSG] No '/home/avar/.cpanplus/custom-sources' dir, skipping custom
sources
[MSG] No '/home/avar/.cpanplus/custom-sources' dir, skipping custom
sources
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module
[ ... output just goes on ...]
^CCaught SIGINT
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module
[... a few hundred lines ...]
[ERROR] DBI error: no such table: module
^CGot another SIGINT
[ERROR] DBI error: no such table: module
[...]
[ERROR] DBI error: no such table: module
^CGot another SIGINT
[ERROR] Error finding installed files in '/usr/share/perl5': Died at
/usr/share/perl/5.10/CPANPLUS/Shell.pm line 158.
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module
When switching away from sqlite I get:
CPAN Terminal> s conf source_engine CPANPLUS::Internals::Source::Memory
Key 'source_engine' was set to 'CPANPLUS::Internals::Source::Memory'
CPAN Terminal> s save
Configuration successfully saved to CPANPLUS::Config::User
(/home/avar/.cpanplus/lib/CPANPLUS/Config/User.pm)
CPAN Terminal> s selfupdate enabled_features
[MSG] No '/home/avar/.cpanplus/custom-sources' dir, skipping custom
sources
[MSG] No '/home/avar/.cpanplus/custom-sources' dir, skipping custom
sources
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module
The following updates will take place:
Modules for 'md5' support:
No upgrades required
Modules for 'prefer_makefile' support:
No upgrades required
Modules for 'shell' support:
No upgrades required
Modules for 'storable' support:
No upgrades required
Updating your CPANPLUS installation
[ERROR] DBI error: no such table: module
[ERROR] DBI error: no such table: module