RPM transactions

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

 



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 ?

Regards,
rrs

--
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
"Stealing logic from one person is plagiarism, stealing from many is research."
"Necessity is the mother of invention."

_______________________________________________
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