diff --git a/lib/repo_keys.c b/lib/repo_keys.c index b8bb3ce8..7bc00c62 100644 --- a/lib/repo_keys.c +++ b/lib/repo_keys.c @@ -47,6 +47,11 @@ xbps_repo_key_import(struct xbps_repo *repo) int import, rv = 0; assert(repo); + /* + * Ignore local repositories. + */ + if (!xbps_repository_is_remote(repo->uri)) + return 0; /* * If repository does not have required metadata plist, ignore it. */