So the good news is that this in not a general issue. The bad is that I'm not sure when that can happen. add-plugins.sh is called in %post and %posttrans and content cleaned in %preun This was introduced many years ago that way and usually works quite fine. Do you have any idea why it might have failed in your case?