You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by snowweb <pe...@snowweb.co.uk> on 2009/06/08 12:30:59 UTC

sa-update error

I've just heard about sa-update and tried to run it. I was thinking of
setting up a cron to do it daily, however, I got the following error message
when I ran it manually:

[root@s1 spamassassin]# sa-update && service spamassassin restart
Can't locate Archive/Tar.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 81.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.

Any ideas please?

pete
-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23921654.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 14:27, snowweb wrote:
> Sorry for my ignorance. I'm very new to Linux. Which missing perl module
> is that please?

there is non missing, you just have another perl version that miss it, how
to resolve problem with 2 versions of perl with yum i dont know, but solve
this and the remaining problem with mission perl modules will wanish at
the same time, if not ask distro maintainers for help on that issue, its
not a spamassassin problem

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by "Mark Wendt (Contractor)" <ma...@nrl.navy.mil>.
Using the command "which perl" will only turn up the first instance 
of perl in your path.  Try this: cd to the root directory, then type 
"find . -name perl -print" and hit return.  The find command will 
recursively search through all the directories on the machine and 
locate all files named "perl".

Mark


At 08:50 AM 6/8/2009, snowweb wrote:

>I tested for two versions of perl using "which perl" and it only returned one
>location.
>
>I'm using CentOS 5.0 and I'm running DirectAdmin hosting software. The SA
>was installed by the script which installed the DirectAdmin. I don't
>understand how or where it got the SA from. Again, I don't know where the
>perl came from either. Is there a way I can find out?
>
>How will I check whether I have an incorrectly set environment variable
>PERL5LIB set somewhere in startup/config files?
>
>I should also mention that apart from the sa-update not working (and
>FuzzyOcr SA plugin which I'm also working on), SA is working ok.
>
>Thanks for your help Matus,
>
>pete
>
>
>
>
>
>Matus UHLAR - fantomas wrote:
> >
> > IIRC another answer said you probably have two perl versions installed
> > separately. Check for that first. Then, check these:
> >
> > - which software (linux) distribution do you have?
> > - do you have spamassassin installed from the distribution?
> > - do you have perl installed from the distribution?
> > - don't you have incorrectly set environment variable PERL5LIB set
> > somewhere
> > in startup/config files?
> >
>
>--
>View this message in context: 
>http://www.nabble.com/sa-update-error-tp23921654p23923417.html
>Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by snowweb <pe...@snowweb.co.uk>.
I tested for two versions of perl using "which perl" and it only returned one
location.

I'm using CentOS 5.0 and I'm running DirectAdmin hosting software. The SA
was installed by the script which installed the DirectAdmin. I don't
understand how or where it got the SA from. Again, I don't know where the
perl came from either. Is there a way I can find out?

How will I check whether I have an incorrectly set environment variable
PERL5LIB set somewhere in startup/config files?

I should also mention that apart from the sa-update not working (and
FuzzyOcr SA plugin which I'm also working on), SA is working ok.

Thanks for your help Matus,

pete





Matus UHLAR - fantomas wrote:
> 
> IIRC another answer said you probably have two perl versions installed
> separately. Check for that first. Then, check these:
> 
> - which software (linux) distribution do you have? 
> - do you have spamassassin installed from the distribution?
> - do you have perl installed from the distribution?
> - don't you have incorrectly set environment variable PERL5LIB set
> somewhere
> in startup/config files?
> 

-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23923417.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
> > On Mon, 2009-06-08 at 03:30 -0700, an anonymous Nabble user wrote:
> >> I've just heard about sa-update and tried to run it. I was thinking of
> >> setting up a cron to do it daily, however, I got the following error
> >> message when I ran it manually:
> >> 
> >> [root@s1 spamassassin]# sa-update && service spamassassin restart
> >> Can't locate Archive/Tar.pm in @INC (@INC contains:
> > 
> >> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
> >> 
> >> Any ideas please?

> Karsten Bräckelmann-2 wrote:
> > Install the missing Perl module...?

On 08.06.09 05:27, snowweb wrote:
> Sorry for my ignorance. I'm very new to Linux. Which missing perl module is
> that please?

IIRC another answer said you probably have two perl versions installed
separately. Check for that first. Then, check these:

- which software (linux) distribution do you have? 
- do you have spamassassin installed from the distribution?
- do you have perl installed from the distribution?
- don't you have incorrectly set environment variable PERL5LIB set somewhere
in startup/config files?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
(R)etry, (A)bort, (C)ancer

Re: sa-update error

Posted by snowweb <pe...@snowweb.co.uk>.
Sorry for my ignorance. I'm very new to Linux. Which missing perl module is
that please?

pete


Karsten Bräckelmann-2 wrote:
> 
> On Mon, 2009-06-08 at 03:30 -0700, an anonymous Nabble user wrote:
>> I've just heard about sa-update and tried to run it. I was thinking of
>> setting up a cron to do it daily, however, I got the following error
>> message
>> when I ran it manually:
>> 
>> [root@s1 spamassassin]# sa-update && service spamassassin restart
>> Can't locate Archive/Tar.pm in @INC (@INC contains:
> 
>> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
>> 
>> Any ideas please?
> 
> Install the missing Perl module...?
> 
> 
> -- 
> char
> *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
> main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8?
> c<<=1:
> (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0;
> }}}
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23923079.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Mon, 2009-06-08 at 03:30 -0700, an anonymous Nabble user wrote:
> I've just heard about sa-update and tried to run it. I was thinking of
> setting up a cron to do it daily, however, I got the following error message
> when I ran it manually:
> 
> [root@s1 spamassassin]# sa-update && service spamassassin restart
> Can't locate Archive/Tar.pm in @INC (@INC contains:

> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
> 
> Any ideas please?

Install the missing Perl module...?


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 15:04, snowweb wrote:

> so I guess it's fixed.

until next time there is a new perl version yes :/

newer mix CPAN with a RPM system !


-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 08.06.09 06:04, snowweb wrote:
> Guys, thanks to you all. You're all the most helpful people I've come across
> online!
> 
> I think Stefan-Michael Guenther fixed it when he emailed me and told me to
> run this:
> 
> perl -MCPAN -e shell
> install Archive::Tar
> 
> Now when I type "sa-update", although I don't get any feedback, I don't get
> any errors either, so I guess it's fixed.

I don't think this is a good solution - all possible packages should be
installed through your package system, which ir apparently yum/RPM.
Otherwise, you may cause even more problems in the future.

So, make sure you have only one perl installed, that it's installed using
yum and if you can install Archive::Tar through yum (maybe archive-tar or
perl-archive-tar package), do that.

Proper packaging system should take care of dependencies, from SA to perl
and its packages, so your problem should not even happen!

And, of course, such questions belong more to your packaging systems'
mailing list, not here...

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Due to unexpected conditions Windows 2000 will be released
in first quarter of year 1901

Re: sa-update error

Posted by snowweb <pe...@snowweb.co.uk>.
Guys, thanks to you all. You're all the most helpful people I've come across
online!

I think Stefan-Michael Guenther fixed it when he emailed me and told me to
run this:

perl -MCPAN -e shell
install Archive::Tar

Now when I type "sa-update", although I don't get any feedback, I don't get
any errors either, so I guess it's fixed.

regards and many thanks

pete



snowweb wrote:
> 
> I've just heard about sa-update and tried to run it. I was thinking of
> setting up a cron to do it daily, however, I got the following error
> message when I ran it manually:
> 
> [root@s1 spamassassin]# sa-update && service spamassassin restart
> Can't locate Archive/Tar.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
> l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
> ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
> l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
> i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
> r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>  /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
> -linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 81.
> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
> 
> Any ideas please?
> 
> pete
> 

-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23923677.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Tue, June 9, 2009 03:48, LuKreme wrote:
> Second off, there is absolutely nothing wrong with using CPAN.

OP problem is mix of CPAN and RPM, he dont need both to solve it

CPAN is usefull if one makes RPM with it, but most belive its better just
to follow guides and use CPAN shells, when distro is RPM based

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by LuKreme <kr...@kreme.com>.
On 8-Jun-2009, at 16:50, Benny Pedersen wrote:
> On Mon, June 8, 2009 15:26, The Doctor wrote:
>
>> You can either use cpan or http://search.cpan.org .
>
> bad advise !

First off, it's 'advice' (the noun) in this case, not 'advise' (the  
verb).

Second off, there is absolutely nothing wrong with using CPAN.


-- 
Well, I've wrestled with reality for 35 years, Doctor, and I'm happy  
to state I finally won out over it.


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 15:26, The Doctor wrote:

> You can either use cpan or http://search.cpan.org .

bad advise !

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by The Doctor <do...@doctor.nl2k.ab.ca>.
On Mon, Jun 08, 2009 at 03:30:59AM -0700, snowweb wrote:
> 
> I've just heard about sa-update and tried to run it. I was thinking of
> setting up a cron to do it daily, however, I got the following error message
> when I ran it manually:
> 
> [root@s1 spamassassin]# sa-update && service spamassassin restart
> Can't locate Archive/Tar.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
> l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
> ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
> l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
> i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
> r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>  /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
> -linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 81.
> BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
> 
> Any ideas please?
>

You need to install Archive-Tar .

You can either use cpan or http://search.cpan.org .
 
> pete
> -- 
> View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23921654.html
> Sent from the SpamAssassin - Users mailing list archive at Nabble.com.
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
Member - Liberal International	This is doctor@nl2k.ab.ca
Ici doctor@nl2k.ab.ca God, Queen and country! Beware Anti-Christ rising!
Never Satan President Republic!
Rudeness is the weak man's imitation of strength.  -Eric Hoffer 

Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Tue, June 9, 2009 00:59, Martin Gregorie wrote:
> On Tue, 2009-06-09 at 00:39 +0200, Benny Pedersen wrote:
>> does there exists a perl-cleanup in you distro ?
>>
> There's not a general one. On the assumption (true for Fedora) that both
> Perl and SA are distro supported packages, if I was tackling this I'd do
> the following:
>
> - make safety copies of SA customisation.
> - yum remove perl spamassassin
> - updatedb
> - use 'locate perl' to see if there are any other copies of perl -
>   there is in this case. At a guess it is a CPAN install.
> - remove it using 'rm -rf' as it is unlikely to be an RPM package
> - check that Perl is definitely gone. (updatedb; locate perl)
> - get the latest distro versions: yum install perl spamassassin
> - replace SA customisation if it got overwritten.
> - check that the default PATH doesn't point to anything that was
>   removed. It is set up in /etc/profile plus extras from /etc/profile.d

yes, when no perl is installed you can yum install spamassassin as it was
ment to from distros, if still problem with

spamassassin 2>&1 -D --lint

after this then report it to your distro as a dependice problem

i remember perl problems from my old freebsd 4.9 :=)

newer happended on gentoo here


-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by Martin Gregorie <ma...@gregorie.org>.
On Tue, 2009-06-09 at 00:39 +0200, Benny Pedersen wrote:
> does there exists a perl-cleanup in you distro ?
> 
There's not a general one. On the assumption (true for Fedora) that both
Perl and SA are distro supported packages, if I was tackling this I'd do
the following:

- make safety copies of SA customisation.
- yum remove perl spamassassin
- updatedb
- use 'locate perl' to see if there are any other copies of perl - 
  there is in this case. At a guess it is a CPAN install.
- remove it using 'rm -rf' as it is unlikely to be an RPM package
- check that Perl is definitely gone. (updatedb; locate perl)
- get the latest distro versions: yum install perl spamassassin
- replace SA customisation if it got overwritten.
- check that the default PATH doesn't point to anything that was
  removed. It is set up in /etc/profile plus extras from /etc/profile.d

Martin



Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 14:30, snowweb wrote:
>
> When I do "which perl" it only returns,
>
> "/usr/bin/perl"

unsure if thats relayted

> doesn't this mean that I only have one installed? (I'm not arguing.. just
> trying to understand, since I'm new to Linux).

spamassassin 2>&1 -D --lint

grep 5.8 on it

if you see 5.8.6 and 5.8.8 there we go

try remove the old perl version, but make sure all modules in 5.8.8 is
installed first

does there exists a perl-cleanup in you distro ?

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by snowweb <pe...@snowweb.co.uk>.
When I do "which perl" it only returns,

"/usr/bin/perl"

doesn't this mean that I only have one installed? (I'm not arguing.. just
trying to understand, since I'm new to Linux).

pete



Benny Pedersen wrote:
> 
> 
> On Mon, June 8, 2009 12:55, Nigel Frankcom wrote:
> 
>> It may also be worth running "spamassassin --lint -D" to see if you
>> are missing any other packages.
> 
> you have currently 2 perl versions installed
> 
> this is the problem, if not all modules exists in 5.8.8, but some only
> does in 5.8.6
> 
> 
> -- 
> http://localhost/ 100% uptime and 100% mirrored :)
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23923139.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 12:55, Nigel Frankcom wrote:

> It may also be worth running "spamassassin --lint -D" to see if you
> are missing any other packages.

you have currently 2 perl versions installed

this is the problem, if not all modules exists in 5.8.8, but some only
does in 5.8.6


-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Tue, June 9, 2009 17:33, Bowie Bailey wrote:
> I have a CentOS 5.3 system with everything installed from the repos and
> my @INC looks exactly the same, so I don't necessarily see a problem
> with the versions here.

problem is that some users of yum, rpm, and friends forget to make
reinstall of all non perl core modules after new perl version is installed

and since you just use repos from main stream, maintainers know how to
make a old perl stay in your disk :)

in gentoo "emerge --depclean" to have gentoo portage remove ebuild not
needed anymore, i suppose yum, rpm can beat it ?

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by Bowie Bailey <Bo...@BUC.com>.
Benny Pedersen wrote:
> On Mon, June 8, 2009 14:41, snowweb wrote:
>
>   
>> Then I tried again with sa-update and got the following:
>>
>> [root@s1 spamassassin]# sa-update
>> Can't locate Archive/Tar.pm in @INC (@INC contains:
>> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
>> l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
>> ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
>> l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
>> i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
>> r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>>  /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
>> -linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update l
>>     
>
> 5.8.5
> 5.8.6
> 5.8.7
> 5.8.8
>
> 4 perl versions, are your distro out of there mind ? :)
>   

I have a CentOS 5.3 system with everything installed from the repos and 
my @INC looks exactly the same, so I don't necessarily see a problem 
with the versions here.

-- 
Bowie

Re: sa-update error

Posted by Benny Pedersen <me...@junc.org>.
On Mon, June 8, 2009 14:41, snowweb wrote:

> Then I tried again with sa-update and got the following:
>
> [root@s1 spamassassin]# sa-update
> Can't locate Archive/Tar.pm in @INC (@INC contains:
> /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
> l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
> ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
> l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
> i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
> r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>  /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
> -linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update l

5.8.5
5.8.6
5.8.7
5.8.8

4 perl versions, are your distro out of there mind ? :)

-- 
http://localhost/ 100% uptime and 100% mirrored :)


Re: sa-update error

Posted by snowweb <pe...@snowweb.co.uk>.
I just ran "yum upgrade spamassassin" and this was the result:

[root@s1 spamassassin]# yum upgrade spamassassin
Loading "installonlyn" plugin
Setting up Upgrade Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
openwebmail               100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 3.1 MB    00:10
################################################## 8680/8680
Excluding Packages in global exclude list
Finished
Could not find update match for spamassassin
No Packages marked for Update/Obsoletion

Then I tried again with sa-update and got the following:

[root@s1 spamassassin]# sa-update
Can't locate Archive/Tar.pm in @INC (@INC contains:
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update l

pete



Nigel Frankcom-2 wrote:
> 
> On Mon, 8 Jun 2009 03:30:59 -0700 (PDT), snowweb <pe...@snowweb.co.uk>
> wrote:
> 
>>
>>I've just heard about sa-update and tried to run it. I was thinking of
>>setting up a cron to do it daily, however, I got the following error
message
>>when I ran it manually:
>>
>>[root@s1 spamassassin]# sa-update && service spamassassin restart
>>Can't locate Archive/Tar.pm in @INC (@INC contains:
>>/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
>>l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>>/usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
>>ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>>/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
>>l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
>>/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
>>i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>>/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
>>r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>>/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
>> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>>/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
>>-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 81.
>>BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
>>
>>Any ideas please?
>>
>>pete
> 
> I think the Tar package is available via yum if you want an easy way
> to keep it current. If not Install it via CPAN. You may need to
> restart SA after, not sure.
> 
> It may also be worth running "spamassassin --lint -D" to see if you
> are missing any other packages.
> 
> HTH
> 
> Nigel
> 
> 

-- 
View this message in context: http://www.nabble.com/sa-update-error-tp23921654p23923296.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


Re: sa-update error

Posted by Nigel Frankcom <ni...@blue-canoe.com>.
On Mon, 8 Jun 2009 03:30:59 -0700 (PDT), snowweb <pe...@snowweb.co.uk>
wrote:

>
>I've just heard about sa-update and tried to run it. I was thinking of
>setting up a cron to do it daily, however, I got the following error message
>when I ran it manually:
>
>[root@s1 spamassassin]# sa-update && service spamassassin restart
>Can't locate Archive/Tar.pm in @INC (@INC contains:
>/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/per
>l5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.6/i386-linux-thr
>ead-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_per
>l/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-mult
>i /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /us
>r/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
>/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386
>-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/bin/sa-update line 81.
>BEGIN failed--compilation aborted at /usr/bin/sa-update line 81.
>
>Any ideas please?
>
>pete

I think the Tar package is available via yum if you want an easy way
to keep it current. If not Install it via CPAN. You may need to
restart SA after, not sure.

It may also be worth running "spamassassin --lint -D" to see if you
are missing any other packages.

HTH

Nigel