--> Finished Dependency Resolution
Error: Package: exim-4.90.1-3.el6.x86_ (@epel)
Requires: libpcre.so.0()(bit)
Removing: pcre-7.8-7.el6.x86_ (@anaconda-CentOS-201703281317.x86_/6.9)
libpcre.so.0()(bit)
Updated By: pcre-8.32-17.el7.x86_ (ol7_latest)
Not found
Error: Package: grep-2.20-6.el6.x86_ (@anaconda-CentOS-201703281317.x86_/6.9)
Requires: libpcre.so.0()(bit)
Removing: pcre-7.8-7.el6.x86_ (@anaconda-CentOS-201703281317.x86_/6.9)
libpcre.so.0()(bit)
Updated By: pcre-8.32-17.el7.x86_ (ol7_latest)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
执行yum remove pcre 又会提示 yum是依赖关系,受保护,不能remove
--> Finished Dependency Resolution
Error: Trying to remove "yum", which is protected
只好执行强制移除命令,忽略依赖关系
[root@ycga local]# rpm -e --nodeps pcre
再次重新安装
[root@ycga local]# yum install -y pcre pcre-devel
安装成功
[root@ycga local]# yum install -y pcre pcre-devel
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package pcre.x86_ 0:8.32-17.el7 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(bit) for package: pcre-8.32-17.el7.x86_
---> Package pcre-devel.x86_ 0:7.8-7.el6 will be updated
---> Package pcre-devel.x86_ 0:8.32-17.el7 will be an update
--> Running transaction check
---> Package glibc.x86_ 0:2.12-1.209.el6_9.2 will be updated
--> Processing Dependency: glibc = 2.12-1.209.el6_9.2 for package: glibc-headers-2.12-1.209.el6_9.2.x86_
--> Processing Dependency: glibc = 2.12-1.209.el6_9.2 for package: glibc-common-2.12-1.209.el6_9.2.x86_
--> Processing Dependency: glibc = 2.12-1.209.el6_9.2 for package: glibc-devel-2.12-1.209.el6_9.2.x86_
---> Package glibc.x86_ 0:2.17-222.el7 will be an update
--> Running transaction check
---> Package glibc-common.x86_ 0:2.12-1.209.el6_9.2 will be updated
---> Package glibc-common.x86_ 0:2.17-222.el7 will be an update
--> Processing Dependency: /usr/bin/bash for package: glibc-common-2.17-222.el7.x86_
---> Package glibc-devel.x86_ 0:2.12-1.209.el6_9.2 will be updated
---> Package glibc-devel.x86_ 0:2.17-222.el7 will be an update
---> Package glibc-headers.x86_ 0:2.12-1.209.el6_9.2 will be updated
---> Package glibc-headers.x86_ 0:2.17-222.el7 will be an update
--> Running transaction check
---> Package bash.x86_ 0:4.1.2-48.el6 will be updated
---> Package bash.x86_ 0:4.2.46-30.el7 will be an update
--> Processing Conflict: bash-4.2.46-30.el7.x86_ conflicts filesystem < 3
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package filesystem.x86_ 0:2.4.30-3.el6 will be updated
---> Package filesystem.x86_ 0:3.2-25.el7 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
pcre x86_ 8.32-17.el7 ol7_latest 421 k
Updating:
filesystem x86_ 3.2-25.el7 ol7_latest 1.0 M
pcre-devel x86_ 8.32-17.el7 ol7_latest 479 k
Updating for dependencies:
bash x86_ 4.2.46-30.el7 ol7_latest 1.0 M
glibc x86_ 2.17-222.el7 ol7_latest 3.6 M
glibc-common x86_ 2.17-222.el7 ol7_latest 11 M
glibc-devel x86_ 2.17-222.el7 ol7_latest 1.1 M
glibc-headers x86_ 2.17-222.el7 ol7_latest 678 k
Transaction Summary
================================================================================
Install 1 Package(s)
Upgrade 7 Package(s)
Total download size: 20 M
Downloading Packages:
(1/8): bash-4.2.46-30.el7.x86_.rpm | 1.0 MB 00:00
(2/8): filesystem-3.2-25.el7.x86_.rpm | 1.0 MB 00:00
(3/8): glibc-2.17-222.el7.x86_.rpm | 3.6 MB 00:01
(4/8): glibc-common-2.17-222.el7.x86_.rpm | 11 MB 00:05
(5/8): glibc-devel-2.17-222.el7.x86_.rpm | 1.1 MB 00:00
(6/8): glibc-headers-2.17-222.el7.x86_.rpm | 678 kB 00:00
(7/8): pcre-8.32-17.el7.x86_.rpm | 421 kB 00:00
(8/8): pcre-devel-8.32-17.el7.x86_.rpm | 479 kB 00:00
--------------------------------------------------------------------------------
Total 1.5 MB/s | 20 MB 00:13
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Importing GPG key 0xEC551F03:
Userid: "Oracle OSS group (Open Source Software group) <build@oss.oracle.com>"
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
exim-4.90.1-3.el6.x86_ has missing requires of libpcre.so.0()(bit)
grep-2.20-6.el6.x86_ has missing requires of libpcre.so.0()(bit)
less-436-13.el6.x86_ has missing requires of libpcre.so.0()(bit)
Updating : glibc-2.17-222.el7.x86_ 1/15
Updating : bash-4.2.46-30.el7.x86_ 2/15
Updating : glibc-common-2.17-222.el7.x86_ 3/15
Updating : glibc-headers-2.17-222.el7.x86_ 4/15
Installing : pcre-8.32-17.el7.x86_ 5/15
Updating : pcre-devel-8.32-17.el7.x86_ 6/15
Updating : glibc-devel-2.17-222.el7.x86_ 7/15
Updating : filesystem-3.2-25.el7.x86_ 8/15
Error unpacking rpm package filesystem-3.2-25.el7.x86_
error: unpacking of archive failed on file /bin: cpio: rename
Cleanup : glibc-devel-2.12-1.209.el6_9.2.x86_ 9/15
Cleanup : glibc-headers-2.12-1.209.el6_9.2.x86_ 10/15
Cleanup : pcre-devel-7.8-7.el6.x86_ 11/15
Cleanup : bash-4.1.2-48.el6.x86_ 12/15
warning: %postun(bash-4.1.2-48.el6.x86_) scriptlet failed, exit status 127
Non-fatal POSTUN scriptlet failure in rpm package bash
Cleanup : glibc-common-2.12-1.209.el6_9.2.x86_ 13/15
Cleanup : glibc-2.12-1.209.el6_9.2.x86_ 14/15
Verifying : glibc-devel-2.17-222.el7.x86_ 1/15
Verifying : pcre-devel-8.32-17.el7.x86_ 2/15
Verifying : bash-4.2.46-30.el7.x86_ 3/15
Verifying : glibc-headers-2.17-222.el7.x86_ 4/15
Verifying : pcre-8.32-17.el7.x86_ 5/15
Verifying : glibc-common-2.17-222.el7.x86_ 6/15
Verifying : glibc-2.17-222.el7.x86_ 7/15
Verifying : glibc-headers-2.12-1.209.el6_9.2.x86_ 8/15
Verifying : filesystem-3.2-25.el7.x86_ 9/15
Verifying : bash-4.1.2-48.el6.x86_ 10/15
Verifying : glibc-common-2.12-1.209.el6_9.2.x86_ 11/15
filesystem-2.4.30-3.el6.x86_ was supposed to be removed but is not!
Verifying : filesystem-2.4.30-3.el6.x86_ 12/15
Verifying : glibc-devel-2.12-1.209.el6_9.2.x86_ 13/15
Verifying : glibc-2.12-1.209.el6_9.2.x86_ 14/15
Verifying : pcre-devel-7.8-7.el6.x86_ 15/15
Installed:
pcre.x86_ 0:8.32-17.el7
Updated:
pcre-devel.x86_ 0:8.32-17.el7
Dependency Updated:
bash.x86_ 0:4.2.46-30.el7 glibc.x86_ 0:2.17-222.el7
glibc-common.x86_ 0:2.17-222.el7 glibc-devel.x86_ 0:2.17-222.el7
glibc-headers.x86_ 0:2.17-222.el7
Failed:
filesystem.x86_ 0:2.4.30-3.el6 filesystem.x86_ 0:3.2-25.el7
Complete!
因篇幅问题不能全部显示,请点此查看更多更全内容