This is not a bug in apt. dpkg cleans up its database and removes hold states for non-installed packages following an operation.
This is not a bug in apt. dpkg cleans up its database and removes hold states for non-installed packages following an operation.