zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    动态规划_树形DP
    动态规划_区间DP
    Git
    动态规划_状态机与状态压缩DP
    Mybatis
    3.UIViewController详解
    Flutter boost实现原理简介
    FFmpeg笔记(四)
    Xcode-FFmpeg环境搭建
    FFmpeg(一)
  • 原文地址:https://www.cnblogs.com/jicki/p/5546937.html
Copyright © 2011-2022 走看看