首页 > 其他分享 >git升级

git升级

时间:2023-04-18 19:47:30浏览次数:51  
标签:git x86 perl 升级 64 noarch el7

#####################

一、卸载旧版本git

[root@a8-cloud-dba-db08 install_database]# yum remove git
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-24.el7_9 will be erased
--> Processing Dependency: git = 1.8.3.1-24.el7_9 for package: perl-Git-1.8.3.1-24.el7_9.noarch
--> Processing Dependency: git for package: gettext-devel-0.19.8.1-3.el7.x86_64
--> Running transaction check
---> Package gettext-devel.x86_64 0:0.19.8.1-3.el7 will be erased
--> Processing Dependency: gettext-devel for package: intltool-0.50.2-7.el7.noarch
---> Package perl-Git.noarch 0:1.8.3.1-24.el7_9 will be erased
--> Running transaction check
---> Package intltool.noarch 0:0.50.2-7.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================================================================================================================================================================
 Package                                                                           Arch                                                                       Version                                                                              Repository                                                                     Size
=======================================================================================================================================================================================================================================================================================================================================
Removing:
 git                                                                               x86_64                                                                     1.8.3.1-24.el7_9                                                                     @updates                                                                       22 M
Removing for dependencies:
 gettext-devel                                                                     x86_64                                                                     0.19.8.1-3.el7                                                                       @anaconda                                                                     1.4 M
 intltool                                                                          noarch                                                                     0.50.2-7.el7                                                                         @anaconda                                                                     166 k
 perl-Git                                                                          noarch                                                                     1.8.3.1-24.el7_9                                                                     @updates                                                                       57 k

Transaction Summary
=======================================================================================================================================================================================================================================================================================================================================
Remove  1 Package (+3 Dependent packages)

Installed size: 24 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : intltool-0.50.2-7.el7.noarch                                                                                                                                                                                                                                                                                        1/4 
  Erasing    : gettext-devel-0.19.8.1-3.el7.x86_64                                                                                                                                                                                                                                                                                 2/4 
  Erasing    : git-1.8.3.1-24.el7_9.x86_64                                                                                                                                                                                                                                                                                         3/4 
  Erasing    : perl-Git-1.8.3.1-24.el7_9.noarch                                                                                                                                                                                                                                                                                    4/4 
  Verifying  : perl-Git-1.8.3.1-24.el7_9.noarch                                                                                                                                                                                                                                                                                    1/4 
  Verifying  : intltool-0.50.2-7.el7.noarch                                                                                                                                                                                                                                                                                        2/4 
  Verifying  : git-1.8.3.1-24.el7_9.x86_64                                                                                                                                                                                                                                                                                         3/4 
  Verifying  : gettext-devel-0.19.8.1-3.el7.x86_64                                                                                                                                                                                                                                                                                 4/4 

Removed:
  git.x86_64 0:1.8.3.1-24.el7_9                                                                                                                                                                                                                                                                                                        

Dependency Removed:
  gettext-devel.x86_64 0:0.19.8.1-3.el7                                                                           intltool.noarch 0:0.50.2-7.el7                                                                           perl-Git.noarch 0:1.8.3.1-24.el7_9                                                                          

Complete!
[root@a8-cloud-dba-db08 install_database]# ls

 

二、导入仓库

[root@a8-cloud-dba-db08 init]# rpm -ivh http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm
Retrieving http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-1.noarch.rpm
warning: /var/tmp/rpm-tmp.nIUinq: Header V4 DSA/SHA1 Signature, key ID 3bbf077a: NOKEY
Preparing...                          ################################# [100%]
    package wandisco-git-release-7-1.noarch is already installed

 

 

 

三、升级git

[root@a8-cloud-dba-db08 init]# yum -y install git
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.ustc.edu.cn
 * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
 * extras: mirrors.ustc.edu.cn
 * updates: mirrors.ustc.edu.cn
