resolveFirstLevelDependencies: don't fall in update case in obsolete check for secondary archs
This commit is contained in:
parent
34f9295baf
commit
55afaf208c
@ -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):",
|
||||
|
Loading…
Reference in New Issue
Block a user