LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-05-2006, 12:58 PM   #1
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Rep: Reputation: 15
Question Weird rpm message while upgrading clamav


I had weird situation while upgrading clamav's rpm. It seems to me the question is about rpm, not clamav, but who knows?

I installed clamav from rpm:

rpm -uvh clamav-0.87-1.i386
rpm -uvh clamav-devel-0.87-1.i386

Worked well. Clam av started to work but then I got warning message that clamav software is outdated. I downloaded new rpmS:

clamav-0.88.6-1.i386.rpm
clamav-devel-0.88.6-1.i386.rpm

I tried to install and got that weird message:
[root@mail2 downloads]# rpm -Uvh clamav-0.88.6-1.i386.rpm
error: Failed dependencies:
clamav = 93:0.87-1 is needed by (installed) clamav-devel-0.87-1.i386


What does it mean and what can I do about it?
 
Old 12-05-2006, 01:46 PM   #2
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 91

Rep: Reputation: 15
You need to upgrade clamav and clamav-devel at the same time, i.e.

rpm -Uvh clamav-0.88.6-1.i386.rpm clamav-devel-0.88.6-1.i386.rpm

This way clamav-devel is updated with the new clamav.
 
Old 12-05-2006, 03:36 PM   #3
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question This time this is about clamv

Quote:
Originally Posted by j_75080
You need to upgrade clamav and clamav-devel at the same time, i.e.

rpm -Uvh clamav-0.88.6-1.i386.rpm clamav-devel-0.88.6-1.i386.rpm

This way clamav-devel is updated with the new clamav.
Thanks for the reply.
rpm worked fine. But after that the file /etc/init.d/clamd disapeared and I could not find it in other directories. Where I can find file to start clamav? where do I put it to start at boot time. I use ti with Qmail.
By the was, I was able tu run /usr/bin/freshclam

Last edited by consistgd; 12-05-2006 at 04:34 PM.
 
Old 12-05-2006, 04:05 PM   #4
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 91

Rep: Reputation: 15
Clamd can be re-installed by installing the rpm. First, do a quick check to see if the rpm is now missing, i.e.
rpm -q clamd

If it is missing you can reinstall the clamd rpm by downloading it and by the rpm command, e.g.
rpm -ivh clamd-0.88.6-1.i386.rpm
 
Old 12-05-2006, 04:30 PM   #5
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question where can I fund clamd rpm?

Quote:
Originally Posted by j_75080
Clamd can be re-installed by installing the rpm. First, do a quick check to see if the rpm is now missing, i.e.
rpm -q clamd

If it is missing you can reinstall the clamd rpm by downloading it and by the rpm command, e.g.
rpm -ivh clamd-0.88.6-1.i386.rpm
Yes, this package is missing. But I cannot find this clamd-0.88.6-1.i386.rpm. Not on clamav.net. Any suggestions?

By the way, I was able to run /usr/bin/freshclam

Last edited by consistgd; 12-05-2006 at 04:35 PM.
 
Old 12-05-2006, 04:42 PM   #6
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question I found clamd packages but they are platform specific

I found clamd packages but they are distibution specific. I use FC6. There no exact match. Whill FC3 or RH9 work?
 
Old 12-05-2006, 05:08 PM   #7
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 91

Rep: Reputation: 15
You can find a .src.rpm(source) and do a rebuild of the package, i.e. rpmbuild --rebuild clamd...rpm

Also, I think you can find clamd @ http://rpm.pbone.net/index.php3
They have FC6 clamd packages.
 
Old 12-05-2006, 05:11 PM   #8
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
You might look for a clamd.rpmnew file. Sometimes .rpmnew is used for configuration files that you want to inspect before going ahead and renaming them, changing your old config.

I would use "rpm -Uhv ..." for an upgrade.
 
Old 12-05-2006, 05:49 PM   #9
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question Still troubles

Quote:
Originally Posted by j_75080
You can find a .src.rpm(source) and do a rebuild of the package, i.e. rpmbuild --rebuild clamd...rpm

Also, I think you can find clamd @ http://rpm.pbone.net/index.php3
They have FC6 clamd packages.
Yes I found this site too.
But clamd package from this site requires corresponding clamav package. I thought I need to remove (rpm -e ...) packages that I just installed, but I got message that they are not installd. When I ran the same install command, I got message that packages is already installed. rpm -qa also shows that packages are installed.
What do I do? Do I need to remove them?
 
Old 12-05-2006, 05:49 PM   #10
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
You might look for a clamd.rpmnew file. Sometimes .rpmnew is used for configuration files that you want to inspect before going ahead and renaming them, changing your old config.

I would use "rpm -Uhv ..." for an upgrade.
No, there is no clamd.rpmnew
 
Old 12-05-2006, 08:35 PM   #11
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by consistgd
Yes I found this site too.
But clamd package from this site requires corresponding clamav package. I thought I need to remove (rpm -e ...) packages that I just installed, but I got message that they are not installd. When I ran the same install command, I got message that packages is already installed. rpm -qa also shows that packages are installed.
What do I do? Do I need to remove them?
No problem with rpm -e. I mad a mistake, typed .rpm with a package name.
Anyway, I found clamav rpms on the site you mentioned. They are with *fc6* on it, they are actually from fedora extras. Unlike the ones from clamav.net, there are extra module clamav-lib. When I downloaded and tried to unstall all or htem (clamav, clamav-devel, clamav-lib) they requested another dependecy: data(clamav). What is it? Any idea?
 
Old 12-06-2006, 10:02 AM   #12
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 91

Rep: Reputation: 15
You need to also install the clamav database, i.e. clamav-db. It can be found at the same website:

http://rpm.pbone.net/index.php3/stat...arch/clamav-db
 
Old 12-06-2006, 11:08 AM   #13
consistgd
LQ Newbie
 
Registered: Oct 2004
Posts: 24

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by j_75080
You need to also install the clamav database, i.e. clamav-db. It can be found at the same website:

http://rpm.pbone.net/index.php3/stat...arch/clamav-db
Is that all? Will it also create clamd or I will come with separate package?
By the way, there are ...fc6.rf.i386.rpm packages and fc6.i386.rpm.
What does .rf. mean?
 
Old 12-06-2006, 11:44 AM   #14
j_75080
Member
 
Registered: Aug 2003
Location: Richardson, Texas
Distribution: Fedora/Tiny Core/Android
Posts: 91

Rep: Reputation: 15
clamav-db provides config(clamav-db) and clamav-db. You must also install the clamd rpm file to have clamd available. I don't know the meaning .rf in the rpm file, but I have used them quite often with good functionality.
 
  


Reply

Tags
clamav, dependencies, rpm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
clamav.rpm and clamsmtp problem shipon_97 Linux - Newbie 2 05-14-2006 11:13 PM
warning: clamav-0.87.1-1.1.fc2.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 Niceman2005 Linux - Software 4 03-07-2006 06:28 AM
Installing clamav rpm NNP Linux - Software 2 05-17-2005 08:34 AM
ClamAV+MailScanner error message pudhiyavan Linux - Security 1 07-29-2004 05:40 AM
Suggestions requested on upgrading a stock RH rpm with a third-party rpm obarney Linux - Software 5 05-21-2003 06:07 PM


All times are GMT -5. The time now is 05:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration