Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
VKMEPR
V2EX  ›  Linux

centos yum 如何设置只排除自带基础源里的内核更新?

  •  
  •   VKMEPR · May 16, 2019 · 3115 views
    This topic created in 2667 days ago, the information mentioned may be changed or developed.

    添加 ELRepo 安装了新版内核,发现运行 yum update 同时会更新 centos 基础源里内核版本,能不能排除基础源内核更新?

    在 /etc/yum.conf 配置文件添加 exclude=kernel*或修改 installonly_limit 参数限制并存软件版本,这两个方法都只能一刀切设置,有更好办法吗?

    saytesnake
        1
    saytesnake  
       May 17, 2019
    yum update kernel --enablerepo=elrepo
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 0c620bea · 59ms · UTC 22:35 · PVG 06:35 · LAX 15:35 · JFK 18:35
    ♥ Do have faith in what you're doing.