Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Joe Christy wrote: Since you're re-building from rpm's, a far better solution (doesn't hose the existing clamav user/group, like rpm -e 'ing 0.75 does) is to add the following line to the top section of the spec in the SRPM (I don't know why Petr Kritof didn't do this already): Obsoletes: clamav-lib clamav-update clamav-data clamav-server Because it is too simple and too elegant way ;-) Im goint to to fix it. Thanks for idea. Petr ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
On Thu, 04 Nov 2004 09:43:35 +0100 in [EMAIL PROTECTED] Kri_tof Petr [EMAIL PROTECTED] wrote: Joe Christy wrote: Since you're re-building from rpm's, a far better solution (doesn't hose the existing clamav user/group, like rpm -e 'ing 0.75 does) is to add the following line to the top section of the spec in the SRPM (I don't know why Petr Kritof didn't do this already): Obsoletes: clamav-lib clamav-update clamav-data clamav-server Because it is too simple and too elegant way ;-) Im goint to to fix it. Thanks for idea. I suspect that Petr's rpms for clamav have been around longer than the ones from dag. I started using Petr's and prefer the directory structure and division of files to the way it's done in dag's rpms. So far I've stuck with it. -- Brian Morrison bdm at fenrir dot org dot uk GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
[Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Hello all, please bear with me since i am very new to this list. I have a RedHat 8.0 mail server that is running clamav-0.75 and need some help to upgrade to clamav .80 The first thing that i ran into was some failed dependacies see the output below warning: clamav-0.80-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1 error: Failed dependencies: libcrypto.so.4 is needed by clamav-0.80-1 libssl.so.4 is needed by clamav-0.80-1 So then after some searching i learned that these two files were a part of the openssl package and updating that package made those dependancy errors go away. I was still having some problems so on the advice of another list, i tried rebuilding the RPM from source. When i went to install it i ended up with another dependancy error. see the output below... [EMAIL PROTECTED] root]# rpmbuild --rebuild -without milter clamav-0.80-1.src.rpm Installing clamav-0.80-1.src.rpm error: Failed build dependencies: bzip2-devel is needed by clamav-0.80-1 I managed to update this file and then i tried it agian. Now i am getting conflict errors. see the output below... [EMAIL PROTECTED] i386]# rpm -ivh clamav-0.80-2.i386.rpmPreparing... ### [100%]file /etc/cron.daily/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dagfile /etc/logrotate.d/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dagfile /etc/freshclam.conf from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/bin/clamscan from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/bin/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/bin/sigtool from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/lib/libclamav.so.1.0.4 from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/share/man/man1/clamscan.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/share/man/man1/freshclam.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/share/man/man1/sigtool.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dagfile /usr/share/man/man5/freshclam.conf.5.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 If someone on the list feels that this is the right course of action then please tell me how to do it. Commands Or just push me off of the cliff. :) Gary ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
On 11/03/2004 04:25 PM, tester wrote: Hello all, please bear with me since i am very new to this list. snip So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 rpm -e clamav If someone on the list feels that this is the right course of action then please tell me how to do it. Commands Or just push me off of the cliff. :) Gary ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
tester [EMAIL PROTECTED] i386]# rpm -ivh clamav-0.80-2.i386.rpm Use rpm -Uvh clamav-0.80-2.i386.rpm instead. -i means Install a new package; choke if a package by that name exists -U means Update an existing package, or install if there is no existing package -- [EMAIL PROTECTED] Office:(626) 395-4073 Nosce Teipsum Fax: (626) 405-9851 ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Now i am getting conflict errors. So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 Heh, RPM dependancies can be fun :) Remove the old package. Been a while (rpm -e clamav )IIRC I always compile from source even when binaries are available on my non-redhat systems. I can manage my own packages, thank you :) In short, I would compile from source. It's a pretty straightforward process. Plus you get the lastest features (or bugs) -Troy ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
tester wrote: Hello all, please bear with me since i am very new to this list. I have a RedHat 8.0 mail server that is running clamav-0.75 and need some help to upgrade to clamav .80 The first thing that i ran into was some failed dependacies see the output below warning: clamav-0.80-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1 error: Failed dependencies: libcrypto.so.4 is needed by clamav-0.80-1 libssl.so.4 is needed by clamav-0.80-1 So then after some searching i learned that these two files were a part of the openssl package and updating that package made those dependancy errors go away. I was still having some problems so on the advice of another list, i tried rebuilding the RPM from source. When i went to install it i ended up with another dependancy error. see the output below... [EMAIL PROTECTED] root]# rpmbuild --rebuild -without milter clamav-0.80-1.src.rpm Installing clamav-0.80-1.src.rpm error: Failed build dependencies: bzip2-devel is needed by clamav-0.80-1 I managed to update this file and then i tried it agian. Now i am getting conflict errors. see the output below... [EMAIL PROTECTED] i386]# rpm -ivh clamav-0.80-2.i386.rpm Preparing...### [100%] file /etc/cron.daily/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dag file /etc/logrotate.d/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dag file /etc/freshclam.conf from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/clamscan from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/sigtool from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/lib/libclamav.so.1.0.4 from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/clamscan.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/freshclam.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/sigtool.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man5/freshclam.conf.5.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 If someone on the list feels that this is the right course of action then please tell me how to do it. Commands Or just push me off of the cliff. :) Well those instructions you followed look strangely familiar..i do believe i typed them. And yes you should probably remove the other clamav package first before installing the new. if you do: rpm -aq|grep clamav you will see a list of clamav rpms you have installed then you can just do: rpm -e package_that_you_want_to_remove That should do the trick -Jim ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Patrick Boutilier wrote: On 11/03/2004 04:25 PM, tester wrote: So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 rpm -e clamav Or rather, rpm -e clamav clamav-db clamd DAG divides clamav into 4 packages (clamav, clamav-milter, clamav-db, clamd) instead of just the 2 (clamav and clamav-milter) in the default RPM spec. Unfortunately, that means if you upgrade from DAG's package to a home-grown one, you can't just use rpm -Uvh like you would in most situations. -- Kelson Vibber SpeedGate Communications www.speed.net ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Thanks, the rpm -e clamav clamav-db clamd was what i really needed. Thanks gary - Original Message - From: Kelson [EMAIL PROTECTED] To: ClamAV users ML [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 2:41 PM Subject: Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8 Patrick Boutilier wrote: On 11/03/2004 04:25 PM, tester wrote: So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 rpm -e clamav Or rather, rpm -e clamav clamav-db clamd DAG divides clamav into 4 packages (clamav, clamav-milter, clamav-db, clamd) instead of just the 2 (clamav and clamav-milter) in the default RPM spec. Unfortunately, that means if you upgrade from DAG's package to a home-grown one, you can't just use rpm -Uvh like you would in most situations. -- Kelson Vibber SpeedGate Communications www.speed.net ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Well i have to say that it has been one hell of a ride so far. If i did'nt have to keep running off to deal with other network issues then i could devote a little more brain power to this one. Thanks Gary - Original Message - From: Troy Ayers [EMAIL PROTECTED] To: ClamAV users ML [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 2:37 PM Subject: Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8 Now i am getting conflict errors. So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 Heh, RPM dependancies can be fun :) Remove the old package. Been a while (rpm -e clamav )IIRC I always compile from source even when binaries are available on my non-redhat systems. I can manage my own packages, thank you :) In short, I would compile from source. It's a pretty straightforward process. Plus you get the lastest features (or bugs) -Troy ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
After successfully removing the old version, your command did the trick. Thanks Gary - Original Message - From: Christopher Malek [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 2:34 PM Subject: Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8 tester [EMAIL PROTECTED] i386]# rpm -ivh clamav-0.80-2.i386.rpm Use rpm -Uvh clamav-0.80-2.i386.rpm instead. -i means Install a new package; choke if a package by that name exists -U means Update an existing package, or install if there is no existing package -- [EMAIL PROTECTED] Office:(626) 395-4073 Nosce Teipsum Fax: (626) 405-9851 ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Jim, 90% of all the progress that i have made has been a direct result of your help and i do appreciate it. I jumped over to this list just to see if i could come up with more info and sources at the same time and i did. Well now the old one is gone after removing all the componets of clamav. Then i successfully installed the new version. (About time) But of course i have another issue...See the output below. [EMAIL PROTECTED] root]# rpm -aq|grep clamav clamav-0.80-2 [EMAIL PROTECTED] root]# freshclam ClamAV update process started at Wed Nov 3 15:18:10 2004 Reading CVD header (main.cvd): OK main.cvd is up to date (version: 27, sigs: 23982, f-level: 2, builder: tomek) Reading CVD header (daily.cvd): OK daily.cvd is up to date (version: 572, sigs: 2205, f-level: 3, builder: trog) WARNING: Your ClamAV installation is OUTDATED - please update immediately ! WARNING: Current functionality level = 2, required = 3 [EMAIL PROTECTED] root]# I typed in freshclam just to check it out and here we go again... ?? Gary - Original Message - From: Jim Maul [EMAIL PROTECTED] To: ClamAV users ML [EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 2:39 PM Subject: Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8 tester wrote: Hello all, please bear with me since i am very new to this list. I have a RedHat 8.0 mail server that is running clamav-0.75 and need some help to upgrade to clamav .80 The first thing that i ran into was some failed dependacies see the output below warning: clamav-0.80-1.i386.rpm: V3 DSA signature: NOKEY, key ID 6cdf2cc1 error: Failed dependencies: libcrypto.so.4 is needed by clamav-0.80-1 libssl.so.4 is needed by clamav-0.80-1 So then after some searching i learned that these two files were a part of the openssl package and updating that package made those dependancy errors go away. I was still having some problems so on the advice of another list, i tried rebuilding the RPM from source. When i went to install it i ended up with another dependancy error. see the output below... [EMAIL PROTECTED] root]# rpmbuild --rebuild -without milter clamav-0.80-1.src.rpm Installing clamav-0.80-1.src.rpm error: Failed build dependencies: bzip2-devel is needed by clamav-0.80-1 I managed to update this file and then i tried it agian. Now i am getting conflict errors. see the output below... [EMAIL PROTECTED] i386]# rpm -ivh clamav-0.80-2.i386.rpm Preparing...### [100%] file /etc/cron.daily/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dag file /etc/logrotate.d/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-db-0.75.1-1.0.rh8.dag file /etc/freshclam.conf from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/clamscan from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/freshclam from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/bin/sigtool from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/lib/libclamav.so.1.0.4 from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/clamscan.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/freshclam.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man1/sigtool.1.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag file /usr/share/man/man5/freshclam.conf.5.gz from install of clamav-0.80-2 conflicts with file from package clamav-0.75.1-1.0.rh8.dag So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 If someone on the list feels that this is the right course of action then please tell me how to do it. Commands Or just push me off of the cliff. :) Well those instructions you followed look strangely familiar..i do believe i typed them. And yes you should probably remove the other clamav package first before installing the new. if you do: rpm -aq|grep clamav you will see a list of clamav rpms you have installed then you can just do: rpm -e package_that_you_want_to_remove That should do the trick -Jim ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
On Wed, 3 Nov 2004 15:36:28 -0600 in [EMAIL PROTECTED] tester [EMAIL PROTECTED] wrote: WARNING: Your ClamAV installation is OUTDATED - please update immediately ! WARNING: Current functionality level = 2, required = 3 [EMAIL PROTECTED] root]# I typed in freshclam just to check it out and here we go again... More than likely you have a spurious copy of freshclam in your path, a 'which freshclam' should identify the one in use. -- Brian Morrison bdm at fenrir dot org dot uk GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Brian Morrison wrote: On Wed, 3 Nov 2004 15:36:28 -0600 in [EMAIL PROTECTED] tester [EMAIL PROTECTED] wrote: WARNING: Your ClamAV installation is OUTDATED - please update immediately ! WARNING: Current functionality level = 2, required = 3 [EMAIL PROTECTED] root]# I typed in freshclam just to check it out and here we go again... More than likely you have a spurious copy of freshclam in your path, a 'which freshclam' should identify the one in use. I guess too. On my system: # rpm -aq | grep clamav clamav-0.80-2 # # freshclam ClamAV update process started at Wed Nov 3 22:47:43 2004 main.cvd is up to date (version: 27, sigs: 23982, f-level: 2, builder: tomek) Downloading daily.cvd [*] daily.cvd updated (version: 572, sigs: 2205, f-level: 3, builder: trog) Database updated (26187 signatures) from db.cz.clamav.net (147.229.3.16). Clamd successfully notified about the update. # ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
Re: [Clamav-users] Updating to clamav 8 from 7.5 on Redhat8
Vis-a-vis [EMAIL PROTECTED]'s note of 11/03/2004 12:29 PM: On 11/03/2004 04:25 PM, tester wrote: Hello all, please bear with me since i am very new to this list. snip So now i am thinking that maybe i need to uninstall .75 and then try installing .80 but i do not know how to uninstall .75 ... Since you're re-building from rpm's, a far better solution (doesn't hose the existing clamav user/group, like rpm -e 'ing 0.75 does) is to add the following line to the top section of the spec in the SRPM (I don't know why Petr Kritof didn't do this already): Obsoletes: clamav-lib clamav-update clamav-data clamav-server That way, rpm will Do The Right Thing when you install the new rpm. Joe ___ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users