追記
yum-utilsのインストール前に、下記記事を一読下さい。
needs-restartingはdnfのコマンドに統合されました
追記ここまで
sudo yum install yum-utils
で可能。
yum update後、needs-restartingを行うとコマンド無しと言われた。
yum install needs-restarting
をすると、そんなパッケージなしと怒られた。
[root@testserver ~]# yum install yum-utils
Last metadata expiration check: 0:04:32 ago on Tue Jul 18 16:48:52 2023.
Dependencies resolved.
=====================================================================================================
Package Architecture Version Repository Size
=====================================================================================================
Installing:
yum-utils noarch 4.0.21-19.el8_8 baseos 74 k
Transaction Summary
=====================================================================================================
Install 1 Package
Total download size: 74 k
Installed size: 23 k
Is this ok [y/N]: y
Downloading Packages:
yum-utils-4.0.21-19.el8_8.noarch.rpm 656 kB/s | 74 kB 00:00
-----------------------------------------------------------------------------------------------------
Total 91 kB/s | 74 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : yum-utils-4.0.21-19.el8_8.noarch 1/1
Running scriptlet: yum-utils-4.0.21-19.el8_8.noarch 1/1
Verifying : yum-utils-4.0.21-19.el8_8.noarch 1/1
Installed:
yum-utils-4.0.21-19.el8_8.noarch
Complete!
コメント