issue instalando git no redhat 5.6

0

Eu recebo o seguinte erro ao executar: De alguma forma, está faltando as dependências perl, não tenho certeza se preciso atualizar o perl ou remover algo como uma solução alternativa!

yum install git

Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package git.i386 0:1.7.11.3-1.el5.rf set to be updated
--> Processing Dependency: perl-Git = 1.7.11.3-1.el5.rf for package: git
--> Processing Dependency: perl(DBI) for package: git
--> Processing Dependency: perl(Git) for package: git
--> Running transaction check
---> Package git.i386 0:1.7.11.3-1.el5.rf set to be updated
--> Processing Dependency: perl(DBI) for package: git
---> Package perl-Git.i386 0:1.7.11.3-1.el5.rf set to be updated
--> Processing Dependency: perl(SVN::Ra) for package: perl-Git
--> Processing Dependency: perl(SVN::Delta) for package: perl-Git
--> Processing Dependency: perl(SVN::Client) for package: perl-Git
--> Processing Dependency: perl(YAML::Any) for package: perl-Git
--> Processing Dependency: perl(SVN::Core) for package: perl-Git
--> Running transaction check
---> Package git.i386 0:1.7.11.3-1.el5.rf set to be updated
--> Processing Dependency: perl(DBI) for package: git
---> Package perl-Git.i386 0:1.7.11.3-1.el5.rf set to be updated
--> Processing Dependency: perl(SVN::Ra) for package: perl-Git
--> Processing Dependency: perl(SVN::Delta) for package: perl-Git
--> Processing Dependency: perl(SVN::Client) for package: perl-Git
--> Processing Dependency: perl(SVN::Core) for package: perl-Git
---> Package perl-YAML.noarch 0:0.72-1.el5.rf set to be updated
--> Finished Dependency Resolution
perl-Git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(SVN::Ra) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(DBI) is needed by package git-1.7.11.3-1.el5.rf.i386 (rpmforge)
perl-Git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(SVN::Core) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
perl-Git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(SVN::Client) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
perl-Git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(SVN::Delta) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
git-1.7.11.3-1.el5.rf.i386 from rpmforge has depsolving problems
  --> Missing Dependency: perl(DBI) is needed by package git-1.7.11.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(SVN::Core) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(SVN::Ra) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(SVN::Client) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(SVN::Delta) is needed by package perl-Git-1.7.11.3-1.el5.rf.i386 (rpmforge)
Error: Missing Dependency: perl(DBI) is needed by package git-1.7.11.3-1.el5.rf.i386 (rpmforge)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

Você pode me ajudar a resolver o problema? Obrigado,

    
por fixer1234 08.03.2013 / 00:07

4 respostas

1

Eu experimentei o mesmo problema. Parece que os pacotes do rpmforge que possuem necessidades estão quebrados. Eu tive que desativar temporariamente o repositório do yum para fazer o download do git corretamente.

yum-config-manager --disable rpmforge

Em seguida, tente instalar o git usando ...

yum install git

Você pode precisar instalar outro repositório yum para substituir o rpmforge, mas eu não precisei.

    
por 09.07.2015 / 16:02
0

Tente adicionar este repo:

 http://pkgs.repoforge.org/perl-YAML/perl-YAML-0.72-1.el5.rf.noarch.rpm

e, em seguida, execute yum install git novamente.

EDITAR

Tente executar yum install perl-DBI se você não receber um erro e tente executar yum install git novamente. Se você receber um erro, talvez queira tentar instalar usando o RPM em vez do yum, por exemplo:

wget http://packages.sw.be/git/perl-Git-1.7.3.4-1.el5.rf.i386.rpm
wget http://download.fedora.redhat.com/pub/epel/5/i386/perl-Error-0.17010-1.el5.noarch.rpm
wget http://packages.sw.be/git/git-1.7.3.4-1.el5.rf.i386.rpm

Então

rpm -i perl-Git-1.7.3.4-1.el5.rf.i386.rpm perl-Error-0.17010-1.el5.noarch.rpm git-1.7.3.4-1.el5.rf.i386.rpm
    
por 08.03.2013 / 00:15
0

Quando você quiser usar o yum em um servidor Red Hat / Oracle Linux que diz "Este sistema não está registrado no RHN.", há uma ótima opção para adicionar o repositório yum gratuito.

Leia sobre licenciamento e Red Hat / Oracle Linux aqui: link

Leia como adicionar o Public Yum Server aqui: link

    
por 16.05.2013 / 17:07
-1

Isso funcionou para mim.

yum --nogpgcheck install git -y 
    
por 05.11.2014 / 19:28