Mailinglist Archive: zypp-devel (58 mails)
| < Previous | Next > |
Re: [zypp-devel] [Fwd: SuSEconfig and PackageKit]
- From: Stanislav Brabec <sbrabec@xxxxxxx>
- Date: Fri, 23 Jan 2009 22:31:57 +0100
- Message-id: <1232746318.6434.23.camel@xxxxxxxxxx>
Michael Schroeder wrote:
Cache is needed to display icons, not to process package installation.
For programs like ldconfig it is more complicated.
Suppose that we will implement one time triggers and move ldconfig
there. Now let's have a packages:
liba
b (requires liba)
c PreReq: b (e. g. Requires(post))
Nowadays you can install all at once using ldconfig is called by each
shared library, b is working when c starts b inside script.
With post transaction triggers, a b c would not be installable during a
single transaction and the installation batch has to be split to two
transactions:
a b
c
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
As a side note, you also have the ldconfig problem: maybe some
other package's scriptlet needs to have an up-to-date gtk icon
cache, so it may not be correct to delay the cache generation
to the end of the transaction.
Cache is needed to display icons, not to process package installation.
For programs like ldconfig it is more complicated.
Suppose that we will implement one time triggers and move ldconfig
there. Now let's have a packages:
liba
b (requires liba)
c PreReq: b (e. g. Requires(post))
Nowadays you can install all at once using ldconfig is called by each
shared library, b is working when c starts b inside script.
With post transaction triggers, a b c would not be installable during a
single transaction and the installation batch has to be split to two
transactions:
a b
c
--
Best Regards / S pozdravem,
Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxx
Lihovarská 1060/12 tel: +420 284 028 966
190 00 Praha 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |