Parse dpkg versions.