prevent package upgrade failures caused by sloppy postinstalls