yumのupdate

ログを見ていると
yum-complete-transactionを実行せよと言ってくる。
特に問題ではないと判断していたが、気になったので対処することにした。

$ yum-complete-transaction
としてみるが、見つからない。
どうやら、yum-utilsに含まれているらしいので、まず
その前に、念のため
$ yum update
を実行したが最新パッケージのようで、ダウンロードはされなかった。
そこで、
$ yum install-utils
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* updates: www.ftp.ne.jp
* addons: www.ftp.ne.jp
* extras: www.ftp.ne.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.

    • > Running transaction check
      • > Package yum-utils.noarch 0:1.1.16-13.el5.centos set to be updated
    • > Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================
Package Arch Version Repository Size
====================================================================================================================
Installing:
yum-utils noarch 1.1.16-13.el5.centos base 69 k

Transaction Summary
====================================================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 69 k
Is this ok [y/N]: y
Downloading Packages:
yum-utils-1.1.16-13.el5.centos.noarch.rpm | 69 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : yum-utils [1/1]

Installed: yum-utils.noarch 0:1.1.16-13.el5.centos
Complete!

で、引き続き
$ yum-complete-transaction
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: www.ftp.ne.jp
* updates: www.ftp.ne.jp
* addons: www.ftp.ne.jp
* extras: www.ftp.ne.jp
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 3 elements left to run
Package matching firefox-3.0.10-1.el5.centos.x86_64 already installed. Checking for update.
There are unfinished transactions remaining. You mightconsider running yum-complete-transaction first to finish them.

    • > Running transaction check
      • > Package xulrunner.i386 0:1.9.0.10-1.el5 set to be updated
      • > Package firefox.i386 0:3.0.10-1.el5.centos set to be updated
    • > Finished Dependency Resolution

====================================================================================================================
Package Arch Version Repository Size
====================================================================================================================
Installing:
firefox i386 3.0.10-1.el5.centos updates 12 M
xulrunner i386 1.9.0.10-1.el5 updates 10 M

Transaction Summary
====================================================================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 22 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): xulrunner-1.9.0.10-1.el5.i386.rpm | 10 MB 00:22
(2/2): firefox-3.0.10-1.el5.centos.i386.rpm | 12 MB 00:26

                                                                                                                                                                                                                                      • -

Total 445 kB/s | 22 MB 00:50
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Traceback (most recent call last):
File "/usr/sbin/yum-complete-transaction", line 226, in ?
util = YumCompleteTransaction()
File "/usr/sbin/yum-complete-transaction", line 116, in __init__
self.main()
File "/usr/sbin/yum-complete-transaction", line 196, in main
if self.doTransaction() == 0:
File "/usr/share/yum-cli/cli.py", line 439, in doTransaction
raise yum.Errors.YumBaseError, errstring + '\n' + \
yum.Errors.YumBaseError: Transaction Check Error:
package xulrunner-1.9.0.12-1.el5.x86_64 (which is newer than xulrunner-1.9.0.10-1.el5.i386) is already installed
package firefox-3.0.12-1.el5.centos.x86_64 (which is newer than firefox-3.0.10-1.el5.centos.i386) is already installed
file /usr/bin/xulrunner from install of xulrunner-1.9.0.10-1.el5.i386 conflicts with file from package xulrunner-1.9.0.12-1.el5.x86_64

Error Summary

                        • -

ということで、とりあえず終了。
これで中途になっていた2つのtransactionを終了できたのか?
明日のログを見ればわかるだろう。