diff --git a/src/distromatic.c b/src/distromatic.c index bc31ab3..74b8092 100644 --- a/src/distromatic.c +++ b/src/distromatic.c @@ -499,7 +499,9 @@ resolveFirstLevelDependencies(struct configTag *ct, int archidx) /* warn about provides provided by obsoleted packages */ k=0; for (j = 0; j < provided->numproviders; j++) { - if (provided->provider[j]->obsoleted && !currheader->obsoleted) k++; + if (provided->provider[j]->obsoleted && + !provided->provider[j]->sourceheader->updatingparent && // don't fall in case above + !currheader->obsoleted) k++; } if (k == provided->numproviders) { // all provides are obsoleted snprintf(warning, PATH_MAX, "%s(%s,%s) requires %s which is only provided by obsoleted package(s):",