• (OK) Fedora 23——CORE——docker——(1)——> install-kernel



    Information for package kernel
    http://koji.fedoraproject.org/koji/packageinfo?packageID=8



    dnf install kernel-4.3.3-301.fc23
    dnf install kernel-devel-4.3.3-301.fc23
    dnf install kernel-headers-4.3.3-301.fc23
    dnf install kernel-debug-devel-4.3.3-301.fc23


     kernel                x86_64        4.3.3-301.fc23        fedora        46 k
     kernel-core            x86_64        4.3.3-301.fc23        fedora        20 M
     kernel-modules            x86_64        4.3.3-301.fc23        fedora        18 M

     kernel-modules-extra        x86_64        4.3.3-301.fc23        fedora

     kernel-devel            x86_64        4.3.3-301.fc23        fedora        9.8 M

     kernel-headers            x86_64        4.3.3-301.fc23        fedora        987 k

     kernel-debug-devel        x86_64        4.3.3-301.fc23        fedora        9.9 M

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

    Information for build kernel-4.4.3-300.fc23
    http://koji.fedoraproject.org/koji/buildinfo?buildID=739250

    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-devel-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-core-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-4.4.3-300.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.4.3/300.fc23/x86_64/kernel-headers-4.4.3-300.fc23.x86_64.rpm

    下面按顺序 执行

    rpm -ivh  kernel-debug-devel-4.4.3-300.fc23.x86_64.rpm
    rpm -ivh  kernel-devel-4.4.3-300.fc23.x86_64.rpm
    rpm -ivh  kernel-core-4.4.3-300.fc23.x86_64.rpm
    rpm -ivh  kernel-modules-4.4.3-300.fc23.x86_64.rpm
    rpm -ivh  kernel-modules-extra-4.4.3-300.fc23.x86_64.rpm
    rpm -ivh  kernel-4.4.3-300.fc23.x86_64.rpm

    暂时没有执行
    rpm -ivh  kernel-headers-4.4.3-300.fc23.x86_64.rpm

    [root@localhost kernel-rpm]# rpm -ivh  kernel-headers-4.4.3-300.fc23.x86_64.rpm
    错误:依赖检测失败:
        kernel-headers < 4.4.8-300.fc23 被 (已安裝) kernel-headers-4.4.8-300.fc23.x86_64 取代

    -----------------------------------------------------------------------------
    Information for build kernel-4.3.3-301.fc23
    http://koji.fedoraproject.org/koji/buildinfo?buildID=711494

    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-debug-devel-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-devel-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-core-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-modules-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-modules-extra-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-4.3.3-301.fc23.x86_64.rpm
    wget  https://kojipkgs.fedoraproject.org//packages/kernel/4.3.3/301.fc23/x86_64/kernel-headers-4.3.3-301.fc23.x86_64.rpm

    下面按顺序 执行

    rpm -ivh  kernel-debug-devel-4.3.3-301.fc23.x86_64.rpm
    rpm -ivh  kernel-devel-4.3.3-301.fc23.x86_64.rpm
    rpm -ivh  kernel-core-4.3.3-301.fc23.x86_64.rpm
    rpm -ivh  kernel-modules-4.3.3-301.fc23.x86_64.rpm
    rpm -ivh  kernel-modules-extra-4.3.3-301.fc23.x86_64.rpm
    rpm -ivh  kernel-4.3.3-301.fc23.x86_64.rpm

    暂时没有执行
    rpm -ivh  kernel-headers-4.3.3-301.fc23.x86_64.rpm

    [root@localhost kernel-rpm]# rpm -ivh  kernel-headers-4.3.3-301.fc23.x86_64.rpm
    错误:依赖检测失败:
        kernel-headers < 4.4.8-300.fc23 被 (已安裝) kernel-headers-4.4.8-300.fc23.x86_64 取代

    -----------------------------------------------------------------------------
    rpm --oldpackage -ivh  kernel-debug-devel-4.3.3-301.fc23.x86_64.rpm
    rpm --oldpackage -ivh  kernel-devel-4.3.3-301.fc23.x86_64.rpm
    rpm --oldpackage -ivh  kernel-core-4.3.3-301.fc23.x86_64.rpm
    rpm --oldpackage -ivh  kernel-modules-4.3.3-301.fc23.x86_64.rpm
    rpm --oldpackage -ivh  kernel-modules-extra-4.3.3-301.fc23.x86_64.rpm
    rpm --oldpackage -ivh  kernel-4.3.3-301.fc23.x86_64.rpm



    下面由于版本问题,暂时不执行

    rpm --oldpackage -ivh  kernel-headers-4.3.3-301.fc23.x86_64.rpm


    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    dnf - Fedora23——删除多余不用的内核
    http://blog.csdn.net/ztguang/article/details/51302063
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [root@localhost ~]# uname -r
    uname -r

    4.3.5-300.fc23.x86_64

    [root@localhost ~]# rpm -qa | grep kernel |grep 4.4.8
    rpm -qa | grep kernel |grep 4.4.8

    kernel-core-4.4.8-300.fc23.x86_64
    kernel-headers-4.4.8-300.fc23.x86_64
    kernel-modules-4.4.8-300.fc23.x86_64
    kernel-modules-extra-4.4.8-300.fc23.x86_64
    kernel-devel-4.4.8-300.fc23.x86_64
    kernel-4.4.8-300.fc23.x86_64


    [root@localhost ~]#
    dnf remove kernel-core-4.4.8-300.fc23.x86_64
    dnf remove kernel-devel-4.4.8-300.fc23.x86_64

    dnf remove kernel-modules-4.4.8-300.fc23.x86_64
    dnf remove kernel-modules-extra-4.4.8-300.fc23.x86_64
    dnf remove kernel-4.4.8-300.fc23.x86_64

    下面这条命令暂时不执行,因为要删除的包太多
    dnf remove kernel-headers-4.4.8-300.fc23.x86_64

    [root@localhost ~]# dnf remove kernel-headers-4.4.8-300.fc23.x86_64
    ===================================================================
    移除  226 软件包

    安装大小:754 M
    确定吗?[y/N]: n
    操作中止。

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    删除内核:4.3.5

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    [root@localhost ~]#  rpm -qa | grep kernel |grep 4.3.5

    kernel-modules-4.3.5-300.fc23.x86_64
    kernel-4.3.5-300.fc23.x86_64
    kernel-devel-4.3.5-300.fc23.x86_64
    kernel-core-4.3.5-300.fc23.x86_64
    kernel-modules-extra-4.3.5-300.fc23.x86_64
    kernel-debug-devel-4.3.5-300.fc23.x86_64

    [root@localhost ~]#

    dnf remove kernel-modules-4.3.5-300.fc23.x86_64
    dnf remove kernel-4.3.5-300.fc23.x86_64
    dnf remove kernel-devel-4.3.5-300.fc23.x86_64
    dnf remove kernel-core-4.3.5-300.fc23.x86_64
    dnf remove kernel-modules-extra-4.3.5-300.fc23.x86_64
    dnf remove kernel-debug-devel-4.3.5-300.fc23.x86_64
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

  • 相关阅读:
    Win7 中出现图标显示不全或消失的解决方法
    动态控制ToolStrip上ToolStripButton的图标大小
    TS——类型断言
    TS——函数的类型
    TS之对象类型——接口
    TS——联合类型
    Git文件合并
    1-1、作用域深入和面向对象
    webStrom2017.1版本如何添加vue.js插件
    二:搭建一个webpack3.5.5项目:建立项目的webpack配置文件
  • 原文地址:https://www.cnblogs.com/ztguang/p/12646682.html
Copyright © 2020-2023  润新知