FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-13-2008, 02:28 AM
刘建才
 
Default After update perl ,apt-cacher won't work

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?
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.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] Compilation failed in require at /usr/share/perl5/LWP/UserAgent.pm line 14.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] BEGIN failed--compilation aborted at /usr/share/perl5/LWP/UserAgent.pm line 14.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] Compilation failed in require at /usr/share/apt-cacher/apt-cacher line 55.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] BEGIN failed--compilation aborted at /usr/share/apt-cacher/apt-cacher line 55.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] Compilation failed in require at /usr/share/apt-cacher/apt-cacher.pl line 9.
[Tue May 13 09:48:21 2008] [error] [client 10.16.0.88] Premature end of script headers: apt-cacher.pl

The packages:
dpkg --list apt-cacher
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================-====================-================================================== ======
ii apt-cacher 1.5.3 caching proxy system for Debian package and source files

dpkg --list perl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================-====================-================================================== ======
ii perl 5.8.8-7etch3 Larry Wall's Practical Extraction and Report Language


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-13-2008, 05:22 PM
Florian Kulzer
 
Default 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 |


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-14-2008, 01:34 AM
刘建才
 
Default 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?
Yes,exactly,My English is poor.
> 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
There isn't Local.pm in /usr/share/perl/5.8.8,I have run the "updatedb" command,but still can't find it on the disk.
>
> ls -l usr/share/perl/
ls -l /usr/share/perl/
total 8
lrwxrwxrwx 1 root root 5 2008-05-12 23:27 5.8 -> 5.8.8
drwxr-xr-x 14 root root 8192 2008-05-12 23:27 5.8.8

>
> dpkg -S /usr/share/perl/5.8*
dpkg -S /usr/share/perl/5.8*
perl-base: /usr/share/perl/5.8
perl-modules, perl-base: /usr/share/perl/5.8.8

Just Thanks a lot for the reply,A Strange thing is I can't receive my own letter from the mailing list,so Yesterday I tried three ways to send my mail,Could you please tell me how many of the last mails you received,If not three,then From which mail box You received the mail?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-14-2008, 08:18 AM
刘建才
 
Default 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?
Yes,exactly,My English is poor.
> 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
There isn't Local.pm in /usr/share/perl/5.8.8,I have run the "updatedb" command,but still can't find it on the disk.
>
> ls -l usr/share/perl/
ls -l /usr/share/perl/
total 8
lrwxrwxrwx 1 root root 5 2008-05-12 23:27 5.8 -> 5.8.8
drwxr-xr-x 14 root root 8192 2008-05-12 23:27 5.8.8

>
> dpkg -S /usr/share/perl/5.8*
dpkg -S /usr/share/perl/5.8*
perl-base: /usr/share/perl/5.8
perl-modules, perl-base: /usr/share/perl/5.8.8

Just Thanks a lot for the reply,A Strange thing is I can't receive my own letter from the mailing list,so Yesterday I tried three ways to send my mail,Could you please tell me how many of the last mails you received,If not three,then From which mail box You received the mail?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-14-2008, 08:36 AM
Nicolas KOWALSKI
 
Default After update perl ,apt-cacher won't work

刘建才 <ttttttpppppp@gmail.com> writes:

> Just Thanks a lot for the reply,A Strange thing is I can't receive
> my own letter from the mailing list,so Yesterday I tried three ways
> to send my mail,Could you please tell me how many of the last mails
> you received,If not three,then From which mail box You received the
> mail?

This mail has been classified as junk by my local spamassassin. Maybe
the antispam running on the list server did so.

--
Nicolas


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-14-2008, 04:20 PM
Florian Kulzer
 
Default After update perl ,apt-cacher won't work

On Wed, May 14, 2008 at 09:34:03 +0800, 刘建才 wrote:
> in between, Florian Kulzer wrote:
> > 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?
> Yes,exactly,My English is poor.

No problem; I just wanted to make sure that I had understood you
correctly.

Commenting out that line eliminated the error message, but I think you
should try to find out why Time/Local.pm is missing on your computer.

> > 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
> There isn't Local.pm in /usr/share/perl/5.8.8,I have run the
> "updatedb" command,but still can't find it on the disk.

That is strange; Time/Local.pm should be part of the perl-modules
package; see here:

http://packages.debian.org/etch/all/perl-modules/filelist

Can you please post the output of

dpkg -l perl-base perl-modules

?

> ls -l /usr/share/perl/
> total 8
> lrwxrwxrwx 1 root root 5 2008-05-12 23:27 5.8 -> 5.8.8
> drwxr-xr-x 14 root root 8192 2008-05-12 23:27 5.8.8

That look OK to me.

> dpkg -S /usr/share/perl/5.8*
> perl-base: /usr/share/perl/5.8
> perl-modules, perl-base: /usr/share/perl/5.8.8

That looks OK to me.

