使用yum安装git时:
[root@vultr ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.scalabledns.com
* epel: linux.mirrors.es.net
* extras: mirror.scalabledns.com
* updates: mirror.scalabledns.com
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-6.el7_2.1 will be installed
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Running transaction check
---> Package libgnome-keyring.x86_64 0:3.8.0-3.el7 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
git x86_64 1.8.3.1-6.el7_2.1 updates 4.4 M
Installing for dependencies:
libgnome-keyring x86_64 3.8.0-3.el7 base 109 k
perl-TermReadKey x86_64 2.30-20.el7 base 31 k
Transaction Summary
========================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 4.5 M
Installed size: 22 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): perl-TermReadKey-2.30-20.el7.x86_64.rpm | 31 kB 00:00:00
(2/3): libgnome-keyring-3.8.0-3.el7.x86_64.rpm | 109 kB 00:00:00
(3/3): git-1.8.3.1-6.el7_2.1.x86_64.rpm | 4.4 MB 00:00:01
----------------------------------------------------------------------------------------
Total 4.2 MB/s | 4.5 MB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-TermReadKey-2.30-20.el7.x86_64 1/3
Error unpacking rpm package perl-TermReadKey-2.30-20.el7.x86_64
error: unpacking of archive failed on file /usr/lib64/perl5/vendor_perl/Term/ReadKey.pm: cpio: rename
Installing : libgnome-keyring-3.8.0-3.el7.x86_64 2/3
Error unpacking rpm package libgnome-keyring-3.8.0-3.el7.x86_64
error: perl-TermReadKey-2.30-20.el7.x86_64: install failed
error: unpacking of archive failed on file /usr/lib64/girepository-1.0/GnomeKeyring-1.0.typelib: cpio: rename
Installing : git-1.8.3.1-6.el7_2.1.x86_64 3/3
Error unpacking rpm package git-1.8.3.1-6.el7_2.1.x86_64
error: libgnome-keyring-3.8.0-3.el7.x86_64: install failed
error: unpacking of archive failed on file /usr/libexec/git-core/git-add--interactive: cpio: rename
Verifying : libgnome-keyring-3.8.0-3.el7.x86_64 1/3
Verifying : perl-TermReadKey-2.30-20.el7.x86_64 2/3
Verifying : git-1.8.3.1-6.el7_2.1.x86_64 3/3
Failed:
git.x86_64 0:1.8.3.1-6.el7_2.1 libgnome-keyring.x86_64 0:3.8.0-3.el7
perl-TermReadKey.x86_64 0:2.30-20.el7
Complete!
[root@vultr ~]# yum install git
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.scalabledns.com
* epel: linux.mirrors.es.net
* extras: mirror.scalabledns.com
* updates: mirror.scalabledns.com
Resolving Dependencies
--> Running transaction check
---> Package git.x86_64 0:1.8.3.1-6.el7_2.1 will be installed
--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Processing Dependency: libgnome-keyring.so.0()(64bit) for package: git-1.8.3.1-6.el7_2.1.x86_64
--> Running transaction check
---> Package libgnome-keyring.x86_64 0:3.8.0-3.el7 will be installed
---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================
Package Arch Version Repository Size
========================================================================================
Installing:
git x86_64 1.8.3.1-6.el7_2.1 updates 4.4 M
Installing for dependencies:
libgnome-keyring x86_64 3.8.0-3.el7 base 109 k
perl-TermReadKey x86_64 2.30-20.el7 base 31 k
Transaction Summary
========================================================================================
Install 1 Package (+2 Dependent packages)
Total download size: 4.5 M
Installed size: 22 M
Is this ok [y/d/N]: y
Downloading packages:
(1/3): perl-TermReadKey-2.30-20.el7.x86_64.rpm | 31 kB 00:00:00
(2/3): libgnome-keyring-3.8.0-3.el7.x86_64.rpm | 109 kB 00:00:00
(3/3): git-1.8.3.1-6.el7_2.1.x86_64.rpm | 4.4 MB 00:00:01
----------------------------------------------------------------------------------------
Total 4.2 MB/s | 4.5 MB 00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : perl-TermReadKey-2.30-20.el7.x86_64 1/3
Error unpacking rpm package perl-TermReadKey-2.30-20.el7.x86_64
error: unpacking of archive failed on file /usr/lib64/perl5/vendor_perl/Term/ReadKey.pm: cpio: rename
Installing : libgnome-keyring-3.8.0-3.el7.x86_64 2/3
Error unpacking rpm package libgnome-keyring-3.8.0-3.el7.x86_64
error: perl-TermReadKey-2.30-20.el7.x86_64: install failed
error: unpacking of archive failed on file /usr/lib64/girepository-1.0/GnomeKeyring-1.0.typelib: cpio: rename
Installing : git-1.8.3.1-6.el7_2.1.x86_64 3/3
Error unpacking rpm package git-1.8.3.1-6.el7_2.1.x86_64
error: libgnome-keyring-3.8.0-3.el7.x86_64: install failed
error: unpacking of archive failed on file /usr/libexec/git-core/git-add--interactive: cpio: rename
Verifying : libgnome-keyring-3.8.0-3.el7.x86_64 1/3
Verifying : perl-TermReadKey-2.30-20.el7.x86_64 2/3
Verifying : git-1.8.3.1-6.el7_2.1.x86_64 3/3
Failed:
git.x86_64 0:1.8.3.1-6.el7_2.1 libgnome-keyring.x86_64 0:3.8.0-3.el7
perl-TermReadKey.x86_64 0:2.30-20.el7
Complete!