Ask Your Question
0

yum update problems

asked 2012-03-27 23:04:43 -0500

jflocs gravatar image

updated 2012-03-29 10:24:00 -0500

hhlp gravatar image

I get the following error when I try to update using yum:

Error: Package: clang-2.9-6.fc16.x8664 (@updates) Requires: gcc-c++ = 4.6.2 Removing: gcc-c++-4.6.2-1.fc16.x8664 (@fedora) gcc-c++ = 4.6.2-1.fc16 Updated By: gcc-c++-4.6.3-2.fc16.x86_64 (updates) gcc-c++ = 4.6.3-2.fc16

The current version of gcc that I have installed is 4.6.2, and I have tried installing everything expect the gcc update. I also get the following errors from apper:

libgomp-4.6.2-1.fc16.i686 libgomp-4.6.2-1.fc16.i686> libgomp-4.6.2-1.fc16.i686 libgomp-4.6.2-1.fc16.i686 clang-2.9-6.fc16.x8664 requires gcc-c++ = 4.6.2 : Protected multilib versions: libgcj-devel-4.6.2-1.fc16.i686 != libgcj-devel-4.6.3-2.fc16.x8664 Protected multilib versions: libgfortran-4.6.3-2.fc16.x8664 != libgfortran-4.6.2-1.fc16.i686 Protected multilib versions: libgcj-4.6.2-1.fc16.i686 != libgcj-4.6.3-2.fc16.x8664 Protected multilib versions: libquadmath-4.6.3-2.fc16.x8664 != libquadmath-4.6.2-1.fc16.i686 Protected multilib versions: libjpeg-turbo-1.2.0-1.fc16.x8664 != libjpeg-turbo-1.1.1-3.fc16.i686 Protected multilib versions: libgomp-4.6.3-2.fc16.x86_64 != libgomp-4.6.2-1.fc16.i686

Any guidance will be appreciated.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-03-29 08:33:40 -0500

hhlp gravatar image

updated 2012-03-29 08:41:51 -0500

Package: clang-2.9-6.fc16.x86_64 (@ updates)
            Need: gcc-c + + = 4.6.2
            Removing: gcc-c + +-4.6.2-1.fc16.x86_64 (@ fedora)
                gcc-c + + = 4.6.2-1.fc16
            Updated by: gcc-c + +-4.6.3-2.fc16.x86_64 (updates)
                gcc-c + + = 4.6.3-2.fc16

this occurs because there is a new version of gcc, llvm and clang must be updated for dependency problem. at this moment, you have two options.

  • sudo yum update clang llvm --enablerepo=updates-testing (this package was pushed in testing repository).
  • or wait until the package be available in local mirror in a few days..

this is a know bug -> here and also here

edit flag offensive delete link more
-1

answered 2012-03-29 00:11:48 -0500

FranciscoD_ gravatar image

Run:

yum clean all

and retry the command.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-03-27 23:04:43 -0500

Seen: 1,561 times

Last updated: Mar 29 '12