The problem was that required package dependency was installed, but the version didn't satisfy the requirement and the code unconditionally assumed an updated existed in repository pool. Now the code checks package state to set transaction reason.
The problem was that required package dependency was installed, but the version didn't satisfy the requirement and the code unconditionally assumed an updated existed in repository pool. Now the code checks package state to set transaction reason.