Ensure basic packages are installed exactly once