install-ClamAV-SA
Mark Nienberg
mark at TIPPINGMAR.COM
Sat Nov 13 20:09:50 GMT 2004
I'm trying to use the install-ClamAV-SA rpm version package to upgrade
my SA from 2.63 to 3.01 on Fedora Core 1. I'm not having a lot of
luck. First, to be sure I have the correct db referred to at the top
of the script output:
[root at gingham perl-rpm]# rpm -qa | grep db
gdbm-1.8.0-21
db4-4.1.25-14
gdb-5.3.90-0.20030710.41
gdbm-devel-1.8.0-21
db4-devel-4.1.25-14
compat-db-4.0.14-2
I hope one of those it what it wants, probably db4 I would guess.
Next, the perl-Test-Harness package won't build because it fails a
test, but the script output says I don't have to worry about it so I
won't. (But the "make test" output is at the bottom of this message if
you are interested).
The ClamAV.rpm install failed with this:
Warning: I am about to uninstall the old Dag Wieers' RPM packages
Warning: of ClamAV and install Oliver Falk's RPMs instead.
Uninstalling...
error: package clamav-devel is not installed
error: package clamav-db is not installed
warning: /var/lib/clamav/daily.cvd saved as
/var/lib/clamav/daily.cvd.rpmsave
warning: /etc/freshclam.conf saved as /etc/freshclam.conf.rpmsave
Installing...
error: Failed dependencies:
libcom_err.so.3 is needed by clamav-0.80-1
Updating your virus.scanners.conf file to point to the ClamAV I just
installed.
I'm not too concerned about ClamAV at the moment. I just reinstalled
Dag's rpm.
The first significant problem is that perl-DB_File.rpm builds OK, but
won't install due to this:
[root at gingham noarch]# rpm -Uvh perl-DB_File-1.810-1.noarch.rpm
Preparing... ###########################################
[100%]
file /usr/lib/perl5/5.8.3/i386-linux-thread-multi/DB_File.pm
from install of perl-DB_File-1.810-1 conflicts with file from package
perl-5.8.3-16
file
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/DB_File/DB_File.so
from install of perl-DB_File-1.810-1 conflicts with file from package
perl-5.8.3-16
file
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/auto/DB_File/autosplit.ix
from install of perl-DB_File-1.810-1 conflicts with file from package
perl-5.8.3-16
file /usr/share/man/man3/DB_File.3pm.gz from install of
perl-DB_File-1.810-1 conflicts with file from package perl-5.8.3-16
Next the package perl-Digest-HMAC would not build from the install
script. But surprisingly, it did build when I tried it by hand with
"rpmbuild --rebuild". Same for Digest-SHA1.
Things fell apart quickly after that, as failed dependencies piled up.
I think it boils down to 2 questions to help me get going again.
1. How to I overcome the perl-DB_file conflict with perl? Should I
force it?
2. If I install the rpms that I manually built and run the script
again, will it skip the build/install for rpms that are already
successfully installed? If so, I will work on them one-by one.
Thanks for any help.
Mark Nienberg
P.S. just for completeness, here is the build failure for the test
harness:
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile.........ok 1/5# Testing Test::Harness 2.42
t/00compile.........ok
t/assert............ok
t/base..............ok
t/callback..........ok
t/inc_taint.........ok
t/nonumbers.........ok
t/ok................ok
t/pod...............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/prove-globbing....ok
t/prove-switches....ok
t/strap-analyze.....ok
t/strap.............ok
t/test-harness......NOK 40# Failed test (t/test-harness.t at line
535)
# got: 'Scalar found where operator expected at (eval 163)
line 1, near "'int' $__val"
# (Missing operator before $__val?)
# '
# expected: ''
t/test-harness......ok 208/208# Looks like you failed 1 tests of 208.
t/test-harness......dubious
Test returned status 1 (wstat 256, 0x100)
Scalar found where operator expected at (eval 153) line 1, near "'int'
$__val"
(Missing operator before $__val?)
DIED. FAILED test 40
Failed 1/208 tests, 99.52% okay (less 56 skipped tests: 151
okay, 72.60%)
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------------------
-------
t/test-harness.t 1 256 208 1 0.48% 40
1 test and 56 subtests skipped.
Failed 1/13 test scripts, 92.31% okay. 1/537 subtests failed, 99.81%
okay.
make: *** [test_dynamic] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.46613 (%build)
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list