clone 351198 -1 reassign -1 clamav-freshclam retitle -1 clamav-freshclam: Uses ucf at purge thanks
This one time, at band camp, Lars Wirzenius said: > 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. It does - you are absolutely correct. I'll have to fix this in clamav-freshclam as well. Oh well, I wonder if I should manually munge ucf's data, or just leave it alone? The userdel and groupdel stuff I'll just have to leave be, I guess. Thanks, -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : [EMAIL PROTECTED] | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
signature.asc
Description: Digital signature