Can't locate LWP

After recent upgrade I can't launch only one of my apps it always gives me this error:

Can't locate LWP/UserAgent/Cached.pm in @INC (you may need to install the
LWP::UserAgent::Cached module) (@INC contains: /etc/perl /usr/local
/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share
/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .)
at /usr/share/perl/5.18/WWW/YoutubeViewer.pm line 242.

I followed as in instructed in the first answer here but all of those commands return positive outputs I got libwww-perl installed and running apt-get dist-upgrade doesn't give anything to upgrade either.

What else could I be missing?

2 Answers

you'll need to install libwww-perl.

wget
tar xvzf libwww-perl-6.06.tar.gz
cd libwww-perl-6.06
perl Makefile.PL
make
make install

or

apt-get install libwww-perl

Or you can try this solution

perl -MCPAN -e 'install Bundle::LWP'
10

Try to install the missing module from CPAN:

sudo perl -MCPAN -e 'install LWP::UserAgent::Cached'
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like