Bug 671198

Summary: [abrt] yum-3.2.28-5.fc14: packages.py:1795:verify:UnboundLocalError: local variable 'mode' referenced before assignment
Product: [Fedora] Fedora Reporter: Bug Reporter <bugreporter1>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: ffesti, james.antill, maxamillion, pmatilai, ricky, tla
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:7b0a02a9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 15:48:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Bug Reporter 2011-01-20 18:13:05 UTC
abrt version: 1.1.14
architecture: i686
Attached file: backtrace
cmdline: /usr/bin/python /usr/bin/yum verify-all
component: yum
executable: /usr/bin/yum
kernel: 2.6.35.10-74.fc14.i686.PAE
package: yum-3.2.28-5.fc14
reason: packages.py:1795:verify:UnboundLocalError: local variable 'mode' referenced before assignment
release: Fedora release 14 (Laughlin)
time: 1294872342
uid: 500

How to reproduce
-----
1. ?
2.
3.

Comment 1 Bug Reporter 2011-01-20 18:13:11 UTC
Created attachment 474511 [details]
File: backtrace

Comment 2 Bug Reporter 2011-01-20 18:14:00 UTC
Package: yum-3.2.28-5.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. ?
2.
3.

Comment 3 Ricky Zhou 2011-02-20 06:28:23 UTC
It looks like this was introduced in a refactoring commit 1f1a9c8f653cd8cc3aa77f966051de6095bdd390.  Here's a tiny patch that I think fixes the issue: http://ricky.fedorapeople.org/yum/0001-Remove-undefined-variable.patch.

Comment 4 James Antill 2011-02-21 19:30:36 UTC
Thanks, patch upstream.

Comment 5 Zdeněk Pavlas 2011-09-15 06:32:35 UTC
*** Bug 738377 has been marked as a duplicate of this bug. ***

Comment 6 Fedora End Of Life 2012-08-16 15:48:46 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping