#1
  1. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    15

    Thumbs up Upgrade GCC on RH/Linux 6.2


    I've installed all the dependency for gcc 2.95.1 and when I attempt to install the rpm gcc-2.95.1 I keep getting this message:

    bash$ rpm -ivh gcc-2.95.1-i386.rpm
    Preparing... ########################################### [100%]
    file /usr/bin/egcs from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/bin/gcc from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/bin/gcov from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/bin/i386-redhat-linux-gcc from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/bin/protoize from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/bin/unprotoize from install of gcc-2.95.1-3 conflicts with file from package egcs-1.1.2-30
    file /usr/i386-redhat-linux/lib/libiberty.a from install of gcc-2.95.1-3 conflicts with file from package egcs-1
    .1.2-30
    ###############################################

    Not being fimilar with rpm's,... what do I need to do, in order to be able to upgrade the gcc. We are currently using 2.91.1

    Server:
    Red Hat Linux release 6.2
    Kernel 2.4.10 on an i686

    Thanks,

    Mickalo

    Thunder Rain Internet Publishing

    Custom Programming & Database development
    Providing Personal/Business
    Internet Solutions that work!
  2. #2
  3. No Profile Picture
    Not there when you need me
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Oct 2001
    Location
    Berlin, Germany
    Posts
    1,430
    Rep Power
    15
    Try to remove the offending files by rpm:
    rpm -rv egcs-1.1.2-30
    , and then install gcc using the usual
    rpm -ihv gcc-2.95.1-i386.rpm

    If that doesn't work, do
    rpm -ihv --force --nodeps gcc-2.95.1-i386.rpm
    It is rather dangerous as it will overwrite anything and won't check for any dependencies, including dep.s that get broken by the installation process.
  4. #3
  5. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    15

    Thumbs up


    How exactly is this '-r' option used... it keeps asking for additional arguments??

    thanks,

    Mickalo

    Thunder Rain Internet Publishing

    Custom Programming & Database development
    Providing Personal/Business
    Internet Solutions that work!
  6. #4
  7. #5
  8. Ole` Timer
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Location
    N.W. Iowa
    Posts
    472
    Rep Power
    15
    Originally posted by realnowhereman
    I should've looked it up b4 I told you ...

    It's -e, not -r. I don't know what -r does

    Sorry
    Well I tried that:
    Code:
    rpm -ev egcs-1.1.2-30                                    
    error: package egcs-1.1.2-30 is not installed
    Go figure!

    Maybe it's best to leave well enough alone! As they say, "..if it works.. don't fix it.."

    appreciate you help tho..

    Mickalo

    Thunder Rain Internet Publishing

    Custom Programming & Database development
    Providing Personal/Business
    Internet Solutions that work!
  9. #6
  10. No Profile Picture
    Not there when you need me
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Oct 2001
    Location
    Berlin, Germany
    Posts
    1,430
    Rep Power
    15

IMN logo majestic logo threadwatch logo seochat tools logo