Most likely you'll need to use sudo for these commands. I'm not sure why, but they then suggest disabling rpmforge-extras (change back to enabled = 0) and then running yum clean all. Once you've done this, then you can update git with yum update git #mirrorlist = file:///etc//mirrors-rpmforge-testing Various efforts, as a part of the project, might choose to also mirror their content in other places like Github. The CentOS project hosts our sources at and we consider this to be the canonical upstream for the project. #mirrorlist = file:///etc//mirrors-rpmforge-extrasĮnabled = 0 # CHANGE THIS LINE TO "enabled = 1" # Git is included by default in CentOS distribution. Gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag #mirrorlist = file:///etc//mirrors-rpmforge The file looks like this: # Name: RPMforge RPM Repository for RHEL 6 - dag Edit /etc//rpmforge.repo and change enabled = 0 to enabled = 1 under. Then you need to enable the rpmforge-extras. Other than manually downloading and installing the latest version of get, you can also accomplish this by adding a new repository to yum.ĭownload and install the rpmforge repository: # use this for 64-bit If you are only using the default settings, when you try to install git you will get version 1.7.1. the update command is as followsĪs JERC said, make sure you have an updated version of git. TLS disabled due to previous handshake failureĪfter upgrading curl, libcurl and nss, git clone works fine again, so here it is. CAfile: /etc/pki/tls/certs/ca-bundle.crt.Initializing NSS with certpath: sql:/etc/pki/nssdb.Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftpįeatures: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz Initialized empty Git repository in /home/techops/pyenv/.git/Įrror: while accessing HTTP request failedĬurl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.0.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 I met the same problem, the error message and OS info are as follows
0 Comments
Leave a Reply. |