[Pkg-clamav-devel] "[FAIL] freshclam: Can not continue with PidFile not set ... failed!"

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Tue Oct 21 15:10:12 UTC 2014


Hi Phillip,

On 21.10.2014 16:15, Phillip Pi wrote:
> I hope this is the right place to ask about my issue. How come I am
> unable to uninstall clamav-freshclam package from my old Debian stable
> machine? I need to uninstall and reinstall it, from scratch, since I am
> having problems with it.
>
> # apt-get purge clamav-freshclam
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>    clamav-freshclam*
> 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> After this operation, 552 kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 252678 files and directories currently installed.)
> Removing clamav-freshclam ...
> [FAIL] freshclam: Can not continue with PidFile not set ... failed!

You don't have the PidFile variable set and thus the init script doesn't 
work.

Adding the following line to /etc/clamav/freshclam.conf should solve 
this problem:
PidFile /var/run/clamav/freshclam.pid

> invoke-rc.d: initscript clamav-freshclam, action "stop" failed.
> dpkg: error processing clamav-freshclam (--purge):
>   subprocess installed pre-removal script returned error exit status 6
> Errors were encountered while processing:
>   clamav-freshclam
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Thank you in advance. :)

You're welcome.

Best regards,
Andreas




More information about the Pkg-clamav-devel mailing list