From: Michael Schroeder Date: Mon, 2 Feb 2015 15:22:15 +0000 (+0100) Subject: do not ignore the only repodata we have X-Git-Tag: 0.6.9~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a909174d35577d746ace13a09857052d2c895398;p=thirdparty%2Flibsolv.git do not ignore the only repodata we have --- diff --git a/src/repodata.c b/src/repodata.c index 4d577902..4ba1345b 100644 --- a/src/repodata.c +++ b/src/repodata.c @@ -1444,6 +1444,8 @@ dataiterator_filelistcheck(Dataiterator *di) if (!needcomplete) { /* we don't need the complete filelist, so ignore all stubs */ + if (data->repo->nrepodata == 2) + return 1; for (j = 1; j < data->nkeys; j++) if (data->keys[j].name != REPOSITORY_SOLVABLES && data->keys[j].name != SOLVABLE_FILELIST) return 1;