LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Weird rpm message while upgrading clamav (https://www.linuxquestions.org/questions/linux-software-2/weird-rpm-message-while-upgrading-clamav-507670/)

consistgd 12-05-2006 11:58 AM

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?

j_75080 12-05-2006 12:46 PM

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.

consistgd 12-05-2006 02:36 PM

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

j_75080 12-05-2006 03:05 PM

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

consistgd 12-05-2006 03:30 PM

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

consistgd 12-05-2006 03:42 PM

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?

j_75080 12-05-2006 04:08 PM

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.

jschiwal 12-05-2006 04:11 PM

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.

consistgd 12-05-2006 04:49 PM

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?

consistgd 12-05-2006 04:49 PM

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

consistgd 12-05-2006 07:35 PM

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?

j_75080 12-06-2006 09:02 AM

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

consistgd 12-06-2006 10:08 AM

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?

j_75080 12-06-2006 10:44 AM

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.


All times are GMT -5. The time now is 05:02 PM.