different version handling for apt