问题原文
原帖链接 · Lightness Races in Orbit · CC BY-SA 3.0
I am running CentOS 7 and I just ran yum update.
Something in the resulting output makes me hesitate to type y to proceed with the update.
Here's what it says:
===============================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================
Installing:
kernel x86_64 3.10.0-327.36.3.el7 updates 33 M
Updating:
kernel-headers x86_64 3.10.0-327.36.3.el7 updates 3.2 M
kernel-tools x86_64 3.10.0-327.36.3.el7 updates 2.4 M
kernel-tools-libs x86_64 3.10.0-327.36.3.el7 updates 2.3 M
Removing:
kernel x86_64 3.10.0-327.13.1.el7 @updates 136 M
Usually, if there's an update to the kernel, it comes up as an update. This "removing" and "installing" combination makes me nervous.
Before I proceed, is this sensible? Or is there something else I should do?
已采纳解答
原帖链接 · Tim · CC BY-SA 3.0
Short version: it's fine, it's removing an old version and installing a new version.
Long version: It wants to remove version
3.10.0-327.13.1.el7
and install version
3.10.0-327.36.3.el7
Note that the one it wants to install appears to be many versions newer. I find package managers tends to delete an old version before installing a new version as that partition is small. They tend to keep a few versions between oldest and newest in case you need to roll back.
On Amazon Linux my understanding is you need to reboot to apply the new kernel, or at least that this is the easiest way.
Someone who knows more about this may correct me or provide a more full understanding.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
