[clamav-users] problem installing clamav

Kris Deugau kdeugau at vianet.ca
Tue Nov 28 21:14:00 UTC 2017


richard parker wrote:
> I am sure this is something obvious to the experienced but not to a bit of
> a newbie such as myself. I am struggling with installation with the
> following being reported....
> 
> E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
> to correct the problem.
> richard at richard-ThinkPad-T400:~$ sudo dpkg --configure -a
> Processing triggers for ureadahead (0.100.0-19) ...
> ureadahead will be reprofiled on next reboot
> dpkg: dependency problems prevent configuration of clamav:
>   clamav depends on clamav-freshclam (>= 0.99.2+dfsg) | clamav-data; however:
>    Package clamav-freshclam is not installed.
>    Package clamav-data is not installed.
>    Package clamav-freshclam which provides clamav-data is not installed.

This isn't a ClamAV problem;  this is an issue with how you've gone 
about installing a third-party package.  It looks like you're using 
either Debian or Ubuntu.

The last few lines above should clearly report the problem - the ClamAV 
package depends on one of two packages that arrange to provide the Clam 
signatures (either clamav-freshclam - which will actively get and update 
them with freshclam, or clamav-data, which may be a separate static 
package containing the signature files, or may be a "virtual" package 
provided by clamav-freshclam).

However, it should also be impossible to get into this state when using 
the standard package management tools.  Did you manually download a 
ClamAV .deb and install it with dpkg -i?

I'd recommend running "sudo apt-get -f install clamav" to get the 
package management tools to fix the dependency issue.

-kgd



More information about the clamav-users mailing list