Revert back to rpmdbRemove() taking instance number instead of actual header
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 7 May 2010 12:25:38 +0000 (15:25 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 7 May 2010 12:25:38 +0000 (15:25 +0300)
commit775cbf8bf28775f913ac40a79d95de714fff6d2d
treebc8f6536143251410e215f1d490b8e3091551583
parentf0518013733f4b2ac32ac15f1407c014ebc83e03
Revert back to rpmdbRemove() taking instance number instead of actual header
- On package reinstall (ie --replacepkgs) we only know the old header
  by the instance number, and grabbing the header from the db in
  psm as a special case for that is more trouble than just doing what
  we always did.
- Reverts commit e16695e932e294ec600e673d38c41bde20931204 and unbreaks
  the --replacepkgs test case
lib/psm.c
lib/rpmdb.c
lib/rpmdb_internal.h