Re: RPM transactions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/20/06, Ritesh Raj Sarraf <rrs@xxxxxxxxxxxxxx> 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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux