diff --git a/lib/repo_pkgdeps.c b/lib/repo_pkgdeps.c index e983e0d5..96c9ff1f 100644 --- a/lib/repo_pkgdeps.c +++ b/lib/repo_pkgdeps.c @@ -348,6 +348,7 @@ find_repo_deps(struct xbps_handle *xhp, xbps_dbg_printf_append(xhp, "[ignoring wrong dependency " "%s (depends on itself)]\n", reqpkg); + xbps_remove_string_from_array(pkg_rdeps_array, reqpkg); free(pkgname); free(reqpkgname); continue;