[Rpm-maint] checking installation exit status / order of deinstallation
Jason Corley
jason.corley at gmail.com
Tue Mar 27 14:38:41 UTC 2007
You may want to look at JBJ's RPM at wraptastic.org. Erasure ordering
was added to 4.4.6 and some of the rollback work might apply to your
first question.
Jason
On 3/27/07, Joachim Worringen <joachim at dolphinics.com> wrote:
> I found the following problems with rpm 4.3.3 (I assume they are not
> limited to this version):
>
> 1. Assume we have two packets A and B, with B depending on A. I install
> them both like 'rpm -i A.rpm B.rpm'.
> Problem: installation of A fails (rpm shows exit status 1), but B is
> installed nevertheless. I would expect that the exit status is
> considered, and the complete installation will stop at this point.
>
> 2. Assume the two packets A and B are installed, B is depending on A,
> and A can not be uninstalled when B is still installed. When I call 'rpm
> -e A B', everything works fine, as B is erased first, then A.
> Problem: calling with reversed order on the command line ('rpm -e B A')
> will try to erase A first, then B, which fails. I would expect that the
> order of de-installation is determined by the dependencies, not by the
> argument order on the command line.
>
> I could not locate the rpm bugzilla server to check if these are known
> problems.
>
> regards, Joachim
>
> --
> Joachim Worringen, Software Architect, Dolphin Interconnect Solutions
> phone ++49/(0)228/324 08 17 - http://www.dolphinics.com
> _______________________________________________
> Rpm-maint mailing list
> Rpm-maint at lists.rpm.org
> https://lists.rpm.org/mailman/listinfo/rpm-maint
>
More information about the Rpm-maint
mailing list