yum install failing com saída estranha

0

Estou usando o comando abaixo para instalar o gcc no meu laptop executando o fedora 17.

yum install gcc

Mas estou recebendo resultados estranhos.

Loaded plugins: langpacks, presto, refresh-packagekit
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-                transaction first to finish them.
--> Running transaction check
---> Package gcc.x86_64 0:4.7.0-5.fc17 will be installed
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.7.0-5.fc17.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.15-37.fc17 will be installed
--> Processing Dependency: glibc-headers = 2.15-37.fc17 for package: glibc-devel-2.15-37.fc17.x86_64
--> Processing Dependency: glibc = 2.15-37.fc17 for package: glibc-devel-2.15-37.fc17.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.15-37.fc17.x86_64
--> Running transaction check
---> Package glibc-devel.x86_64 0:2.15-37.fc17 will be installed
--> Processing Dependency: glibc = 2.15-37.fc17 for package: glibc-devel-2.15-37.fc17.x86_64
---> Package glibc-headers.x86_64 0:2.15-37.fc17 will be installed
--> Processing Dependency: glibc = 2.15-37.fc17 for package: glibc-headers-2.15-37.fc17.x86_64
--> Finished Dependency Resolution
Error: Package: glibc-headers-2.15-37.fc17.x86_64 (fedora)
       Requires: glibc = 2.15-37.fc17
       Installed: glibc-2.15-56.fc17.i686 (@updates)
           glibc = 2.15-56.fc17
       Available: glibc-2.15-37.fc17.i686 (fedora)
           glibc = 2.15-37.fc17
Error: Package: glibc-devel-2.15-37.fc17.x86_64 (fedora)
       Requires: glibc = 2.15-37.fc17
       Installed: glibc-2.15-56.fc17.i686 (@updates)
           glibc = 2.15-56.fc17
       Available: glibc-2.15-37.fc17.i686 (fedora)
           glibc = 2.15-37.fc17
 You could try using --skip-broken to work around the problem
** Found 141 pre-existing rpmdb problem(s), 'yum check' output follows:
1:NetworkManager-0.9.4.0-9.git20120521.fc17.x86_64 is a duplicate with 1:NetworkManager-    0.9.4.0-7.git20120403.fc17.x86_64
1:NetworkManager-glib-0.9.4.0-9.git20120521.fc17.x86_64 is a duplicate with     1:NetworkManager-glib-0.9.4.0-7.git20120403.fc17.x86_64
PackageKit-0.7.5-1.fc17.x86_64 is a duplicate with PackageKit-0.7.4-3.fc17.x86_64
PackageKit-glib-0.7.5-1.fc17.x86_64 is a duplicate with PackageKit-glib-0.7.4-    3.fc17.x86_64
PackageKit-yum-0.7.5-1.fc17.x86_64 is a duplicate with PackageKit-yum-0.7.4-3.fc17.x86_64
abrt-2.0.10-4.fc17.x86_64 is a duplicate with abrt-2.0.10-3.fc17.x86_64
abrt-addon-ccpp-2.0.10-4.fc17.x86_64 is a duplicate with abrt-addon-ccpp-2.0.10-3.fc17.x86_64
abrt-addon-kerneloops-2.0.10-4.fc17.x86_64 is a duplicate with abrt-addon-kerneloops-2.0.10-3.fc17.x86_64
abrt-addon-python-2.0.10-4.fc17.x86_64 is a duplicate with abrt-addon-python-2.0.10-3.fc17.x86_64
abrt-addon-vmcore-2.0.10-4.fc17.x86_64 is a duplicate with abrt-addon-vmcore-2.0.10-3.fc17.x86_64................

Atualmente, minha pasta /etc/yum.repos.d/ tem apenas um arquivo fedora.repo .

Conteúdo de fedora.repo .Conteúdos deste arquivo parecem ok para mim.Existe algum outro local que eu deva verificar?

[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
    #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/    $basearch/os/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-    $releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/    $basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-    $releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/    source/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-  $releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
    
por g4ur4v 28.11.2012 / 20:05

1 resposta

0

A resposta está toda na "saída estranha". Em primeiro lugar, diz: "aqui estão as transações inacabadas restantes. Você pode considerar executar a transação completa antes de concluí-las."

Então você tem vários problemas de dependência. Ela diz: "Você poderia tentar usar --skip-broken para contornar o problema".

A coisa interessante que vejo é que você tem dependências mais atualizadas do que as necessárias ...

Error: Package: glibc-headers-2.15-**37**.fc17.x86_64 (fedora)
       Requires: glibc = 2.15-**37**.fc17
       Installed: glibc-2.15-**56**.fc17.i686 (@updates)
           glibc = 2.15-**56**.fc17
       Available: glibc-2.15-**37**.fc17.i686 (fedora)
           glibc = 2.15-**37**.fc17
    
por 28.11.2012 / 22:05