[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RPM transactions
- From: Joe Van Dyk <joevandyk gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Cc: Rpm-list redhat com, rpm-devel lists dulug duke edu
- Subject: Re: RPM transactions
- Date: Mon, 13 Feb 2006 19:58:51 -0800
On 1/20/06, Ritesh Raj Sarraf <rrs researchut com> wrote:
> Hi,
>
> I just wanted to understand how RPM figures out the success or failure
> of its transactions.
>
> Say you have package "a" which depends on package "b".
>
> Say in package b's pre-installation script you define a command which
> won't succeed. So overall your pre-installation script of package "b"
> will fail during installation. Which means package "b" won't install.
>
> Now, when you do `rpm -Uvh a.rpm b.rpm`, a will install because its
> dependency is satisfied but b won't because its pre-installation script's
> exit status would be false.
>
> Does RPM plan to take care of this issue ? If not, is it because it is
> fundamentally not doable ?
>
> IMO, this is an important feature to tackle.
> Say you have apache. Your pre-installation script would create user
> apache/httpd/www. If that fails, by standards it should abort.
> What do you guys say ?
If a %pre script fails, the package still gets installed?
Joe
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]