Hello, My installation of clamav is hosed up. It won't start due to a malformed database. I ran freshclam and updated the database but still have the problem. I was going to uninstall clamav but there are other app dependencies. Virtualmin is one. How can I do an uninstall/re-install without hosing more stuff up? I have found some examples, --nodeps, --replacepkgs and -replacefiles Also, what is the rpm command that will tell me all packages named clam*. Haven't used it in a while and have forgotten. I tried rpm -q "clam*" but that didn't work. TIA
please check out logs and error messages. Eero 2016-08-08 14:57 GMT+03:00 TE Dukes <tdukes at palmettoshopper.com>:> Hello, > > > > My installation of clamav is hosed up. It won't start due to a malformed > database. > > > > I ran freshclam and updated the database but still have the problem. > > > > I was going to uninstall clamav but there are other app dependencies. > Virtualmin is one. > > > > How can I do an uninstall/re-install without hosing more stuff up? > > > > I have found some examples, --nodeps, --replacepkgs and -replacefiles > > > > Also, what is the rpm command that will tell me all packages named clam*. > Haven't used it in a while and have forgotten. I tried rpm -q "clam*" but > that didn't work. > > > > TIA > > > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos >
On Mon, Aug 08, 2016 at 07:57:56AM -0400, TE Dukes wrote:> How can I do an uninstall/re-install without hosing more stuff up? > I have found some examples, --nodeps, --replacepkgs and -replacefilesDon't use 'rpm'. Do a 'yum reinstall packagename1 packagename2' to have yum download and reinstall the packages. Doing it with rpm is possible but you need to be VERY careful and yum does all of it for you.> Also, what is the rpm command that will tell me all packages named clam*. > Haven't used it in a while and have forgotten. I tried rpm -q "clam*" but > that didn't work.rpm -qa clam\* or rpm -qa 'clam*' (you want to avoid shell expansions) -- Jonathan Billings <billings at negate.org>