@Martin, Steve: This is just a workaround. The problem is that there is a locking issue when both update-manager and packagekit try to rebuild the binary cache. The problem is that PK sends a signal right after any apt-get update run. The PK daemon rebuilds its binary cache at (roughly) the same time as e.g. synaptic (or update-manager). The upload works around this until the real lock issue if found. We have quite a few dups of this and the risk is low.
@Martin, Steve: This is just a workaround. The problem is that there is a locking issue when both update-manager and packagekit try to rebuild the binary cache. The problem is that PK sends a signal right after any apt-get update run. The PK daemon rebuilds its binary cache at (roughly) the same time as e.g. synaptic (or update-manager). The upload works around this until the real lock issue if found. We have quite a few dups of this and the risk is low.
I'm preparing a different fix now.