Bug 475252 - yum-complete-transaction == NameError: global name 'os' is not defined
Summary: yum-complete-transaction == NameError: global name 'os' is not defined
Keywords:
Status: CLOSED DUPLICATE of bug 470458
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-08 17:35 UTC by Jóhann B. Guðmundsson
Modified: 2014-01-21 23:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-08 17:38:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jóhann B. Guðmundsson 2008-12-08 17:35:28 UTC
Description of problem:

[root@localhost ~]# yum-complete-transaction
Loaded plugins: presto, refresh-packagekit
Setting up and reading Presto delta metadata
No Presto metadata available for rawhide
There are 1 outstanding transactions to complete. Finishing the most recent one
The remaining transaction had 35 elements left to run
Nothing in the unfinished transaction to cleanup.
Cleaning up completed transaction file
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 189, 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

Version-Release number of selected component (if applicable):

[root@localhost ~]# rpm -qa | grep yum
PackageKit-yum-0.3.11-3.fc10.i386
yum-presto-0.4.5-1.fc9.noarch
yum-3.2.20-4.fc11.noarch
PackageKit-yum-plugin-0.3.11-3.fc10.i386
yum-metadata-parser-1.1.2-10.fc10.i386
yum-utils-1.1.18-2.fc11.noarch

How reproducible:

Always

Steps to Reproduce:
1. yum-complete-transaction
2.
3.
  
Actual results:

The above

Expected results:

yum-complete-transaction to finish without errors..
Additional info:

Comment 1 seth vidal 2008-12-08 17:38:03 UTC

*** This bug has been marked as a duplicate of bug 470458 ***


Note You need to log in before you can comment on or make changes to this bug.