WANdisco-git                                                                                                                                                                                                                                                                                                    | 2.9 kB  00:00:00     
WANdisco-git/7/x86_64/primary_db                                                                                                                                                                                                                                                                                | 157 kB  00:00:01     
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:2.39.1-1.WANdisco will be installed
--> Processing Dependency: perl-Git = 2.39.1-1.WANdisco for package: git-2.39.1-1.WANdisco.x86_64
--> Processing Dependency: perl(Git) for package: git-2.39.1-1.WANdisco.x86_64
--> Processing Dependency: perl(Digest::SHA) for package: git-2.39.1-1.WANdisco.x86_64
--> Processing Dependency: perl(Git::I18N) for package: git-2.39.1-1.WANdisco.x86_64
--> Running transaction check
---> Package perl-Digest-SHA.x86_64 1:5.85-4.el7 will be installed
--> Processing Dependency: perl(Digest::base) for package: 1:perl-Digest-SHA-5.85-4.el7.x86_64
---> Package perl-Git.noarch 0:2.39.1-1.WANdisco will be installed
--> Running transaction check
---> Package perl-Digest.noarch 0:1.17-245.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================================================================================================================================================================================================================================
 Package                                                                           Arch                                                                     Version                                                                               Repository                                                                      Size
=======================================================================================================================================================================================================================================================================================================================================
Installing:
 git                                                                               x86_64                                                                   2.39.1-1.WANdisco                                                                     WANdisco-git                                                                    12 M
Installing for dependencies:
 perl-Digest                                                                       noarch                                                                   1.17-245.el7                                                                          base                                                                            23 k
 perl-Digest-SHA                                                                   x86_64                                                                   1:5.85-4.el7                                                                          base                                                                            58 k
 perl-Git                                                                          noarch                                                                   2.39.1-1.WANdisco                                                                     WANdisco-git                                                                    23 k

Transaction Summary
=======================================================================================================================================================================================================================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 12 M
Installed size: 50 M
Downloading packages:
(1/4): perl-Digest-SHA-5.85-4.el7.x86_64.rpm                                                                                                                                                                                                                                                                    |  58 kB  00:00:00     
(2/4): perl-Digest-1.17-245.el7.noarch.rpm                                                                                                                                                                                                                                                                      |  23 kB  00:00:00     
warning: /var/cache/yum/x86_64/7/WANdisco-git/packages/perl-Git-2.39.1-1.WANdisco.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 3bbf077a: NOKEY    0% [=                                                                                                                                          ]  20 kB/s | 100 kB  00:10:19 ETA 
Public key for perl-Git-2.39.1-1.WANdisco.noarch.rpm is not installed
(3/4): perl-Git-2.39.1-1.WANdisco.noarch.rpm                                                                                                                                                                                                                                                                    |  23 kB  00:00:00     
(4/4): git-2.39.1-1.WANdisco.x86_64.rpm                                                                                                                                                                                                                                                                         |  12 MB  00:00:12     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                                                                                                                  1.0 MB/s |  12 MB  00:00:12     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
Importing GPG key 0x3BBF077A:
 Userid     : "WANdisco (http://WANdisco.com - We Make Software Happen...) <[email protected]>"
 Fingerprint: 69c1 be83 da54 cbed 6889 72f8 e9f0 e922 3bbf 077a
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : perl-Digest-1.17-245.el7.noarch                                                                                                                                                                                                                                                                                     1/4 
  Installing : 1:perl-Digest-SHA-5.85-4.el7.x86_64                                                                                                                                                                                                                                                                                 2/4 
  Installing : git-2.39.1-1.WANdisco.x86_64                                                                                                                                                                                                                                                                                        3/4 
  Installing : perl-Git-2.39.1-1.WANdisco.noarch                                                                                                                                                                                                                                                                                   4/4 
  Verifying  : perl-Git-2.39.1-1.WANdisco.noarch                                                                                                                                                                                                                                                                                   1/4 
  Verifying  : 1:perl-Digest-SHA-5.85-4.el7.x86_64                                                                                                                                                                                                                                                                                 2/4 
  Verifying  : git-2.39.1-1.WANdisco.x86_64                                                                                                                                                                                                                                                                                        3/4 
  Verifying  : perl-Digest-1.17-245.el7.noarch                                                                                                                                                                                                                                                                                     4/4 

Installed:
  git.x86_64 0:2.39.1-1.WANdisco                                                                                                                                                                                                                                                                                                       

