reinstall gcc

Chet Nichols III chet.nichols at gmail.com
Sun May 4 06:41:33 UTC 2008


Hey Bipin-
Your issue ever get resolved? Wanted to see which option ended up working
for you. I don't have the same issue as you- I'm just curious if you just
did a --replacepkgs or a --verify.

Thanks!

Chet

On Wed, Apr 30, 2008 at 6:26 PM, Romeo Theriault <romeotheriault at gmail.com>
wrote:

> I think what you want to do is use rpm's verify option. From rpm's man
> page:
>
> Verifying  a  package compares information about the installed files in
> the
> package
>       with information about the files taken from the package metadata
> stored in the  rpm
>       database.   Among  other things, verifying compares the size, MD5
> sum, permissions,
>       type, owner and group of each file.  Any discrepancies are
> displayed.   Files  that
>       were  not  installed from the package, for example, documentation
> files excluded on
>       installation using the "--excludedocs" option, will be silently
> ignored.
>
>
> man rpm will give you the details.
>
> Good luck
>
> Romeo
>
> On Wed, Apr 30, 2008 at 5:39 PM, Bipin Baghele <kudgon at gmail.com> 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 at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
/*
Chet Nichols III
mail: chet.nichols at gmail.com
(aim: chet / twitter: chet)
*/



More information about the redhat-list mailing list