So, updated to 7.8.2003 today on my main laptop, and went to do the normal post-update kernel cleanup. Got a message I've not seen before; the command worked fine, but the message was new:
[root@dhcp-pool102 ~]# sudo package-cleanup --oldkernel Loaded plugins: elrepo, fastestmirror, langpacks, nvidia, product-id, : subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
--> Running transaction check ---> Package kernel.x86_64 0:3.10.0-1062.9.1.el7 will be erased ---> Package kernel.x86_64 0:3.10.0-1062.12.1.el7 will be erased ---> Package kernel-devel.x86_64 0:3.10.0-1062.9.1.el7 will be erased ---> Package kernel-devel.x86_64 0:3.10.0-1062.12.1.el7 will be erased --> Finished Dependency Resolution http://lnxrelease-02/yum/stable/main/binary-x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: lnxrelease-02; Unknown error" Trying other mirror.
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Removing: kernel x86_64 3.10.0-1062.9.1.el7 @updates 64 M kernel x86_64 3.10.0-1062.12.1.el7 @updates 64 M kernel-devel x86_64 3.10.0-1062.9.1.el7 @updates 38 M kernel-devel x86_64 3.10.0-1062.12.1.el7 @updates 38 M
Transaction Summary ================================================================================ Remove 4 Packages
Installed size: 204 M Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : kernel.x86_64 1/4 Erasing : kernel.x86_64 2/4 Erasing : kernel-devel.x86_64 3/4 Erasing : kernel-devel.x86_64 4/4 Verifying : kernel-devel-3.10.0-1062.9.1.el7.x86_64 1/4 Verifying : kernel-devel-3.10.0-1062.12.1.el7.x86_64 2/4 Verifying : kernel-3.10.0-1062.12.1.el7.x86_64 3/4 Verifying : kernel-3.10.0-1062.9.1.el7.x86_64 4/4 http://lnxrelease-02/yum/stable/main/binary-x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: lnxrelease-02; Unknown error" Trying other mirror.
Removed: kernel.x86_64 0:3.10.0-1062.9.1.el7 kernel.x86_64 0:3.10.0-1062.12.1.el7 kernel-devel.x86_64 0:3.10.0-1062.9.1.el7 kernel-devel.x86_64 0:3.10.0-1062.12.1.el7
Complete! [root@dhcp-pool102 ~]#