Questions: Redhat 6.3 Virtual Machine performs an IBM Installition manager installation with a direct return, prompting for a new message that does not support virtual machine hardware
Solution: IBM installition Manager relies on incomplete packages and uses shell scripts to check for and install missing packages
#!/bin/SH# Check the 16 installation packages installed by IBM Installition Manager that are not required to be fully consistent or updated packages="compat-db compat-libstdc++-33 elfutils elfutils-libs gtk2 gtk2-engines ksh libstdc++"Packages=${packages}"libxft libxmu libxp libxtst pam libcanberra-gtk2 LIBGCC packagekit-gtk-module"versions=("4.6" "3.2" "0.152" "0.152" "2.18" "2.18" "20100621" "4.4" "2.1" "1.0" "1.0" "1.0" "1.1" "0.22" "4.4" "0.5") I=0 forPackageinch$packages Dopackageversion=${package}"-"${versions[i]}if[' Rpm-qa |grep$packageversion |WC-L '-ne0 ] Then Echo${i}": Exists The package: $packageversion" Else if[' Rpm-qa |grep$package |WC-L '-ne0 ] Theninstalled= ' Rpm-qa |grep$package 'Echo${i}": Not exist The package like : $packageversion" Echo "But exists other versions:" Echo "$installed" Else Echo${i}": Installing the package: $package" Yum Install$packagefi fiI=$ (($i +1)) Done
Check the shell script that installs the IBM Installition Manager Dependency Package