Package: clamav-base
Version: 0.88-3

While testing clamav-base with piuparts, I ran into the following
problem (shortened, the ucf problem was repeated many times):

0m8.0s DUMP:   Purging configuration files for clamav-base ...
0m8.0s DUMP:   /var/lib/dpkg/info/clamav-base.postrm: line 38: ucf:
command not found
0m8.0s DUMP:   /var/lib/dpkg/info/clamav-base.postrm: line 44: userdel:
command not found
0m8.0s DUMP:   /var/lib/dpkg/info/clamav-base.postrm: line 45: groupdel:
command not found

The postrm script can rely only on non-essential packages during the
purge phase (see policy, 7.2 Binary Dependencies, last paragraph
describing Depends). You probably need to call ucf and adduser stuff
conditionally, checking whether the commands are availabe using
which(1).

I hope this helps. Happy hacking.

-- 
I think, therefore I am alone in the universe. -- Over the Hedge



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to