• CentOS 6.4 X64 利用 yum 升级到 Oracle linux 6.4 内核


    cd /etc/yum.repos.d

    wget http://public-yum.oracle.com/public-yum-ol6.repo

    mv CentOS-Base.repo CentOS-Base.repo.bak

    mv CentOS-Debuginfo.repo CentOS-Debuginfo.repo.bak

    mv CentOS-Media.repo CentOS-Media.repo.bak

    mv CentOS-Media.repo CentOS-Media.repo.bak

    mv CentOS-Vault.repo CentOS-Vault.repo.bak

    mkdir -p /etc/pki/rpm-gpg

    wget http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle

    yum update

    出现包的冲突错误

    Transaction Check Error:

    file /etc/issue from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    file /etc/issue.net from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    file /etc/redhat-release from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    file /etc/rpm/macros.dist from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    file /etc/system-release from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    file /etc/system-release-cpe from install of oraclelinux-release-6:6Server-4.0.4.x86_64 conflicts with file from package centos-release-6-4.el6.centos.10.x86_64

    Error Summary

    -------------

    rpm -e centos-release --nodeps

    使用 rpm -e 删除包

    重新

    yum update

    yum install kernel-uek

    vi /boot/grub/menu.lst

    修改

    default=0

    reboot

  • 相关阅读:
    C++中的指针和数组
    windows系统下JDK1.6环境变量配置
    Java Reflection (JAVA反射)
    转载:cin深入分析(下) – cin的错误处理
    OpenGL总结
    OpenGL纹理
    c/C++内存分配
    转载:cin深入分析(上) – cin输入操作处理
    c++中string的用法
    OpenGL颜色
  • 原文地址:https://www.cnblogs.com/jicki/p/5546937.html
Copyright © 2020-2023  润新知