On Mon, 2009-05-25 at 07:19 -0500, M. Lewis wrote:
> Bernd Petrovitsch wrote:
> > On Mon, 2009-05-25 at 06:22 -0500, M. Lewis wrote:
> >> I have a client who for a variety of reasons is still running Fedora 
> >> Core 3. I know he has worse problems that Clamav being out of date with 
> > 
> > I'm doing the same on Fedora Core 4.
> > 
> >> this, but I'm wondering if there is a way to get Clamav up to date on 
> >> this system.
> > 
> > Find a recent clamav-*.src.rpm (from Fedora 10 or whatever) and
> > `rpmbuild --rebuild` it und `rpm -Uvh` it
> 
> This would appear to be the easiest solution?

In theory, yes.
In practice, there is often more than one .src.rpm package per
application.

And now to reality;-):

On Mon, 2009-05-25 at 07:50 -0500, M. Lewis wrote:
> Bernd Petrovitsch wrote:
> > On Mon, 2009-05-25 at 06:22 -0500, M. Lewis wrote:
[...]
> > Find a recent clamav-*.src.rpm (from Fedora 10 or whatever) and
> > `rpmbuild --rebuild` it und `rpm -Uvh` it
> 
> I downloaded clamav-0.95.1-1.fc11.src.rpm from 
> ftp://rpmfind.net/linux/fedora/development/source/SRPMS/clamav-0.95.1-1.fc11.src.rpm
> 
> I'm getting the following errors:
> 
> [r...@host ~]# rpmbuild --rebuild clamav-0.95.1-1.fc11.src.rpm
> Installing clamav-0.95.1-1.fc11.src.rpm
> warning: user mockbuild does not exist - using root
> warning: group mockbuild does not exist - using root

These are harmless - just ignore.

> error: unpacking of archive failed on file 
> /usr/src/redhat/SOURCES/README.fedora;4a1a91dd: cpio: MD5 sum mismatch
> error: clamav-0.95.1-1.fc11.src.rpm cannot be installed
> 
> I downloaded the file a second time just to insure it was not corrupted 
> in the transfer. Results were the same.

Yes, saw these on other packages from F11 and I hadn't time to figure
out how to circumvent that (which is the main reason for using F10
packages ....).

http://download.fedora.redhat.com/pub/epel/5/SRPMS/clamav-0.95.1-1.el5.src.rpm 
(from the EPEL repository - Fedora packages ported to RHEL/CentOS) should work 
with "old" rpm binaries.

> I realize now I'm getting into a RedHat specific question and may need 
> to move this to a RedHat list.

Yes, that's a Fedora issue.

        Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to