Fixed a new issue with vpkgs replacing the same vpkg they are providing.
Added a new testcase to verify its correctness.
This commit is contained in:
1 parent
510c84d3bb
commit
21f32a75c5
3 files changed
+49
-5
No files matched your search
@@ -316,7 +316,8 @@ xbps_transaction_sort(struct xbps_handle *xhp)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!vpkg_found && (pd = pkgdep_find(pkgver)) == NULL) {
|
||||
pd = pkgdep_find(pkgver);
|
||||
if ((!strcmp(tract, "remove") || (!pd && !vpkg_found))) {
|
||||
/*
|
||||
* If package not in list, just add to the tail.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user