Only update package lists if we're actually installing something new.