The following change will fix the issue.
<pattern url="https://launchpad.net/bugs/996916"> <re key="Package">^(ubuntu-release-upgrader-core |update-manager)</re> <re key="VarLogDistupgradeMainlog">blacklist expr '\^postgresql-.*\[0-9\]\\.\[0-9\].*' matches</re> + <re key="VarLogDistupgradeMainlog">The package 'postgresql-.*' is marked for removal but it's in the removal blacklist</re> </pattern>
The following change will fix the issue.
<pattern url="https:/ /launchpad. net/bugs/ 996916"> >^(ubuntu- release- upgrader- core |update- manager) </re> upgradeMainlog" >blacklist expr '\^postgresql- .*\[0-9\ ]\\.\[0- 9\].*' matches</re> upgradeMainlog" >The package 'postgresql-.*' is marked for removal but it's in the removal blacklist</re>
<re key="Package"
<re key="VarLogDist
+ <re key="VarLogDist
</pattern>