> Just Thanks a lot for the reply,A Strange thing is I can't receive my
> own letter from the mailing list,so Yesterday I tried three ways to
> send my mail,Could you please tell me how many of the last mails you
> received,If not three,then From which mail box You received the mail?

I received two copies of your last message from debian-user; the two
message-IDs were:

20080514093403.2a3073bf.ttttttpppppp AT gmail DOT com
20080514161806.ddfff4a7.ttttttpppppp AT gmail DOT com

Both these messages originated from "deb-office.he.com.yc" according to
their headers.

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-15-2008, 04:06 AM
"刘建才"
 
Default After update perl ,apt-cacher won't work

>>刘建才 <ttttttpppppp@gmail.com> writes:

>> Just Thanks a lot for the reply,A Strange thing is I can't receive my
>> own letter from the mailing list,so Yesterday I tried three ways to
>> send my mail,Could you please tell me how many of the last mails you
>> received,If not three,then From which mail box You received the mail?

>Nicolas KOWALSKI <niko@petole.dyndns.org> wrote:

>This mail has been classified as junk by my local spamassassin. Maybe
>the antispam running on the list server did so.

>and Florian Kulzer <florian.kulzer+debian@icfo.es> wrote:

>I received two copies of your last message from debian-user; the two
>message-IDs were:
>
>20080514093403.2a3073bf
>
> >.ttttttpppppp AT gmail DOT com
> >20080514161806.ddfff4a7.ttttttpppppp AT gmail DOT com
> >
> >Both these messages originated from "deb-office.he.com.yc" according to
> their headers.

then I know the mailbox from my mailbox from tom.com isn't suit for
the mailing list,Maybe Google filtered my own mail for me .

[...]
> Commenting out that line eliminated the error message, but I think you
> should try to find out why Time/Local.pm is missing on your computer.
>
> > > 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
> > There isn't Local.pm in /usr/share/perl/5.8.8,I have run the
> > "updatedb" command,but still can't find it on the disk.
>
> That is strange; Time/Local.pm should be part of the perl-modules
> package; see here:
>
> http://packages.debian.org/etch/all/perl-modules/filelist
>
> Can you please post the output of
>
> dpkg -l perl-base perl-modules
>
> ?
>

The things I find:
from dpkg -l perl-base perl-modules,there isn't Local.pm.
the file perl-modules_5.8.8-7etch3_all.deb in
/var/cache/apt-cacher/packages has a md5sum of
7a584139c984481e413d60c7bdd73c6a ,and the same file I downloaded from
security.debian.org today has a md5sum of
6150633786b45319e72c73ab60a20d5a ,but they all have the same filesize
of 2313550,
When I ran "dpkg -c perl-modules_5.8.8-7etch3_all.deb",the file in the
apt-cacher directory show the following error information:
[...]
-rw-r--r-- root/root 805104 2008-04-26 03:33
./usr/share/perl/5.8.8/unicore/NamesList.txt
-rw-r--r-- root/root 4124 2008-04-26 03:33
./usr/share/perl/5.8.8/unicore/NamedSequences.txt
-rw-r--r-- root/root 9204 2008-04-26 03:33
./usr/share/perl/5.8.8/unicore/mktables.lst
-rw-r--r-- root/root 62041 2008-04-26 03:33
./usr/share/perl/5.8.8/unicore/mktables
tar: Skipping to next header
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
but the file I downloaded today show no error

the update record from /var/log/dpkg.log:
2008-05-12 23:26:48 upgrade perl-modules 5.8.8-7etch1 5.8.8-7etch3
2008-05-12 23:26:48 status half-configured perl-modules 5.8.8-7etch1
2008-05-12 23:26:48 status unpacked perl-modules 5.8.8-7etch1
2008-05-12 23:26:48 status half-installed perl-modules 5.8.8-7etch1
2008-05-12 23:26:49 status half-installed perl-modules 5.8.8-7etch1
2008-05-12 23:26:52 status unpacked perl-modules 5.8.8-7etch3
2008-05-12 23:26:52 status unpacked perl-modules 5.8.8-7etch3
2008-05-12 23:26:52 upgrade perl 5.8.8-7etch1 5.8.8-7etch3
2008-05-12 23:26:52 status half-configured perl 5.8.8-7etch1
2008-05-12 23:26:52 status unpacked perl 5.8.8-7etch1
2008-05-12 23:26:52 status half-installed perl 5.8.8-7etch1
2008-05-12 23:26:59 status half-installed perl 5.8.8-7etch1
2008-05-12 23:26:59 status unpacked perl 5.8.8-7etch3
2008-05-12 23:26:59 status unpacked perl 5.8.8-7etch3

and I didn't remember any suspicious thing during the upgrade period,
maybe the file I downloaded was corrupt,After I reinstalled the
perl-modules package from security.debian.org use the "dpkg
-i"command,I can see all the modules of the perl-modules
 

Thread Tools




All times are GMT. The time now is 12:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org