Bug#752050: upgrade-reports: Upgrade from Squeeze to Wheezy failed because of perl issues
Control: severity -1 minor
Control: retitle -1 upgrade from squeeze to wheezy fails because of locally installed perl modules in @INC
> Can't locate feature.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 .) at /usr/local/share/perl/5.10.1/Text/Wrap.pm line 13.
> BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Text/Wrap.pm line 13.
> BEGIN failed--compilation aborted at /usr/local/share/perl/5.10.1/Text/Wrap.pm line 13.
> Compilation failed in require at /usr/share/perl5/Debconf/Template.pm line 10.
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Template.pm line 10.
> Compilation failed in require at /usr/share/perl5/Debconf/Question.pm line 8.
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Question.pm line 8.
> Compilation failed in require at /usr/share/perl5/Debconf/Config.pm line 7.
> BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Config.pm line 7.
> Compilation failed in require at /usrconfigured to not write apport reports
You've installed a local copy of Text::Wrap into /usr/local/share/perl
which is not compatible with perl 5.14.
Either remove it, fix @INC, or otherwise move it out of the search path.
[There's also little point to installing local modules like this; use
the modules that Debian packages.]
--
Don Armstrong http://www.donarmstrong.com
If a nation values anything more than freedom, it will lose its
freedom; and the irony of it is that if it is comfort or money it
values more, it will lose that, too.
-- W. Somerset Maugham
Reply to: