On 18.12.2006 16:54 CE(S)T, Bart Schaefer wrote:
> On 12/18/06, Christian Eichert <[EMAIL PROTECTED]> wrote:
>> server:~# perl -MCPAN -e 'install LWP::UserAgent'
>> Can't locate object method "install" via package "LWP::UserAgent" at -e
>> line 1.
> 
> # perl -MCPAN -e shell
> cpan> install LWP::UserAgent

Thank you, that worked. The first one also failed for me. On its way, it
said something about a new CPAN.pm available. Not sure, what it did then
to get LWP::UserAgent installed.

BTW, to make the update work on a default SA installation, you need to
specify a different path:

    # sa-update --updatedir /usr/local/share/spamassassin

Is that by intent?

Also, do I need to restart spamd after an update through sa-update? I
think I need to, the manpage doesn't mention that at all and sa-update
itself remains quiet. (I didn't check the exit code the first time, but
it took a few seconds and created a bunch of files in the given
directory, so I think it actually did something useful.)

-- 
Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]>
Visit my web laboratory at http://beta.unclassified.de

Reply via email to