おのたく日記 YouTubeも始めました→
2005-12-05(Mon) [長年日記]
■ f-prot update失敗
ホームユースならば無料ということで、Linux上でのAnti Virusには、「f-prot」を使っているけど、本日updateが有ったがupdate失敗していた。
syntax error at /usr/lib/f-prot/tools/check-updates line 146, near "or"
Execution of /usr/lib/f-prot/tools/check-updates aborted due to compilation errors.
ということで、146行目を見ると
my $signatureDirectory = '/var/lib/f-prot/';
or die "ERROR: Couldn't determine signature file directory!\n\nExiting";
となっていて、perlの文法的に変?
my $signatureDirectory = '/var/lib/f-prot/'
|| die "ERROR: Couldn't determine signature file directory!\n\nExiting";
として、check-updatesをやり直しておいた。
また、updateにより10月5日の日記「f-protが使えない!!」で書いたように/usr/bin/f-protも元に戻っていたので、
exec `echo $t | sed -e "s/.sh//" -e "s/\/usr\/bin/\/usr\/lib\/f-prot/"` ${@+"$@"}
と書き換えておいた。これで、
$ f-prot -verno
F-PROT ANTIVIRUS
Program version: 4.6.3
Engine version: 3.16.10
VIRUS SIGNATURE FILES
SIGN.DEF created 2 December 2005
SIGN2.DEF created 2 December 2005
MACRO.DEF created 1 December 2005
ということなので、無事にアップデートできた模様。
|