projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5fff4b
)
Fix obsoletes handling in multiversion mode (hopefully for the last time)
author
Michael Schroeder
<mls@suse.de>
Tue, 15 Oct 2013 11:57:58 +0000
(13:57 +0200)
committer
Michael Schroeder
<mls@suse.de>
Tue, 15 Oct 2013 11:57:58 +0000
(13:57 +0200)
Seems like rpm does not really obsolete packages in multiversion mode,
but instead reports a conflict.
src/transaction.c
patch
|
blob
|
history
diff --git
a/src/transaction.c
b/src/transaction.c
index
5fe90db
..
22496f2
100644
(file)
--- a/
src/transaction.c
+++ b/
src/transaction.c
@@
-622,7
+622,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)