I was testing in a chroot and thought that the creation of /var/crash/2vcard.0.crash was an indication that the filter was not working. This is not infact the case as dpkg / apt writes the crash file and then apport processes it when it notices the crash file or you run apport-cli /var/crash/2vcard.0.crash. Having run that in the chroot with the proposed version of apport I received the following:
*** Problem in 2vcard
The problem cannot be reported:
This failure was caused by a corrupted package download or file system corruption.
Which is what we want - changing the tag to verification-done.
I was testing in a chroot and thought that the creation of /var/crash/ 2vcard. 0.crash was an indication that the filter was not working. This is not infact the case as dpkg / apt writes the crash file and then apport processes it when it notices the crash file or you run apport-cli /var/crash/ 2vcard. 0.crash. Having run that in the chroot with the proposed version of apport I received the following:
*** Problem in 2vcard
The problem cannot be reported:
This failure was caused by a corrupted package download or file system corruption.
Which is what we want - changing the tag to verification-done.