This essentially adds a check ensuring removed packages still exist when 
we're about to commit to the transaction, ie that nobody removed the 
package while we were enjoying the view.
    
RPMPROB_PKG_INSTALLED is (ab)used for the purpose here - it's related to 
the package install status anyhow and adding a separate value would be just a 
whole bunch of boilerplate code, but I suppose I could be conviced otherwise 
too.

You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1250

-- Commit Summary --

  * Refactor pre-flight checks for added packages to helper function
  * Add a pre-flight check for removed packages too

-- File Changes --

    M lib/rpmprob.c (5)
    M lib/transaction.c (116)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1250.patch
https://github.com/rpm-software-management/rpm/pull/1250.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1250
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to