[Rpm-maint] checking installation exit status / order of deinstallation

Joachim Worringen joachim at dolphinics.com
Tue Mar 27 14:29:49 UTC 2007


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



More information about the Rpm-maint mailing list