diff --git a/lib/repo.c b/lib/repo.c index c4f19b2a..95acd906 100644 --- a/lib/repo.c +++ b/lib/repo.c @@ -246,6 +246,7 @@ repo_open_with_type(struct xbps_handle *xhp, const char *url, const char *name) int rv = errno; xbps_dbg_printf("[repo] `%s' open %s %s\n", repofile, name, strerror(rv)); + xbps_error_printf("%s: %s\n", strerror(rv), repofile); goto out; } if (repo_open_local(repo, repofile)) {