Clear packages cache more aggressively to avoid issues during OS version upgrades.