]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
Fix obsoletes handling in multiversion mode (hopefully for the last time)
authorMichael Schroeder <mls@suse.de>
Tue, 15 Oct 2013 11:57:58 +0000 (13:57 +0200)
committerMichael Schroeder <mls@suse.de>
Fri, 16 May 2014 15:18:24 +0000 (17:18 +0200)
Seems like rpm does not really obsolete packages in multiversion mode,
but instead reports a conflict.

src/transaction.c

index efa381d16a0546e437bede4c5d659e33b110bc79..93d6acb72e1757557bd6456f176fbc18927e0f3d 100644 (file)
@@ -624,7 +624,7 @@ create_transaction_info(Transaction *trans, Queue *decisionq)
            continue;
          queue_push2(ti, p, p2);
        }
-      if (s->obsoletes && (!multi || !pool->noobsoletesmultiversion))
+      if (s->obsoletes && !multi)
        {
          Id obs, *obsp = s->repo->idarraydata + s->obsoletes;
          while ((obs = *obsp++) != 0)