Comment 5 for bug 1438745

Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

Debdiff attached.

[SRU]

[Impact]

Bug shows up when user tries to upgrade any previous version of clamav to the version which is currently available inside vivid repo. Apt crashes with the following error message:

/var/lib/dpkg/info/clamav-daemon.postinst: 626: /var/lib/dpkg/info/clamav-daemon.postinst: cannot create : Directory nonexistent
dpkg: error processing package clamav-daemon (--install):
 subprocess installed post-installation script returned error exit status 2

This happens due to a typo inside postinst script. Variable $DEBCONFILE is used incorrectly instead of $DEBCONFFILE (note double F) which leads to generation of the incorrect output path.

This typo is on the path which gets executed only when debconf information is available for the package. It means that the issue doesn't show up during regular installation but crashes apt during updates.

This issue is important because all clamav users will observe the issue while upgrading from Utopic to Vivid.

[Test Case]

How to reproduce the issue and make sure that debdiff resolves it: http://pastebin.ubuntu.com/10879650/

[Regression Potential]

Change is minor and fixes obvious issue. We can't avoid fixing it because with this issue in place we won't be able to upgrade clamav in the future (all vivid users will meet this issue if we upload an updated package without this change).