libwww-perl doesn't install

Bug #1041812 reported by hermanningjaldsson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libwww-perl (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libwww-perl (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.