Erro ao instalar o GCC no Fedora

1

Eu tenho tentado instalar o GCC em Fedora 18. Aqui está um trecho direto da minha janela do terminal:

ishan@localhost ~]$ sudo yum install gcc gcc-c++
Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package gcc.i686 0:4.7.2-8.fc18 will be installed
--> Processing Dependency: cpp = 4.7.2-8.fc18 for package: gcc-4.7.2-8.fc18.i686
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.7.2-8.fc18.i686
--> Processing Dependency: cloog-ppl >= 0.15 for package: gcc-4.7.2-8.fc18.i686
--> Processing Dependency: libmpc.so.2 for package: gcc-4.7.2-8.fc18.i686
---> Package gcc-c++.i686 0:4.7.2-8.fc18 will be installed
--> Processing Dependency: libstdc++-devel = 4.7.2-8.fc18 for package:     gcc-c++-4.7.2-8.fc18.i686
--> Running transaction check
---> Package cloog-ppl.i686 0:0.15.11-4.fc18.1 will be installed
--> Processing Dependency: libppl_c.so.4 for package: cloog-ppl-0.15.11-4.fc18.1.i686
--> Processing Dependency: libppl.so.9 for package: cloog-ppl-0.15.11-4.fc18.1.i686
---> Package cpp.i686 0:4.7.2-8.fc18 will be installed
---> Package glibc-devel.i686 0:2.16-30.fc18 will be installed
--> Processing Dependency: glibc-headers = 2.16-30.fc18 for package: glibc-devel-2.16-30.fc18.i686
--> Processing Dependency: glibc = 2.16-30.fc18 for package: glibc-devel-2.16-30.fc18.i686
--> Processing Dependency: glibc-headers for package: glibc-devel-2.16-30.fc18.i686
---> Package libmpc.i686 0:0.9-3.fc18.2 will be installed
---> Package libstdc++-devel.i686 0:4.7.2-8.fc18 will be installed
--> Running transaction check
---> Package glibc.i686 0:2.16-24.fc18 will be updated
--> Processing Dependency: glibc = 2.16-24.fc18 for package: glibc-common-2.16-24.fc18.i686
---> Package glibc.i686 0:2.16-30.fc18 will be an update
---> Package glibc-headers.i686 0:2.16-30.fc18 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.16-30.fc18.i686
--> Processing Dependency: kernel-headers for package: glibc-headers-2.16-30.fc18.i686
---> Package ppl.i686 0:0.11.2-10.fc18 will be installed
--> Processing Dependency: libpwl.so.5 for package: ppl-0.11.2-10.fc18.i686
--> Running transaction check
---> Package glibc-common.i686 0:2.16-24.fc18 will be updated
---> Package glibc-common.i686 0:2.16-30.fc18 will be an update
---> Package kernel-headers.i686 0:3.8.7-201.fc18 will be installed
---> Package ppl-pwl.i686 0:0.11.2-10.fc18 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package               Arch       Version                   Repository     Size
================================================================================
Installing:
 gcc                   i686       4.7.2-8.fc18              fedora         12 M
 gcc-c++               i686       4.7.2-8.fc18              fedora        5.5 M
Installing for dependencies:
 cloog-ppl             i686       0.15.11-4.fc18.1          fedora         96 k
 cpp                   i686       4.7.2-8.fc18              fedora        4.4 M
 glibc-devel           i686       2.16-30.fc18              updates       997 k
 glibc-headers         i686       2.16-30.fc18              updates       636 k
 kernel-headers        i686       3.8.7-201.fc18            updates       826 k
 libmpc                i686       0.9-3.fc18.2              fedora         51 k
 libstdc++-devel       i686       4.7.2-8.fc18              fedora        1.4 M
 ppl                   i686       0.11.2-10.fc18            fedora        1.5 M
 ppl-pwl               i686       0.11.2-10.fc18            fedora         37 k
Updating for dependencies:
 glibc                 i686       2.16-30.fc18              updates       4.2 M
 glibc-common          i686       2.16-30.fc18              updates        11 M

Transaction Summary
================================================================================
Install  2 Packages (+9 Dependent packages)
Upgrade             ( 2 Dependent packages)

Total size: 43 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Check
Running Transaction Test


Transaction Check Error:
  file /usr/lib/audit from install of glibc-2.16-30.fc18.i686 conflicts with file from package audit-2.2.1-2.fc18.i686

Error Summary
-------------

[ishan@localhost ~]$ 

Eu não sei porque isso está acontecendo. Quando eu tinha ferramentas de desenvolvimento, tudo tinha sido instalado corretamente, diferente do compilador .

Existe uma maneira de se livrar desse erro e instalar o GCC?

    
por Ishan 19.04.2013 / 17:43

1 resposta

5

Tente atualizar o pacote audit primeiro.

yum update audit
    
por 19.04.2013 / 17:45