On Sep 24, 2008, at 3:08 PM, Alexey Tourbin wrote:
>
> Okay, rpm reordered the packages, so that bar is installed before foo.
> But let's see what happens if the order breaks:
>
> $ sudo rpm -ev foo bar
> $ sudo rpm -iv --noorder /home/at/RPM/RPMS/noarch/
> foo-1.0-1.noarch.rpm /home/at/RPM/RPMS/noarch/bar-1.0-1.noarch.rpm
> Preparing packages for installation...
> foo-1.0-1
> /usr/bin/foo: line 1: /usr/bin/bar: No such file or directory
> error: execution of %post scriptlet from foo-1.0-1 failed, exit
> status 127
> bar-1.0-1
> $
>
Well if you specifically disable ordering with --noorder, the nothing
(in rpm)
can prevent the failure mode. Well, duh!
73 de Jeff
Received on Wed Sep 24 21:36:43 2008