[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: After update perl ,apt-cacher won't work



On Tue, May 13, 2008 at 10:28:15 +0800, 刘建才 wrote:
> Hi,
> I updated My Debian 4.0 server yesterday,but forget exactly which
> package upgraded,only remember perl related things, then apt-cacher
> didn't work ,after i referenced the line 12 in
> /usr/share/perl5/HTTP/Date.pm,Every thing seems OK,is it a bug?

Do you mean you commented out the reference to Time/Local.pm?

> related information:
> 
> error messages in  /var/log/apache2/error.log
> [Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] Can't locate Time/Local.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/HTTP/Date.pm line 12.

[...]

> ii  apt-cacher           1.5.3                caching proxy system for Debian package and source files

[...]

> ii  perl                 5.8.8-7etch3         Larry Wall's Practical Extraction and Report Language

The missing module should be here: /usr/share/perl/5.8.8/Time/Local.pm
Your @INC contains /usr/share/perl/5.8, which should be a symlink to
/usr/share/perl/5.8.8. Something seem to be wrong with this on your
system.

Please post the output of the following commands:

file /usr/share/perl/5.8.8/Time/Local.pm

ls -l usr/share/perl/

dpkg -S /usr/share/perl/5.8*

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: