Hi,
>> In its postinst, apt-listchanges creates a configuration
>> file /etc/apt/listchanges.conf. It tries to remove it in its postrm
>> during a purge, using ucf, but ucf might not be installed when the
>> postrm runs when purgning (policy 7.2: "postrm cannot rely on any
>> non-essential packages to be present during the purge phase").
>
> that has been fixed in a previous upload.
Still, /etc/apt/listchanges.conf is still present after purging
apt-listchanges!
I may cite from the ucf manpage:
-p, --purge
[...]Note: ucf does not
actually touch the file on disk in this operation, so any file
removals are still the responsibility of the calling package.
From your postrm, you do not remove it:
if [ "$1" = "purge" ]; then
rm -f /etc/apt-listchanges.conf /etc/apt-listchanges.conf.old
rm -f $hook.disabled
if wich ucf >/dev/null 2>&1; then
ucf -p /etc/apt/listchanges.conf
fi
fi
HS