[Pkg-clamav-devel] Bug#847640: clamav-freshclam: apt-get remove clamav-freshclam leaves clamav-freshclam.service

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sun Dec 11 21:51:42 UTC 2016


Control: tags -1 moreinfo unreproducible

Hi Heinrich,

On 10.12.2016 07:27, Heinrich Schuchardt wrote:
> I have uninstalled clamav-freshclam.

Did you use 'apt remove clamav-freshclam' or something else?

> dmesg now shows the following error on boot:
> 
> systemd[1]: clamav-freshclam.service: Cannot add dependency job, ignoring: Unit clamav-freshclam.service is masked.
> 
> Uninstalling freshclam should remove the service definition.

It does that for me.

On 10.12.2016 07:36, Heinrich Schuchardt wrote:
> This is the list of all files clamav-freshclam leaves behind after being
> uninstalled.
> 
> /etc/rc1.d/K01clamav-freshclam
> /etc/rc3.d/K01clamav-freshclam
> /etc/rc2.d/K01clamav-freshclam
> /etc/network/if-up.d/clamav-freshclam-ifupdown
> /etc/network/if-down.d/clamav-freshclam-ifupdown
> /etc/rc0.d/K01clamav-freshclam
> /etc/rc5.d/K01clamav-freshclam
> /etc/clamav/freshclam.conf
> /etc/logcheck/ignore.d.server/clamav-freshclam
> /etc/logrotate.d/clamav-freshclam
> /etc/rc4.d/K01clamav-freshclam
> /etc/rc6.d/K01clamav-freshclam
> /etc/ppp/ip-up.d/clamav-freshclam-ifupdown
> /etc/ppp/ip-down.d/clamav-freshclam-ifupdown
> /etc/systemd/system/multi-user.target.wants/clamav-freshclam.service
> /etc/init.d/clamav-freshclam
> /etc/apparmor.d/local/usr.bin.freshclam
> /etc/apparmor.d/usr.bin.freshclam

These are expected, as they are configuration files.
If you want to remove them, you have to 'apt purge clamav-freshclam'.

> /etc/systemd/system/clamav-freshclam.service

This file doesn't come from the clamav-freshclam package, which ships
the service file in /lib:
$ dpkg -L clamav-freshclam | grep service
/lib/systemd/system/clamav-freshclam.service

Best regards,
Andreas



More information about the Pkg-clamav-devel mailing list