Public bug reported: I have an Ubuntu 12.04 server edition which I ssh into.
I am running Perl scripts on this server but it fails when i load 'use LWP::UserAgent;' with error message: Can't locate LWP/UserAgent.pm in @INC (@INC contains: /home/hermann/scripts/modules/ /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at 1_standalone line 5. BEGIN failed-- compilation aborted at 1_standalone line 5. So in order to fix that I am trying to install LWP::UserAgent, which I am told is by: sudo apt-get install libwww-perl But when i run that command i get the following error: Failed to fetch http://is.archive.ubuntu.com/ubuntu/pool/main/libf/libfont-afm-perl/libfont-afm-perl_1.20-1_all.deb Size mismatch Failed to fetch http://is.archive.ubuntu.com/ubuntu/pool/main/libh/libhtml-tagset-perl/libhtml-tagset-perl_3.20-2_all.deb Size mismatch E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Now I have tried doing sudo apt-get update, which appears to run fine but doesn't change anything. And I have also done sudo apt-get install libwww-perl --fix-missing, which also fails. How do I install libwww-perl on Ubuntu 12.04, Server edition? ** Affects: libwww-perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1041812 Title: libwww-perl doesn't install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libwww-perl/+bug/1041812/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs