1
1

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.

【エラー】The program yum-complete-transaction is found in the yum-utils package

Posted at

はじめに

yum install しようと思ったら、表記のエラー?が出た!
一応このままでのインストールはできたけど。。。。
気になるので少し調べました!

原因

実行中のyumのトランザクションが残っていることが原因でした。。。
そういえば、最近yum updateしたらセッション切れてそのまま放置してた。。。
NW障害で、yumの処理も途中になっていたわけでした・・・!

対処法

トランザクションを終了する!!

1.yum-utilsをインストールする(一応エラー?の箇所も載せてます↓)

# yum install yum-utils

読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.riken.jp
 * extras: ftp.iij.ad.jp
 * ius: mirrors.kernel.org
 * updates: ftp.iij.ad.jp
依存性の解決をしています
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
The program yum-complete-transaction is found in the yum-utils package.

2.トランザクション処理コマンド実行!!
実行すると、なんかなってる!!

# yum-complete-transaction --cleanup-only

読み込んだプラグイン:fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: ftp.riken.jp
 * extras: ftp.iij.ad.jp
 * ius: mirrors.kernel.org
 * updates: ftp.iij.ad.jp
Cleaning up unfinished transaction journals
Cleaning up 2017-03-20.20:47.53

この後になにかyum install してみて、何も表示されなければOK!!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?