On Mon, Jun 07, 2010 at 08:32:27PM +0200, Cristian Morales Vega wrote:
Isn't the whole distribution installation a single RPM transaction?
No.
If no, what's exactly a RPM transaction?
Everything you feed to rpm (or rpmlib) in one single step, e.g. multiple arguments on the rpm command line.
After installation, if ZYpp commit.downloadMode is set to DownloadInAdvance or DownloadInHeaps doesn't this reduces also the number of transactions (to just one in the case of DownloadInAdvance)?
No. We could do that, but see below.
There is still the problem of uninstall, but I don't expect users to uninstall a lot of packages at the same time.
Some background: rpm does all the erasures at the end of the (rpm-)transaction. So if a transaction dies in the middle because of a broken scriptlet you've got a very broken system. AFAIK there's no easy way to continue the transaction. But Zypp offers a "retry/ignore" dialog, which needs this. Thus, every Zypp-transaction is broken down into multiple rpm-transactions. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org