LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems with Clamav (https://www.linuxquestions.org/questions/linux-newbie-8/problems-with-clamav-782636/)

techiewannabe 01-16-2010 03:10 PM

Problems with Clamav
 
I am running Ubuntu's Jaunty and get the following messages when I try to Add/Remove any software:

E: clamav-base: subprocess post-installation script returned error exit status 1 E: clamav-freshclam: dependency problems - leaving unconfigured
E: clamav: dependency problems - leaving unconfigured
E: clamav-daemon: dependency problems - leaving unconfigured
E: clamtk: dependency problems - leaving unconfigured

I am a newbie and have no idea where to go with this. I've tried reinstalling Clamav...but no luck.

Can someone help me with this?

Thanks.

Techiewannabe

linus72 01-17-2010 07:47 AM

How did you install it, thru Synaptic/apt-get or what?

Do sudo apt-get check in terminal

Laurens73 01-18-2010 11:29 AM

Sometimes the database gets corrupted with some files. If the option linus72 offered doesn't work, try the following in a terminal:

Code:

sudo dpkg --configure -a
If this doesn't help, try to reinstall it the hard way:

Code:

sudo apt-get remove clamav*
sudo apt-get install clamav*

If the last operation fails, what message do you get?

techiewannabe 01-18-2010 04:52 PM

clam-av error message
 
Thanks to everyone for your suggestions. After scouting around on the Internet, I was able to remove some of the error messages. The only error message that I get now is:

E: Sub-process /usr/bin/dpkg returned an error code (1)

If anyone has any ideas about this, I'd appreciate your suggestions.

Thanks.

Tom

Laurens73 01-22-2010 08:23 AM

An other option is to remove the files containing this info in the dpkg database:

Code:

sudo rm /var/lib/dpkg/info/clamav*
and then reconfigure your package manager:

Code:

sudo dpkg --configure -a
Now your error message has to be gone. Clamav is installed, but not registered in the package manager after this action.

techiewannabe 01-23-2010 02:10 PM

Thanks Laurens 73 for your suggestion.

Unfortunately, when I tried to follow the suggestions, I got the following message:

tom@Compaq:~$ sudo rm /var/lib/dpkg/info/clamav*
rm: cannot remove `/var/lib/dpkg/info/clamav*': No such file or directory
tom@Compaq:~$

Other ideas?

Thanks, again.

Tom

techiewannabe 01-24-2010 02:35 PM

I did another uninstall and reinstall of Clamav and apparently, it has solved the problem. My thanks to all of you who offered suggestions!

Tom


All times are GMT -5. The time now is 12:57 AM.