1
1

ECSでdnfがkilledされる場合の対処方法

Posted at

はじめに

ECSでdnfがkilledされる場合の対処方法です。

[root@iZ6wecv9a6gqmgcommvmviZ ~]# dnf update
Killed

原因

原因はメモリ不足な気がします。はっきりはしない。
swapを設定しても解消されなかった。

どのレポジトリが悪さをしているのか
epelを外します。

[root@iZ6weh44zt4h6eo2az5gopZ ~]# dnf repolist
repo id                                                                    repo name
alinux3-module                                                             alinux3-module
alinux3-os                                                                 alinux3-os
alinux3-plus                                                               alinux3-plus
alinux3-powertools                                                         alinux3-powertools
alinux3-updates                                                            alinux3-updates
epel                                                                       Extra Packages for Enterprise Linux 8 - x86_64
epel-modular                                                               Extra Packages for Enterprise Linux Modular 8 - x86_64

解決方法

dnf config-manager --disable epel
dnf config-manager --disable epel-modular

これで解決する。

1
1
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
1
1