add pkgAcquire::TransactionHasError()