Mailinglist Archive: opensuse-packaging (156 mails)
| < Previous | Next > |
Re: [opensuse-packaging] RPM transactions
- From: Michael Schroeder <mls@xxxxxxx>
- Date: Tue, 8 Jun 2010 11:04:27 +0200
- Message-id: <20100608090427.GA28408@xxxxxxx>
On Mon, Jun 07, 2010 at 08:32:27PM +0200, Cristian Morales Vega wrote:
No.
Everything you feed to rpm (or rpmlib) in one single step, e.g.
multiple arguments on the rpm command line.
No. We could do that, but see below.
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
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@xxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |