最近几天都在测试rhel 6.3 ,搞了2天居然发现redhat的yum居然是收费的。。。。
红帽子难道是绿帽子?不得已只好删除绿帽子的yum然后安装centos的yum
[root@localhost ~]# yum install httpd
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
No package httpd available.
Nothing to do
解决方案:
1.卸载redhat自带的yum组件
[root@localhost ~]# rpm -qa|grep yum|xargs rpm -e --nodeps
2.安装centos的yum包
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/6/os/i386/Packages/yum-metadata-parser-1.1.2-16.el6.i686.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/6/os/i386/Packages/yum-plugin-fastestmirror-1.1.30-14.el6.noarch.rpm
[root@localhost ~]# wget http://centos.ustc.edu.cn/centos/6/os/i386/Packages/yum-3.2.29-40.el6.centos.noarch.rpm
[root@localhost ~]# mv yum-*.rpm /tars/
[root@localhost ~]# cd /tars/
[root@localhost tars]# rpm -ivh yum-*.rpm
warning: yum-3.2.29-40.el6.centos.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing... ########################################### [100%]
1:yum-metadata-parser ########################################### [ 33%]
2:yum-plugin-fastestmirro########################################### [ 67%]
[root@localhost tars]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
--2013-03-26 18:28:11-- http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
3. 下载更新源,并存放在系统目录中
[root@localhost ~]# wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
[root@localhost ~]#mv CentOS_Base.repo /etc/yum.repos.d/CentOS-Base.repo
删除原来repo 并且覆盖rhel-sourc.repo
[root@localhost yum.repos.d]# rm *.repo
rm: remove regular file `redhat.repo'? ly
rm: remove regular file `rhel-source.repo'? y
[root@localhost yum.repos.d]# ls
redhat.repo rhel-source.repo.bak
[root@localhost yum.repos.d]# rm redhat.repo
rm: remove regular file `redhat.repo'? y
此文件的CentOS 5 的版本,修改其中的配置为版本6,并删除 addons 项,因为在版本6中没有此源
4.生成缓存并进行安装
[root@localhost ~]# yum makecache
[root@localhost yum.repos.d]# yum makecache
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository testing is listed more than once in the configuration
addons | 1.9 kB 00:00
addons/filelists_db | 573 B 00:00
addons/primary_db | 1.1 kB 00:00
addons/other_db | 554 B 00:00
base | 1.1 kB 00:00
base/group | 1.1 MB 00:00
base/filelists | 3.0 MB 00:00
base/primary | 983 kB 00:00
base/other | 11 MB 00:03
base 2770/2770
base 2770/2770
base 2770/2770
extras | 2.1 kB 00:00
extras/group | 9.7 kB 00:00
extras/filelists_db | 213 kB 00:00
extras/primary_db | 167 kB 00:00
extras/other_db | 439 kB 00:00
update | 1.9 kB 00:00
update/filelists_db | 2.3 MB 00:00
update/primary_db | 415 kB 00:00
update/other_db | 11 MB 00:03
Metadata Cache Created
尝试更新yum和测试yum源头
[root@localhost yum.repos.d]# yum -y update
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package firefox.i686 0:10.0.5-1.el6_2 will be updated
---> Package firefox.i386 0:17.0.6-1.el5.centos will be an update
---> Package libexif.i686 0:0.6.16-4.1.el6 will be updated
---> Package libexif.i386 0:0.6.21-1.el5_8 will be an update
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package libgomp.i386 0:4.4.7-1.el5 will be an update
---> Package libtalloc.i686 0:2.0.1-1.1.el6 will be updated
---> Package libtalloc.i386 0:2.0.7-2.el5 will be an update
---> Package libtdb.i686 0:1.2.1-3.el6 will be updated
---> Package libtdb.i386 0:1.2.10-1.el5 will be an update
---> Package microcode_ctl.i686 1:1.17-11.el6 will be updated
---> Package microcode_ctl.i386 2:1.17-3.el5 will be an update
---> Package nspr.i686 0:4.9-1.el6 will be updated
---> Package nspr.i386 0:4.9.2-2.el5_9 will be an update
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package nss.i386 0:3.13.6-3.el5_9 will be an update
---> Package nss-tools.i686 0:3.13.3-6.el6 will be updated
---> Package nss-tools.i386 0:3.13.6-3.el5_9 will be an update
---> Package pciutils.i686 0:3.1.4-11.el6 will be updated
---> Package pciutils.i386 0:3.1.7-5.el5 will be an update
---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be updated
---> Package pixman.i386 0:0.22.0-2.el5 will be an update
---> Package python-ethtool.i686 0:0.6-1.el6 will be updated
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i686 0:2.0.9-3.1.el6 will be updated
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
---> Package scl-utils.i686 0:20120423-2.el6 will be updated
---> Package scl-utils.i386 0:20120927-2.el5 will be an update
---> Package systemtap-runtime.i686 0:1.7-5.el6 will be updated
---> Package systemtap-runtime.i386 0:1.8-6.el5 will be an update
---> Package tzdata.noarch 0:2012c-1.el6 will be updated
---> Package tzdata.i386 0:2013c-1.el5 will be an update
---> Package virt-what.i686 0:1.11-1.1.el6 will be updated
---> Package virt-what.i386 0:1.11-2.el5 will be an update
---> Package xorg-x11-drv-evdev.i686 0:2.6.0-2.el6 will be updated
---> Package xorg-x11-drv-evdev.i386 1:1.0.0.5-5.el5 will be an update
---> Package xulrunner.i686 0:10.0.5-1.el6_2 will be updated
---> Package xulrunner.i386 0:17.0.6-1.el5_9 will be an update
--> Processing Dependency: liberation-fonts for package: xulrunner-17.0.6-1.el5_9.i386
--> Running transaction check
---> Package liberation-fonts.noarch 0:1.0-1.el5 will be installed
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
--> Finished Dependency Resolution
Error: Package: python-simplejson-2.0.9-8.el5.i386 (base)
Requires: python(abi) = 2.4
Installed: python-2.6.6-29.el6_2.2.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
python(abi) = 2.6
Available: python-2.4.3-56.el5.i386 (base)
python(abi) = 2.4
Error: Package: python-ethtool-0.6-5.el5.i386 (base)
Requires: python(abi) = 2.4
Installed: python-2.6.6-29.el6_2.2.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
python(abi) = 2.6
Available: python-2.4.3-56.el5.i386 (base)
python(abi) = 2.4
Error: Package: nss-sysinit-3.13.3-6.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
Requires: nss = 3.13.3-6.el6
Removing: nss-3.13.3-6.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
nss = 3.13.3-6.el6
Updated By: nss-3.13.6-3.el5_9.i386 (update)
nss = 3.13.6-3.el5_9
Available: nss-3.13.5-8.el5.i386 (base)
nss = 3.13.5-8.el5
Error: Package: gcc-4.4.6-4.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
Requires: libgomp = 4.4.6-4.el6
Removing: libgomp-4.4.6-4.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
libgomp = 4.4.4-15.el6
libgomp = 4.4.6-4.el6
Updated By: libgomp-4.4.7-1.el5.i386 (base)
libgomp = 4.4.7-1.el5
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum = ('0', '0.5.8', '20.el6')
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '20.el6')
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
[root@localhost yum.repos.d]#
好多文件都版本不对,当然不对啊,2个linux内核版本的yum呀
用--skip来忽略错误
[root@localhost yum.repos.d]# yum update -y
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package firefox.i686 0:10.0.5-1.el6_2 will be updated
---> Package firefox.i386 0:17.0.6-1.el5.centos will be an update
---> Package libexif.i686 0:0.6.16-4.1.el6 will be updated
---> Package libexif.i386 0:0.6.21-1.el5_8 will be an update
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package libgomp.i386 0:4.4.7-1.el5 will be an update
---> Package libtalloc.i686 0:2.0.1-1.1.el6 will be updated
---> Package libtalloc.i386 0:2.0.7-2.el5 will be an update
---> Package libtdb.i686 0:1.2.1-3.el6 will be updated
---> Package libtdb.i386 0:1.2.10-1.el5 will be an update
---> Package microcode_ctl.i686 1:1.17-11.el6 will be updated
---> Package microcode_ctl.i386 2:1.17-3.el5 will be an update
---> Package nspr.i686 0:4.9-1.el6 will be updated
---> Package nspr.i386 0:4.9.2-2.el5_9 will be an update
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package nss.i386 0:3.13.6-3.el5_9 will be an update
---> Package nss-tools.i686 0:3.13.3-6.el6 will be updated
---> Package nss-tools.i386 0:3.13.6-3.el5_9 will be an update
---> Package pciutils.i686 0:3.1.4-11.el6 will be updated
---> Package pciutils.i386 0:3.1.7-5.el5 will be an update
---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be updated
---> Package pixman.i386 0:0.22.0-2.el5 will be an update
---> Package python-ethtool.i686 0:0.6-1.el6 will be updated
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i686 0:2.0.9-3.1.el6 will be updated
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
---> Package scl-utils.i686 0:20120423-2.el6 will be updated
---> Package scl-utils.i386 0:20120927-2.el5 will be an update
---> Package systemtap-runtime.i686 0:1.7-5.el6 will be updated
---> Package systemtap-runtime.i386 0:1.8-6.el5 will be an update
---> Package tzdata.noarch 0:2012c-1.el6 will be updated
---> Package tzdata.i386 0:2013c-1.el5 will be an update
---> Package virt-what.i686 0:1.11-1.1.el6 will be updated
---> Package virt-what.i386 0:1.11-2.el5 will be an update
---> Package xorg-x11-drv-evdev.i686 0:2.6.0-2.el6 will be updated
---> Package xorg-x11-drv-evdev.i386 1:1.0.0.5-5.el5 will be an update
---> Package xulrunner.i686 0:10.0.5-1.el6_2 will be updated
---> Package xulrunner.i386 0:17.0.6-1.el5_9 will be an update
--> Processing Dependency: liberation-fonts for package: xulrunner-17.0.6-1.el5_9.i386
--> Running transaction check
---> Package liberation-fonts.noarch 0:1.0-1.el5 will be installed
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
--> Finished Dependency Resolution
Error: Package: python-simplejson-2.0.9-8.el5.i386 (base)
Requires: python(abi) = 2.4
Installed: python-2.6.6-29.el6_2.2.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
python(abi) = 2.6
Available: python-2.4.3-56.el5.i386 (base)
python(abi) = 2.4
Error: Package: python-ethtool-0.6-5.el5.i386 (base)
Requires: python(abi) = 2.4
Installed: python-2.6.6-29.el6_2.2.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
python(abi) = 2.6
Available: python-2.4.3-56.el5.i386 (base)
python(abi) = 2.4
Error: Package: nss-sysinit-3.13.3-6.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
Requires: nss = 3.13.3-6.el6
Removing: nss-3.13.3-6.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
nss = 3.13.3-6.el6
Updated By: nss-3.13.6-3.el5_9.i386 (update)
nss = 3.13.6-3.el5_9
Available: nss-3.13.5-8.el5.i386 (base)
nss = 3.13.5-8.el5
Error: Package: gcc-4.4.6-4.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
Requires: libgomp = 4.4.6-4.el6
Removing: libgomp-4.4.6-4.el6.i686 (@anaconda-RedHatEnterpriseLinux-201206132153.i386/6.3)
libgomp = 4.4.4-15.el6
libgomp = 4.4.6-4.el6
Updated By: libgomp-4.4.7-1.el5.i386 (base)
libgomp = 4.4.7-1.el5
You could try using --skip-broken to work around the problem
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum = ('0', '0.5.8', '20.el6')
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '20.el6')
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
[root@localhost yum.repos.d]# yum update --skip-broken
Loaded plugins: fastestmirror, product-id, subscription-manager
Updating certificate-based repositories.
Repository base is listed more than once in the configuration
Repository update is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Repository testing is listed more than once in the configuration
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package firefox.i686 0:10.0.5-1.el6_2 will be updated
---> Package firefox.i386 0:17.0.6-1.el5.centos will be an update
---> Package libexif.i686 0:0.6.16-4.1.el6 will be updated
---> Package libexif.i386 0:0.6.21-1.el5_8 will be an update
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package libgomp.i386 0:4.4.7-1.el5 will be an update
---> Package libtalloc.i686 0:2.0.1-1.1.el6 will be updated
---> Package libtalloc.i386 0:2.0.7-2.el5 will be an update
---> Package libtdb.i686 0:1.2.1-3.el6 will be updated
---> Package libtdb.i386 0:1.2.10-1.el5 will be an update
---> Package microcode_ctl.i686 1:1.17-11.el6 will be updated
---> Package microcode_ctl.i386 2:1.17-3.el5 will be an update
---> Package nspr.i686 0:4.9-1.el6 will be updated
---> Package nspr.i386 0:4.9.2-2.el5_9 will be an update
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package nss.i386 0:3.13.6-3.el5_9 will be an update
---> Package nss-tools.i686 0:3.13.3-6.el6 will be updated
---> Package nss-tools.i386 0:3.13.6-3.el5_9 will be an update
---> Package pciutils.i686 0:3.1.4-11.el6 will be updated
---> Package pciutils.i386 0:3.1.7-5.el5 will be an update
---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be updated
---> Package pixman.i386 0:0.22.0-2.el5 will be an update
---> Package python-ethtool.i686 0:0.6-1.el6 will be updated
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i686 0:2.0.9-3.1.el6 will be updated
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
---> Package scl-utils.i686 0:20120423-2.el6 will be updated
---> Package scl-utils.i386 0:20120927-2.el5 will be an update
---> Package systemtap-runtime.i686 0:1.7-5.el6 will be updated
---> Package systemtap-runtime.i386 0:1.8-6.el5 will be an update
---> Package tzdata.noarch 0:2012c-1.el6 will be updated
---> Package tzdata.i386 0:2013c-1.el5 will be an update
---> Package virt-what.i686 0:1.11-1.1.el6 will be updated
---> Package virt-what.i386 0:1.11-2.el5 will be an update
---> Package xorg-x11-drv-evdev.i686 0:2.6.0-2.el6 will be updated
---> Package xorg-x11-drv-evdev.i386 1:1.0.0.5-5.el5 will be an update
---> Package xulrunner.i686 0:10.0.5-1.el6_2 will be updated
---> Package xulrunner.i386 0:17.0.6-1.el5_9 will be an update
--> Processing Dependency: liberation-fonts for package: xulrunner-17.0.6-1.el5_9.i386
--> Running transaction check
---> Package liberation-fonts.noarch 0:1.0-1.el5 will be installed
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
--> Processing Dependency: libgomp = 4.4.6-4.el6 for package: gcc-4.4.6-4.el6.i686
---> Package nss.i686 0:3.13.3-6.el6 will be updated
--> Processing Dependency: nss = 3.13.3-6.el6 for package: nss-sysinit-3.13.3-6.el6.i686
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-ethtool-0.6-5.el5.i386
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-simplejson-2.0.9-8.el5.i386
--> Running transaction check
---> Package libgomp.i686 0:4.4.6-4.el6 will be updated
---> Package libgomp.i386 0:4.4.7-1.el5 will be an update
---> Package nss.i686 0:3.13.3-6.el6 will be updated
---> Package nss.i386 0:3.13.6-3.el5_9 will be an update
--> Processing Dependency: nss = 3.13.6-3.el5_9 for package: nss-tools-3.13.6-3.el5_9.i386
--> Processing Dependency: nss >= 3.13.6 for package: xulrunner-17.0.6-1.el5_9.i386
---> Package python-ethtool.i686 0:0.6-1.el6 will be updated
---> Package python-ethtool.i386 0:0.6-5.el5 will be an update
---> Package python-simplejson.i686 0:2.0.9-3.1.el6 will be updated
---> Package python-simplejson.i386 0:2.0.9-8.el5 will be an update
--> Running transaction check
---> Package firefox.i386 0:17.0.6-1.el5.centos will be an update
---> Package liberation-fonts.noarch 0:1.0-1.el5 will be installed
---> Package nss.i386 0:3.13.6-3.el5_9 will be an update
---> Package nss-tools.i686 0:3.13.3-6.el6 will be updated
---> Package nss-tools.i386 0:3.13.6-3.el5_9 will be an update
---> Package xulrunner.i686 0:10.0.5-1.el6_2 will be updated
---> Package xulrunner.i386 0:17.0.6-1.el5_9 will be an update
--> Running transaction check
---> Package libexif.i686 0:0.6.16-4.1.el6 will be updated
---> Package libexif.i386 0:0.6.21-1.el5_8 will be an update
---> Package libtalloc.i686 0:2.0.1-1.1.el6 will be updated
---> Package libtalloc.i386 0:2.0.7-2.el5 will be an update
---> Package libtdb.i686 0:1.2.1-3.el6 will be updated
---> Package libtdb.i386 0:1.2.10-1.el5 will be an update
---> Package microcode_ctl.i686 1:1.17-11.el6 will be updated
---> Package microcode_ctl.i386 2:1.17-3.el5 will be an update
---> Package nspr.i686 0:4.9-1.el6 will be updated
---> Package nspr.i386 0:4.9.2-2.el5_9 will be an update
---> Package pciutils.i686 0:3.1.4-11.el6 will be updated
---> Package pciutils.i386 0:3.1.7-5.el5 will be an update
---> Package pixman.i686 0:0.18.4-1.el6_0.1 will be updated
---> Package pixman.i386 0:0.22.0-2.el5 will be an update
---> Package scl-utils.i686 0:20120423-2.el6 will be updated
---> Package scl-utils.i386 0:20120927-2.el5 will be an update
---> Package systemtap-runtime.i686 0:1.7-5.el6 will be updated
---> Package systemtap-runtime.i386 0:1.8-6.el5 will be an update
---> Package tzdata.noarch 0:2012c-1.el6 will be updated
---> Package tzdata.i386 0:2013c-1.el5 will be an update
---> Package virt-what.i686 0:1.11-1.1.el6 will be updated
---> Package virt-what.i386 0:1.11-2.el5 will be an update
---> Package xorg-x11-drv-evdev.i686 0:2.6.0-2.el6 will be updated
---> Package xorg-x11-drv-evdev.i386 1:1.0.0.5-5.el5 will be an update
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
firefox-17.0.6-1.el5.centos.i386 from update
liberation-fonts-1.0-1.el5.noarch from base
libgomp-4.4.7-1.el5.i386 from base
nss-3.13.6-3.el5_9.i386 from update
nss-tools-3.13.6-3.el5_9.i386 from update
python-ethtool-0.6-5.el5.i386 from base
python-simplejson-2.0.9-8.el5.i386 from base
xulrunner-17.0.6-1.el5_9.i386 from update
Dependencies Resolved
===============================================================================
Package Arch Version Repository Size
===============================================================================
Updating:
libexif i386 0.6.21-1.el5_8 base 664 k
libtalloc i386 2.0.7-2.el5 base 21 k
libtdb i386 1.2.10-1.el5 base 34 k
microcode_ctl i386 2:1.17-3.el5 base 599 k
nspr i386 4.9.2-2.el5_9 update 122 k
pciutils i386 3.1.7-5.el5 base 115 k
pixman i386 0.22.0-2.el5 base 163 k
scl-utils i386 20120927-2.el5 base 10 k
systemtap-runtime i386 1.8-6.el5 base 223 k
tzdata i386 2013c-1.el5 update 808 k
virt-what i386 1.11-2.el5 base 23 k
xorg-x11-drv-evdev i386 1:1.0.0.5-5.el5 base 10 k
Skipped (dependency problems):
firefox i386 17.0.6-1.el5.centos update 26 M
liberation-fonts noarch 1.0-1.el5 base 1.1 M
libgomp i386 4.4.7-1.el5 base 74 k
nss i386 3.13.6-3.el5_9 update 1.1 M
nss-tools i386 3.13.6-3.el5_9 update 1.1 M
python-ethtool i386 0.6-5.el5 base 29 k
python-simplejson i386 2.0.9-8.el5 base 140 k
xulrunner i386 17.0.6-1.el5_9 update 15 M
Transaction Summary
===============================================================================
Upgrade 12 Package(s)
Total download size: 2.7 M
Is this ok [y/N]:
输入y继续
Downloading Packages:
(1/12): libexif-0.6.21-1.el5_8.i386.rpm | 664 kB 00:00
(2/12): libtalloc-2.0.7-2.el5.i386.rpm | 21 kB 00:00
(3/12): libtdb-1.2.10-1.el5.i386.rpm | 34 kB 00:00
(4/12): microcode_ctl-1.17-3.el5.i386.rpm | 599 kB 00:00
(5/12): nspr-4.9.2-2.el5_9.i386.rpm | 122 kB 00:00
(6/12): pciutils-3.1.7-5.el5.i386.rpm | 115 kB 00:00
(7/12): pixman-0.22.0-2.el5.i386.rpm | 163 kB 00:00
(8/12): scl-utils-20120927-2.el5.i386.rpm | 10 kB 00:00
(9/12): systemtap-runtime-1.8-6.el5.i386.rpm | 223 kB 00:00
(10/12): tzdata-2013c-1.el5.i386.rpm | 808 kB 00:00
(11/12): virt-what-1.11-2.el5.i386.rpm | 23 kB 00:00
(12/12): xorg-x11-drv-evdev-1.0.0.5-5.el5.i386.rpm | 10 kB 00:00
-------------------------------------------------------------------------------
Total 713 kB/s | 2.7 MB 00:03
warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Retrieving key from http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Importing GPG key 0xE8562897:
Userid: "CentOS-5 Key (CentOS 5 Official Signing Key) <centos-5-key@centos.org>"
From : http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Is this ok [y/N]: y
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:
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum = ('0', '0.5.8', '20.el6')
PackageKit-0.5.8-20.el6.i686 has missing requires of PackageKit-yum-plugin = ('0', '0.5.8', '20.el6')
rhn-check-1.0.0-87.el6.noarch has missing requires of yum-rhn-plugin >= ('0', '0.9.1', '35')
Updating : nspr-4.9.2-2.el5_9.i386 1/24
Updating : systemtap-runtime-1.8-6.el5.i386 2/24
Updating : tzdata-2013c-1.el5.i386 3/24
Updating : scl-utils-20120927-2.el5.i386 4/24
Updating : 1:xorg-x11-drv-evdev-1.0.0.5-5.el5.i386 5/24
Updating : libexif-0.6.21-1.el5_8.i386 6/24
Updating : libtalloc-2.0.7-2.el5.i386 7/24
Updating : libtdb-1.2.10-1.el5.i386 8/24
Updating : pixman-0.22.0-2.el5.i386 9/24
Updating : virt-what-1.11-2.el5.i386 10/24
Updating : pciutils-3.1.7-5.el5.i386 11/24
Updating : 2:microcode_ctl-1.17-3.el5.i386 12/24
Cleanup : systemtap-runtime-1.7-5.el6.i686 13/24
Cleanup : nspr-4.9-1.el6.i686 14/24
Cleanup : tzdata-2012c-1.el6.noarch 15/24
Cleanup : scl-utils-20120423-2.el6.i686 16/24
Cleanup : xorg-x11-drv-evdev-2.6.0-2.el6.i686 17/24
Cleanup : libexif-0.6.16-4.1.el6.i686 18/24
Cleanup : libtalloc-2.0.1-1.1.el6.i686 19/24
Cleanup : libtdb-1.2.1-3.el6.i686 20/24
Cleanup : pixman-0.18.4-1.el6_0.1.i686 21/24
Cleanup : virt-what-1.11-1.1.el6.i686 22/24
Cleanup : pciutils-3.1.4-11.el6.i686 23/24
Cleanup : 1:microcode_ctl-1.17-11.el6.i686 24/24
Installed products updated.
Verifying : nspr-4.9.2-2.el5_9.i386 1/24
Verifying : 2:microcode_ctl-1.17-3.el5.i386 2/24
Verifying : pciutils-3.1.7-5.el5.i386 3/24
Verifying : virt-what-1.11-2.el5.i386 4/24
Verifying : pixman-0.22.0-2.el5.i386 5/24
Verifying : libtdb-1.2.10-1.el5.i386 6/24
Verifying : libtalloc-2.0.7-2.el5.i386 7/24
Verifying : systemtap-runtime-1.8-6.el5.i386 8/24
Verifying : libexif-0.6.21-1.el5_8.i386 9/24
Verifying : 1:xorg-x11-drv-evdev-1.0.0.5-5.el5.i386 10/24
Verifying : scl-utils-20120927-2.el5.i386 11/24
Verifying : tzdata-2013c-1.el5.i386 12/24
Verifying : 1:microcode_ctl-1.17-11.el6.i686 13/24
Verifying : libtalloc-2.0.1-1.1.el6.i686 14/24
Verifying : tzdata-2012c-1.el6.noarch 15/24
Verifying : pciutils-3.1.4-11.el6.i686 16/24
Verifying : nspr-4.9-1.el6.i686 17/24
Verifying : systemtap-runtime-1.7-5.el6.i686 18/24
Verifying : libexif-0.6.16-4.1.el6.i686 19/24
Verifying : xorg-x11-drv-evdev-2.6.0-2.el6.i686 20/24
Verifying : scl-utils-20120423-2.el6.i686 21/24
Verifying : pixman-0.18.4-1.el6_0.1.i686 22/24
Verifying : libtdb-1.2.1-3.el6.i686 23/24
Verifying : virt-what-1.11-1.1.el6.i686 24/24
Updated:
libexif.i386 0:0.6.21-1.el5_8 libtalloc.i386 0:2.0.7-2.el5
libtdb.i386 0:1.2.10-1.el5 microcode_ctl.i386 2:1.17-3.el5
nspr.i386 0:4.9.2-2.el5_9 pciutils.i386 0:3.1.7-5.el5
pixman.i386 0:0.22.0-2.el5 scl-utils.i386 0:20120927-2.el5
systemtap-runtime.i386 0:1.8-6.el5 tzdata.i386 0:2013c-1.el5
virt-what.i386 0:1.11-2.el5 xorg-x11-drv-evdev.i386 1:1.0.0.5-5.el5
Skipped (dependency problems):
firefox.i386 0:17.0.6-1.el5.centos liberation-fonts.noarch 0:1.0-1.el5
libgomp.i386 0:4.4.7-1.el5 nss.i386 0:3.13.6-3.el5_9
nss-tools.i386 0:3.13.6-3.el5_9 python-ethtool.i386 0:0.6-5.el5
python-simplejson.i386 0:2.0.9-8.el5 xulrunner.i386 0:17.0.6-1.el5_9
Complete!
[root@localhost yum.repos.d]#
posted on 2015-04-23 11:28
回忆之城 阅读(385)
评论(0) 编辑 收藏 引用 所属分类:
unix/linux 、
服务器配置