transaction_revdeps: do not skip pkgs that are being updated.

Modified the test case with changes by @duncaen.

Closes #205
This commit is contained in:
Juan RP
2020-01-18 08:58:54 +01:00
parent 7ff9041f2a
commit 5ff3ab5c60
2 changed files with 1 additions and 23 deletions

View File

@@ -231,16 +231,6 @@ xbps_transaction_revdeps(struct xbps_handle *xhp, xbps_array_t pkgs)
free(pkgname);
continue;
}
/*
* Installed package conflicts with package
* in transaction being updated, check
* if a new version of this conflicting package
* is in the transaction.
*/
if (xbps_find_pkg_in_array(pkgs, pkgname, "update")) {
free(pkgname);
continue;
}
free(pkgname);
broken_pkg(mdeps, curpkgver, pkgver, tract);
}