[CentOS] - problem gcc with yum

Thu Oct 10 11:26:53 UTC 2013
Earl Ramirez <earlaramirez at gmail.com>

On Thu, 2013-10-10 at 13:23 +0200, Paolo De Michele wrote:
> hi all,
> 
> today, I have this problem:
> 
> 
> # yum install gcc
> Loaded plugins: fastestmirror, security
> Loading mirror speeds from cached hostfile
>  * base: ftp.hosteurope.de
>  * epel: mirror.de.leaseweb.net
>  * extras: ftp.hosteurope.de
>  * updates: ftp.hosteurope.de
> Setting up Install Process
> Resolving Dependencies
> --> Running transaction check
> ---> Package gcc.x86_64 0:4.4.7-3.el6 will be installed
> --> Processing Dependency: libgomp = 4.4.7-3.el6 for package:
> gcc-4.4.7-3.el6.x86_64
> --> Processing Dependency: cpp = 4.4.7-3.el6 for package:
> gcc-4.4.7-3.el6.x86_64
> --> Processing Dependency: glibc-devel >= 2.2.90-12 for package:
> gcc-4.4.7-3.el6.x86_64
> --> Processing Dependency: cloog-ppl >= 0.15 for package:
> gcc-4.4.7-3.el6.x86_64
> --> Processing Dependency: libgomp.so.1()(64bit) for package:
> gcc-4.4.7-3.el6.x86_64
> --> Running transaction check
> ---> Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed
> --> Processing Dependency: libppl_c.so.2()(64bit) for package:
> cloog-ppl-0.15.7-1.2.el6.x86_64
> --> Processing Dependency: libppl.so.7()(64bit) for package:
> cloog-ppl-0.15.7-1.2.el6.x86_64
> ---> Package cpp.x86_64 0:4.4.7-3.el6 will be installed
> --> Processing Dependency: libmpfr.so.1()(64bit) for package:
> cpp-4.4.7-3.el6.x86_64
> ---> Package glibc-devel.x86_64 0:2.12-1.107.el6_4.4 will be installed
> --> Processing Dependency: glibc-headers = 2.12-1.107.el6_4.4 for package:
> glibc-devel-2.12-1.107.el6_4.4.x86_64
> --> Processing Dependency: glibc-headers for package:
> glibc-devel-2.12-1.107.el6_4.4.x86_64
> ---> Package libgomp.x86_64 0:4.4.7-3.el6 will be installed
> --> Running transaction check
> ---> Package glibc-headers.x86_64 0:2.12-1.107.el6_4.4 will be installed
> --> Processing Dependency: kernel-headers >= 2.2.1 for package:
> glibc-headers-2.12-1.107.el6_4.4.x86_64
> --> Processing Dependency: kernel-headers for package:
> glibc-headers-2.12-1.107.el6_4.4.x86_64
> ---> Package mpfr.x86_64 0:2.4.1-6.el6 will be installed
> ---> Package ppl.x86_64 0:0.10.2-11.el6 will be installed
> --> Finished Dependency Resolution
> Error: Package: glibc-headers-2.12-1.107.el6_4.4.x86_64 (updates)
>            Requires: kernel-headers >= 2.2.1
> Error: Package: glibc-headers-2.12-1.107.el6_4.4.x86_64 (updates)
>            Requires: kernel-headers
>  You could try using --skip-broken to work around the problem
>  You could try running: rpm -Va --nofiles --nodigest
> 
> 
Do you have the kernel-headers install? If not 
yum install kernel-headers 

This should resolve the issue because it's required but missing.

> 
> how can I fix?
> thanks in advance
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20131010/0c9f3567/attachment-0005.sig>