Dependency Installed:
  perl-Digest.noarch 0:1.17-245.el7                                                                          perl-Digest-SHA.x86_64 1:5.85-4.el7                                                                          perl-Git.noarch 0:2.39.1-1.WANdisco                                                                         

Complete!
[root@a8-cloud-dba-db08 init]# git --version
git version 2.39.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

###################################

标签:git,x86,perl,升级,64,noarch,el7
From: https://www.cnblogs.com/igoodful/p/17330832.html

相关文章

  • git mac 删除本地项目文件.git
    参考:https://zhuanlan.zhihu.com/p/35044866进入git本地库位置输入命令行$gitinit可以得到本地库的.get文件路径输入命令行$ls-a需要加-a,不然不能看到全部此时可以得到本地库位置下的文件列表,会发现里面有.git.gitignore文件输入命令行$rm-rf.git然后再输入命令行$ls......
  • 升级Java17后Maven中使用bouncycastle加解密遇到JCE cannot authenticate the provide
    网上找了很多办法,逐一试过之后,发现有效的方式为修改打包方式:<plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId><version&......
  • 升级企业数智化底座,构建数智连接全能力
    数字经济时代,数智化成为企业发展的根基和动力。目前,面对企业数智化快速转型,企业不得不面对两方面的挑战:在企业内部,企业数字化应用走向深度融合,包括人、财、物,产、供、销相关的应用系统之间需要连接集成,以实现业务协同,数据的传输、共享、利用等。在企业外部,社会化、生态化、产业互联......
  • 华为云新一代iPaaS全域融合集成平台全新升级
    摘要:基于华为十多年的数字化转型实践,华为云通过组装式交付、数智驱动、DevOps、服务化架构、安全可信、韧性6大关键技术助力客户实现应用现代化和高质量增长,华为云新一代iPaaS全域融合集成平台ROMAConnect也应运而生。本文分享自华为云社区《华为云新一代iPaaS全域融合集成平台......
  • 华为云新一代iPaaS全域融合集成平台全新升级
    摘要:基于华为十多年的数字化转型实践,华为云通过组装式交付、数智驱动、DevOps、服务化架构、安全可信、韧性6大关键技术助力客户实现应用现代化和高质量增长,华为云新一代iPaaS全域融合集成平台ROMAConnect也应运而生。本文分享自华为云社区《华为云新一代iPaaS全域融合集成平台全......
  • git merge 提示错误 fatal: refusing to merge unrelated histories
    拉去远程分支代码报错:fatal:refusingtomergeunrelatedhistories造成的原因是:1、本地项目copy其他项目的结构把.git文件可拷贝过来了且覆盖了自己当前目录的.git文件,然后将当前分支合远程分支合并因为两个.git文件储存库的历史数据不一致,合并分支就会报这个错......
  • docker升级gitlab
    昨天在家部署了gitlab,版本居然是15.10,公司版本却是14.6,升级一波。官方文档:https://docs.gitlab.com/ee/update/#upgrading-without-downtime官方文档总结:文档介绍需要按升级路径拉取镜像。经我概览,只需备份etc、log、opt三个文件夹,而且都早已挂载在宿主机,无......
  • gitea backup sh
    #!/bin/bash#Thisscriptcreatesa.zipbackupofgitearunninginsidedockerandcopiesthebackupfiletothebackupdirectoryecho"Deleteolderbackup..."find/home/mason/gitea/gitea_backup/-typef-mtime+9-name"*.zip"-de......
  • git 恢复上个版本
    1、本地分支版本回退的方法如果你在本地做了错误提交,那么回退版本的方法很简单先用下面命令找到要回退的版本的commitid:gitreflog或者gitlog:查看历史提交接着回退版本:gitreset--hardObfafd0bfafd就是你要回退的版本的commitid的前面几位紧接着强制推送到远......
  • telnet远程管理linux主机及Zlib、openssl、openssh升级1
    一、telent远程管理主机1.安装telent服务服务端:yuminstalltelnet-server-y#安装服务端useradddaipasswddai#创建lhj用户,设置lhj密码,密码有规则要求,大小写数字加符号,输2次即可客户端:yuminstalltelnet-y#安装客户端2.测试telent登录客户端:telnet192.......