Bug 430554

Summary: Traceback in yum during kickstart install
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, katzj, pmatilai, tla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-05 17:50:18 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 235706    

Description Orion Poplawski 2008-01-28 14:04:27 EST
Description of problem:

Doing a text mode PXE/http kickstart install.  Kickstart file lists a package
that isn't in the repositories.  Dialog pops up asking to abort or continue. 
Select continue and I get a traceback.  Of course, it might not be related to
that... :-)

Traceback (most recent call first):
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 2215, in remove
  self.logger.critical(_('No Match for argument: %s') % arg)
File "/usr/lib/anaconda/yuminstall.py", line 1558, in deselectPackage
  mbrs = self.ayum.remove(pattern=pkg)
File "/usr/lib/anaconda/kickstart.py", line 1023, in selectPackages
  map(anaconda.backend.deselectPackage, ksdata.packages.excludeList)
File "/usr/lib/anaconda/backend.py", line 214, in doBasePackageSelect
File "/usr/lib/anaconda/dispatch.py", line 209, in moveStep
  rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 132, in gotoNext
File "/usr/lib/anaconda/text.py", line 588, in run
  (step, instance) = anaconda.dispatch.currentStep()
File "/usr/bin/anaconda", line 1065, in <module>
NameError: global name '_' is not defined

Version-Release number of selected component (if applicable):
Comment 1 Orion Poplawski 2008-01-29 12:12:50 EST
Okay, removed the missing package from the kickstart file but we still get the
traceback, so that's not the cause.  Looks like it's trying to handle the
"-dump" package removal request in the kickstart file.

arg -> 'dump'
Comment 2 James Antill 2008-02-05 17:50:18 EST
from yum.i18n import _

is there in HEAD, so this should go away for 3.2.11.