Hi Eric,
I followed your steps and the upgrade worked. I had no errors. Thank you! Now how can I make sure that everything is ok? rpm -Uvh clamav-toaster-0.98.7-1.4.11.x86_64.rpm Preparing... ########################################### [100%] 1:clamav-toaster ########################################### [100%] ClamAV update process started at Sun Nov 8 10:42:27 2015 main.cld is up to date (version: 55, sigs: 2424225, f-level: 60, builder: neo) daily.cld is up to date (version: 21043, sigs: 1668608, f-level: 63, builder: neo) bytecode.cld is up to date (version: 270, sigs: 46, f-level: 63, builder: shurley) simscan versions cdb file built. /var/qmail/control/simversions.cdb simscan cdb file built. /var/qmail/control/simcontrol.cdb The packages looks ok: rpm -qa | grep toaster ucspi-tcp-toaster-0.88-1.3.9.x86_64 qmail-toaster-1.03-1.3.22.x86_64 autorespond-toaster-2.0.5-1.4.0.x86_64 qmailadmin-toaster-1.2.16-1.4.1.x86_64 isoqlog-toaster-2.1-1.3.7.x86_64 ripmime-toaster-1.4.0.6-1.3.6.x86_64 clamav-toaster-0.98.7-1.4.11.x86_64 qmailtoaster-plus-0.3.2-1.4.19.noarch daemontools-toaster-0.76-1.3.6.x86_64 vpopmail-toaster-5.4.33-1.4.0.x86_64 libsrs2-toaster-1.0.18-1.3.6.x86_64 qmail-pop3d-toaster-1.03-1.3.22.x86_64 courier-imap-toaster-4.1.2-1.3.10.x86_64 control-panel-toaster-0.5-1.4.0.noarch ezmlm-cgi-toaster-0.53.324-1.3.6.x86_64 qmailtoaster-plus.repo-0.2-2.noarch qmailmrtg-toaster-4.2-1.3.7.x86_64 maildrop-toaster-devel-2.0.3-1.3.8.x86_64 squirrelmail-toaster-1.4.22-1.4.0.noarch simscan-toaster-1.4.0-1.4.0.x86_64 libdomainkeys-toaster-0.68-1.3.6.x86_64 courier-authlib-toaster-0.59.2-1.3.10.x86_64 ezmlm-toaster-0.53.324-1.3.6.x86_64 maildrop-toaster-2.0.3-1.3.8.x86_64 spamassassin-toaster-3.3.2-1.4.3.x86_64 vqadmin-toaster-2.3.7-1.4.1.x86_64 The services looks ok: qmailctl stat authlib: up (pid 3813) 1815823 seconds clamd: up (pid 3812) 1815823 seconds imap4: down 1815823 seconds imap4-ssl: down 1815823 seconds pop3: down 1815823 seconds pop3-ssl: down 1815823 seconds send: up (pid 3810) 1815823 seconds smtp: up (pid 3806) 1815823 seconds spamd: up (pid 3814) 1815823 seconds submission: up (pid 3815) 1815823 seconds authlib/log: up (pid 3811) 1815823 seconds clamd/log: up (pid 3809) 1815823 seconds imap4/log: down 1815823 seconds imap4-ssl/log: down 1815823 seconds pop3/log: down 1815823 seconds pop3-ssl/log: down 1815823 seconds send/log: up (pid 3805) 1815823 seconds smtp/log: up (pid 3807) 1815823 seconds spamd/log: up (pid 3816) 1815823 seconds submission/log: up (pid 3808) 1815823 seconds If everything is ok, how can I share this RPM? Or the source RPM István From: Eric Broch [mailto:[email protected]] Sent: Monday, October 19, 2015 10:12 PM To: [email protected] Subject: Re: [qmailtoaster] clamav upgrade on centos 6 x64 After the preceding, next, build the source rpm: rpmbuild -bs ~/rpmbuild/SPECS/clamav-toaster.spec And, finally, build the rpm: rpmbuild --rebuild --with cnt5064 ~/rpmbuild/SRPMS/clamav-toaster*.src.rpm EricB On 10/19/2015 12:30 PM, Eric Broch wrote: Istvan, I assume the build environment exists on your server. Download the qmail clamav-toaster source rpm into ~/rpmbuild/SRPMS and install it Download the new clamav source tar.gz file and put in the ~/rpmbuild/SOURCES directory Edit the ~/rpmbuild/SPECS/clamav-toaster.spec file naming the new sources to be used most likely the Source0: option. Edit the changelog section to reflect your changes. EricB On 10/18/2015 11:18 PM, Istvan Köpe wrote: Hi Eric, I never updated a source rpm. Can you guide me? What would you recommend in my senario for long term? István From: Eric Broch [mailto:[email protected]] Sent: Monday, October 19, 2015 4:18 AM To: [email protected] <mailto:[email protected]> Subject: Re: [qmailtoaster] clamav upgrade on centos 6 x64 Istvan, You've compiled CentOS 5 SRPMS on a CentOS 6 machine. There are no upgrades that anyone does for this, that I know of since it is not a part of the QMT planning. You can grab the clamav-toaster source rpm <http://mirrors.qmailtoaster.com/current/SRPMS/clamav-toaster-0.98.4-1.4.8.src.rpm> and update it with the latest clamav sources <http://www.clamav.net/downloads/production/clamav-0.98.7.tar.gz> and compile it for your own uses Eric On 10/18/2015 10:38 AM, Istvan Köpe wrote: I also tried with yum and qtp-newmodel, but no success. I installed it with the cnt5064-install-script.sh. There were some problems, but I figured it out somehow and the server is running without problems since about 2 years. I think I made and upgrade for clamav since the server installation, but I'm not sure. rpm -qa | grep toaster ucspi-tcp-toaster-0.88-1.3.9.x86_64 qmail-toaster-1.03-1.3.22.x86_64 autorespond-toaster-2.0.5-1.4.0.x86_64 qmailadmin-toaster-1.2.16-1.4.1.x86_64 isoqlog-toaster-2.1-1.3.7.x86_64 ripmime-toaster-1.4.0.6-1.3.6.x86_64 clamav-toaster-0.98.4-1.4.8.x86_64 qmailtoaster-plus-0.3.2-1.4.19.noarch daemontools-toaster-0.76-1.3.6.x86_64 vpopmail-toaster-5.4.33-1.4.0.x86_64 libsrs2-toaster-1.0.18-1.3.6.x86_64 qmail-pop3d-toaster-1.03-1.3.22.x86_64 courier-imap-toaster-4.1.2-1.3.10.x86_64 control-panel-toaster-0.5-1.4.0.noarch ezmlm-cgi-toaster-0.53.324-1.3.6.x86_64 qmailtoaster-plus.repo-0.2-2.noarch qmailmrtg-toaster-4.2-1.3.7.x86_64 maildrop-toaster-devel-2.0.3-1.3.8.x86_64 squirrelmail-toaster-1.4.22-1.4.0.noarch simscan-toaster-1.4.0-1.4.0.x86_64 libdomainkeys-toaster-0.68-1.3.6.x86_64 courier-authlib-toaster-0.59.2-1.3.10.x86_64 ezmlm-toaster-0.53.324-1.3.6.x86_64 maildrop-toaster-2.0.3-1.3.8.x86_64 spamassassin-toaster-3.3.2-1.4.3.x86_64 vqadmin-toaster-2.3.7-1.4.1.x86_64 rpm -qa | grep .qt dovecot-devel-2.0.11-2.qtp.x86_64 dovecot-debuginfo-2.0.11-2.qtp.x86_64 dovecot-2.0.11-2.qtp.x86_64 dovecot-mysql-2.0.11-2.qtp.x86_64 dovecot-pigeonhole-2.0.11-2.qtp.x86_64 whtc-qmt-1-1.qt.el6.noarch dovecot-pgsql-2.0.11-2.qtp.x86_64 István -----Original Message----- From: Eric Broch [mailto:[email protected]] Sent: Sunday, October 18, 2015 5:32 PM To: [email protected] <mailto:[email protected]> Subject: Re: [qmailtoaster] clamav upgrade on centos 6 x64 Istvan, There should be no RPMS with the QMT "toaster" designation on a CentOS 6 machine, they should all have the ".qt" designation. How did you go about installing QMT on this CentOS 6 machine? Can you run a couple commands at your CLI? 1) # rpm -qa | grep toaster 2) # rpm -qa | grep .qt And, post your output. Eric On 10/18/2015 3:36 AM, Istvan Köpe wrote: Hello, I want to upgrade clamav on a Centos6 x64 but I have this error: rpm -Uvh clamav-0.98.7-0.qt.el6.x86_64.rpm error: Failed dependencies: clamav-toaster is needed by (installed) simscan-toaster-1.4.0-1.4.0.x86_64 Can you help me out? István --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] <mailto:[email protected]> For additional commands, e-mail: [email protected] <mailto:[email protected]>
