Would the rpm "--replacepkgs" option do the trick? Bipin Baghele wrote:
Hi, I have RHEL 4 update 6 server running ok but due to some application failure we believe that some gcc related files are corrupted and would like to reinstall gcc package. I do have the whole rpm source for RHEL 4 update 6 but tried updating using up2date command but does not update any files and says package is already installed. I dont want to remove the package and reinstall because of so many gcc packages (see below) and their interdependency. Is their a way I can reinstall all gcc package of same release, in this case install gcc on update 6 machine from update 6 rpm package list. # uname -a Linux gvl7015 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux AS release 4 (Nahant Update 6) # rpm -qa|grep gcc gcc-3.4.6-9 gcc4-java-4.1.2-14.EL4 gcc4-c++-4.1.2-14.EL4 compat-gcc-32-3.2.3-47.3 libgcc-3.4.6-9 gcc-java-3.4.6-9 compat-libgcc-296-2.96-132.7.2 gcc-c++-3.4.6-9 gcc4-4.1.2-14.EL4 libgcc-3.4.6-9 gcc-gnat-3.4.6-9 compat-gcc-32-c++-3.2.3-47.3 compat-gcc-32-c++-3.2.3-47.3 gcc4-gfortran-4.1.2-14.EL4 gcc-objc-3.4.6-9 gcc-g77-3.4.6-9 compat-gcc-32-3.2.3-47.3
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list