Refuse to install obsoleted packages (RhBug:486565)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 18 Mar 2010 13:28:23 +0000 (15:28 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 18 Mar 2010 13:28:23 +0000 (15:28 +0200)
commit781cfed0fd9c9651a2dd49175a85536f0b34b95b
tree261584473d1194e6d373de37d2a3bf42d30d0ec5
parentf22e3c67e5fa56ab31a2ef21cbb80df02ef8615a
Refuse to install obsoleted packages (RhBug:486565)
- Packages which are obsoleted by some installed package now behave
  much like conflicts, ie install is refused unless --nodeps is used
- Unlike conflicts, obsoletes are only tested against installed package
  names and not provides. Otherwise it would be impossible to create
  compat-packages which provide something that is obsoleted.
- Only check against installed obsoletes, as any obsoletes in the
  transaction could and should be handled automatically similarly to
  foo-1.0 and foo-2.0 in the same transaction set resulting only in foo-2.0
  getting installed.
lib/depends.c