I tried to install rpm-3.0.4-0.33.i386.rpm on Linux 2.2.5-15 and I get an error saying it needs /bin/bash2. /bin/bash2 is supposedly generated by rpm2html 1.3. I tried to install rpm2html-1.3-1.i386.rpm and it says it requires librpm.so.0 which is in rpm-3.0.4-0.33.i386.rpm. -Steven
Install bash2 from its own package. Rpm requires bash2 (and not bash of /bin/sh) because there is a patch in the Red Hat bash2 to parse a shell script and identify which executables will be executed by that script. Rpm will use this to generate dependencies for %pre/%post scriptlets.