Update 12.04 logic to handle outdated apt cache on distro