Handle erased packages wrt disk-space problem reporting (RhBug:561160)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 4 Feb 2010 13:55:16 +0000 (15:55 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 4 Feb 2010 13:55:16 +0000 (15:55 +0200)
commit4e4aec28c544f2884cb76be37d508f376db5cb7c
tree8fbd80142d4f15b7de1a28c6b8c114254b1fcb01
parent251deaeeb7c0c679a33b17527eaee27369a38cdb
Handle erased packages wrt disk-space problem reporting (RhBug:561160)
- erased packages in the transaction cause space needs to shrink, which
  commit 2222e81e1cf74bbf78acb9969592ab06e2289929 failed to take into
  account, causing false disk space errors from unaffected packages
- adjust obneeded and oineeded when the requirements shrink
- new disk space problems can only occur when the requirements grow,
  change the pmtsCheckDSIProblems() check to reflect that (although not
  strictly necessary)
lib/transaction.c