Feature changed by: Michael Schröder (mlschroe) Feature #309619, revision 3 Title: Make zypp use a single RPM transaction (no --force) Requested by: Andrew Jorgensen (ajorgensen) Partner organization: openSUSE.org Description: Zypp currently does a force install of each RPM individually, this has the nasty side-effect of ignoring file conflicts and probably has a number of other nasty side-effects we don't know about. It's just a bad practice to force installation. Zypp should instead use a single RPM transaction to install all packages, without using --force. Business case (Partner benefit): openSUSE.org: Because it is so very wrong to force installation as a normal routine part of maintenance and we really need to stop this egregious practice. + Discussion: + #1: Michael Schröder (mlschroe) (2010-05-28 18:54:20) + (Uh oh, not again...) + This is not about --force. The checks you want have to be done *before* + the transaction starts. You're confusing the transaction check with the + actual execution of the transaction. It makes no sense at all to run a + single transaction step without '--force', as it's normal to have file + conflicts in the middle of the execution. + You probably want libzypp to check for file conflicts (which it + currently doesn't do). The satsolver library already supports this (for + example try the little package manager "solv" from the libsatsolver- + demo package), there's just a little part missing in libzypp. The good + thing is that when there is a file conflict we can retrofit it into the + package dependencies and rerun the solver. + If the transaction is executed with one single librpm call or with + multiple steps should not matter at all, it is only done for safety so + that the complete transaction is not hosed if one of the steps fails. -- openSUSE Feature: https://features.opensuse.org/309619