Re: yum update prob | FC7 and gcc



On Sun, 30 Sep 2007 13:58:30 -0400, cooch17@xxxxxxxxxxxxxxxxx
<cooch17@xxxxxxxxxxxxxxxxx> wrote:
Sat down today to try to update gcc and associated libs. Ran into the
following errors, which I'm hoping someone can help me navigate. Seems
like a bunch of stuff conflicts with libgcj-4.1.2-12. Any red flags
against uninstalling libgcj-4.1.2-12 first?

Transaction Check Error:
file /usr/share/java/libgcj-4.1.2.jar from install of
libgcj-4.1.2-27.fc7 conflicts with file from package libgcj-4.1.2-12
file /usr/share/man/man1/fastjar.1.gz from install of
libgcj-4.1.2-27.fc7 conflicts with file from package libgcj-4.1.2-12
file /usr/share/man/man1/gappletviewer.1.gz from install of
(Snip multiple conflict errors)

Updating gcc versions is usually not a good idea. As you see, it almost
always will lead to multiple conflicts, possibly broken stuff and lots
of frustration. There are 2 good ways I know of to do it:

1. Update your distro.

2. Have more than one version of gcc installed simultaneously, which is
quite possible to do, and choose the version you want to use when you
need it.

Since I really hate to reinstall until new hardware demands it (this box
is *still* running a much-modified Mandrake 10.1 install) I have gone
for #2 in the past. It's not really all that hard, but it is more than
I have time to get into here.

Do some Google searches and you should find a lot of info. Or post
about having more than one version of gcc installed and someone will
help out.

--
Registered Linux user #266531
.



Relevant Pages

  • Re: WinXP running slow
    ... Use the control panel and add or remove programs to do this. ... > As for uninstalling any fixes, I'd like to, but I've ... > known conflicts between any of Window's fixes and any ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: yum update prob | FC7 and gcc
    ... like a bunch of stuff conflicts with libgcj-4.1.2-12. ... Updating gcc versions is usually not a good idea. ... try the experiment of uninstalling libgcj, ... Unloading libgcj unloaded a bunch of other things also, ...
    (comp.os.linux.misc)