5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

特定のパッケージをyumのアップデート対象から外す

Posted at
/etc/yum.conf
exclude=パッケージ名

ワイルドカードを使用することも可能

/etc/yum.conf
exclude=kernel*

とする。また、複数の場合はスペース区切りで以下の用に指定。

/etc/yum.conf
exclude=mongo* redis*

上記のように設定することで、yumのアップデート対象のパッケージにでてこなくなる。

$ yum check-update
5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?