« CentOS 5.7にアップデート | メイン | MuninをCentOSでセットアップしてみた »


yum-complete-transaction を実行する

先日 CentOS を 5.7 にアップデートしてから、しばらくして yum で更新通知があったのでアップデートを実行しようとしたら何やら見たことがない警告が出てきました。

内容は以下のような感じ。

# yum update

(中略)

There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.

どうやら、「終わってないトランザクションがあるから、まず yum-complete-transaction を実行しろ!」ということらしい。

終わってないトランザクション?
って感じですが、わざわざ警告してくれているので、警告に従って対処してみました。

yum-complete-transaction を実行しろということなので、実行してみましたが、そんなのないとのこと。

# yum-complete-transaction -bash: yum-complete-transaction: command not found

先ほどの警告の中で、

The program yum-complete-transaction is found in the yum-utils package.

となっていたので、どうやら yum-complete-transaction は yum-utils パッケージに含まれているらしいです。

一応確認。

# yum search yum-complete-transaction

(中略)

=============== Matched: yum-complete-transaction ===============
yum-utils.noarch : Utilities based around the yum package manager

yum-utils に含まれていることが確認できたので、yum-utils をインストール。

# yum install yum-utils

これで yum-complete-transaction が使えるようになったので、yum-complete-transaction を実行。

# yum-complete-transaction
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* rpmforge: apt.sw.be
* updates: ftp.iij.ad.jp
95 packages excluded due to repository priority protections
Checking for new repos for mirrors

There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 15 elements left to run
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file

うーん、なんなのか良く分かりません。

何かゴミが残ってたって事なんでしょうか?

トランザクションが実行されたような感じはないですが、警告は消えました。

これが 5.7 にアップデートした事と関係があるかは分かりませんが、しばらく様子見です。



よろしければ投票をお願いします!
人気blogランキング 人気ブログランキング・ブログ検索:ランブロ

Amazon の関連商品

トラックバック

このエントリーのトラックバックURL:
http://www.grimonet.com/sys/mt/mt-tb.cgi/575

スパム対策のためトラックバックが正常反映されない場合があります
トラックバックが反映されない等の問題が発生した場合には、下記のフォームからコメントをお願いします。

コメントする


画像の中に見える文字を入力してください。

関連ページなど

アーカイブ

フィードを取得

 RSSリーダーで購読する

お使いのリーダーに追加してください!!
最新の情報をお届けします!!

フィードメーター - INOLOG Ver.2

最近のコメント