Add partial version support to AptPackage.