|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
||||
|
||||
|
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
|
|||
|
|||
|
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.
__________________
PHP manual | MySQL manual | Apache docs | Linux Documentation Project | Free Software Foundation Smart Questions HOWTO | PHP security | PHP FAQ | Posting HOWTO Wikipedia | English dictionary | Google | News | RFCs Thus Spoke Zarathustra | A Skeptic's Guide to Christianity | Project Gutenberg | Skeptic's Annotated Bible ParEcon | Marxists Internet Archive | The Memory Hole | Landover Baptist | DHMO Research Universal Declaration of Human Rights | UN Charter | Geneva Conventions Sinfest | Chopping Block | Filthy Lies | Bob the Angry Flower | How to Shoot Yourself In the Foot |
|
#3
|
||||
|
||||
|
How exactly is this '-r' option used... it keeps asking for additional arguments??
thanks, Mickalo |
|
#4
|
|||
|
|||
|
I should've looked it up b4 I told you ...
It's -e, not -r. I don't know what -r does ![]() Sorry |
|
#5
|
||||
|
||||
|
Quote:
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 |
|
#6
|
|||
|
|||
|
OK, let's give up on the issue of files being overwritten and simply install the new stuff no matter what happens.
My favourite syntax for RPM is: rpm -ihv --force --nodeps gcc-2.95.1-i386.rpm It always works ![]() |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Upgrade GCC on RH/Linux 6.2 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|