Description of problem: [root@tlondon sbin]# yum-complete-transaction --cleanup-only Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * rawhide: mirrors.kernel.org Cleaning up unfinished transaction journals Cleaning up 2008-12-03.06:22.00 Traceback (most recent call last): File "/usr/sbin/yum-complete-transaction", line 208, in <module> util = YumCompleteTransaction() File "/usr/sbin/yum-complete-transaction", line 115, in __init__ self.main() File "/usr/sbin/yum-complete-transaction", line 163, in main self.clean_up_ts_files(timestamp, self.conf.persistdir) File "/usr/sbin/yum-complete-transaction", line 123, in clean_up_ts_files if os.path.exists(f): NameError: global name 'os' is not defined [root@tlondon sbin]# Had a failure/hang during a previous 'yum update'. 'yum-complete-transaction' says: [root@tlondon bin]# yum-complete-transaction Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * rawhide: mirrors.kernel.org There are 1 outstanding transactions to complete. Finishing the most recent one The remaining transaction had 48 elements left to run --> Running transaction check ---> Package policycoreutils.x86_64 0:2.0.60-1.fc11 set to be erased --> Processing Dependency: policycoreutils for package: anaconda ---> Package policycoreutils-gui.x86_64 0:2.0.60-1.fc11 set to be erased --> Running transaction check ---> Package anaconda.x86_64 0:11.4.1.62-1 set to be erased --> Finished Dependency Resolution ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: policycoreutils x86_64 2.0.60-1.fc11 installed 3.8 M policycoreutils-gui x86_64 2.0.60-1.fc11 installed 840 k Removing for dependencies: anaconda x86_64 11.4.1.62-1 installed 17 M Transaction Summary ================================================================================ Install 0 Package(s) Update 0 Package(s) Remove 3 Package(s) Is this ok [y/N]: n Exiting on user Command Not removing old transaction files [root@tlondon bin]# I do NOT want to remove this version of policycoreutils* (nor anaconda). I manually reverted policycoreutils after update failure and before running yum-complete-transaction. Version-Release number of selected component (if applicable): yum-utils-1.1.18-2.fc11.noarch How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** This bug has been marked as a duplicate of bug 470458 ***