Probable bug in libwww-perl

gregor herrmann gregoa at debian.org
Sat Nov 29 10:54:46 UTC 2008


On Sat, 29 Nov 2008 14:33:39 +0530, Sridhar M.A. wrote:

> I have this file on my system which comes from the package libwww-perl.
> It is in /usr/share/perl5/.

That's good :)

>   Can't locate URI.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 5) line 3.
>   Compilation failed in require at /usr/share/perl5/HTTP/Request.pm line 3.
>   Compilation failed in require at /usr/share/perl5/LWP/UserAgent.pm line 10.
>   BEGIN failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line 10.
>   Compilation failed in require at /tmp/test.pl line 6.
>   BEGIN failed--compilation aborted at /tmp/test.pl line 6.

So LWP::UserAgent is found but URI.pm is not. URI.pm is not in
libwww-perl but in liburi-perl, which should be installed as a
dependency of libwww-perl.
Something's weird in your installation :)

>   $ diff /usr/bin/checkgmail /mnt/usr/bin/checkgmail
>   mas at brahman:/var/cache/apt/archives$ diff -q {/mnt,}/usr/share/perl5/LWP
>   Common subdirectories: /mnt/usr/share/perl5/LWP/Authen and /usr/share/perl5/LWP/Authen
>   Common subdirectories: /mnt/usr/share/perl5/LWP/Protocol and /usr/share/perl5/LWP/Protocol
>   Files /mnt/usr/share/perl5/LWP/Protocol.pm and /usr/share/perl5/LWP/Protocol.pm differ
>   Files /mnt/usr/share/perl5/LWP/RobotUA.pm and /usr/share/perl5/LWP/RobotUA.pm differ
>   Files /mnt/usr/share/perl5/LWP/UserAgent.pm and /usr/share/perl5/LWP/UserAgent.pm differ

Strange. libwww-perl is an architecture-independent package, so the
only reason for the difference can be different versions.

What you could do is double-check both in i386 and amd64 that you
have a recent version of libwww-perl installed and also all of its
dependencies:

$ apt-cache show --no-all-versions libwww-perl
[..]
Depends: perl (>= 5.8.1), libdigest-md5-perl, liburi-perl (>= 1.10),
libhtml-parser-perl (>= 3.33), libhtml-tree-perl (>= 3.11),
libhtml-tagset-perl, netbase


Cheers,
gregor 
-- 
 .''`.   Home: http://info.comodo.priv.at/{,blog/} / GPG Key ID: 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT, SPI Inc., fellow of FSFE | http://got.to/quote/
   `-    NP: Funny Van Dannen: Falscher Mann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20081129/4a682189/attachment-0001.pgp 


More information about the pkg-perl-maintainers mailing list