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

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

  •  
  •   VKMEPR · May 16, 2019 · 2991 views
    This topic created in 2593 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   ·   Solana   ·   5316 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 03:55 · PVG 11:55 · LAX 20:55 · JFK 23:55
    ♥ Do have faith in what you're doing.