[Pkg-clamav-devel] Bug#521668: postinst

Török Edwin edwintorok at gmail.com
Sun Mar 29 10:36:24 UTC 2009


The problem seemed trivial, so I tried to workaround by doing this:
# aptitude purge clamav-milter
# dpkg --unpack /var/cache/apt/archives/clamav-milter_0.95+dfsg-1_amd64.deb
# vi /var/lib/dpkg/info/clamav-milter.postinst
add this line below CLAMAVMILTERCONF:
DEBCONFFILE=/var/lib/clamav/clamav-milter.conf
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 705 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up clamav-milter (0.95+dfsg-1) ...

But it just hanged there, so I ctrl-C, and tried again:
^Cdpkg: error processing clamav-milter (--configure):
 subprocess post-installation script killed by signal (Interrupt)
Errors were encountered while processing:
 clamav-milter
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 705 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up clamav-milter (0.95+dfsg-1) ...
Replacing config file /etc/clamav/clamav-milter.conf with new version

Again it hanged there.
The fix is not trivial, so I'm giving up here and wait for you to fix it ;)

Best regards,
--Edwin





More information about the Pkg-clamav-devel mailing list