0
0

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 3 years have passed since last update.

yum からレスポンスが全くなくなる

Posted at

事象

yum で何のコマンドを叩いてもレスポンスを返さず、 Ctrl+C も効かなくなるときがある。
この場合、 verbose (-v オプション) しても何も出ない。

解消方法

ほかにハングしてる yum プロセスを全部やっつける

$ ps aux|grep yum

$ kill -9 [PID]

ref: https://www.linux.com/training-tutorials/how-kill-process-command-line/

yum のキャッシュファイルをすべて手動削除

この事象の場合 yum clean all もハングしてしまうので、手動でファイルを消しちゃいます。

rm -rf /var/cache/yum

rpm のキャッシュDBファイルをすべて削除

rm -rf /var/lib/rpm/__db*

ref: https://community.oracle.com/tech/apps-infra/discussion/4179725/yum-install-hangs

いけるはず

ここまで来たら動くはず

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?