I'm not sure if this is interesting, but in my case this assertion failed after I forcefully stopped an ongoing update.
(I started update-manager and told it to update, there were a few more than a hundred packages to update. However on this machine updates slow down everything, and I had something urgent to do, so I killall'd synaptic. After I retried with "dpkg --configure -a" it worked for a while then it threw this assertion. I have not restarted the machine nor closed the terminal, so if there's anything that might be helpful in some logs, ask. It's constantly reproducible, I could even allow a developer ssh access if it helps with debugging.)
I'm not sure if this is interesting, but in my case this assertion failed after I forcefully stopped an ongoing update.
(I started update-manager and told it to update, there were a few more than a hundred packages to update. However on this machine updates slow down everything, and I had something urgent to do, so I killall'd synaptic. After I retried with "dpkg --configure -a" it worked for a while then it threw this assertion. I have not restarted the machine nor closed the terminal, so if there's anything that might be helpful in some logs, ask. It's constantly reproducible, I could even allow a developer ssh access if it helps with debugging.)