#895892 unattended-upgrades: report says package installed when it is not installed

#895892#5
Date:
2018-04-17 10:25:57 UTC
From:
To:
Date: Tue, 17 Apr 2018 06:20:35 -0400
Package: unattended-upgradesVersion: 0.93.1+nmu1Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
   * What led up to the situation?
There was a problem with an underlying repository where a package (php-mcrypt) was available in 386 architecture but not amd64. This caused unattended-upgrades to see that the package needed to be upgraded and report success upgrading. However, the package was not actually upgraded due to the error. Running unattended-upgrades again showed that it was installed again. This may be an underlying issue with apt, because apt also behaved a little weird in this condition. The package would be flagged as updateable, but would not actually update when running 'apt udpate'.
   * What exactly did you do (or not do) that was effective (or     ineffective)?
Removing the conflict manually fixed it, but there was no way to get unattended-upgrades to report a correct error message.   * What was the outcome of this action?
   * What outcome did you expect instead?
unattended-upgrades should have reported failure to install the package, instead of reporting that the package had been installed.