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, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-05 22:50:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235706    

Description Orion Poplawski 2008-01-28 19:04:27 UTC
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
  kickstart.selectPackages(anaconda)
File "/usr/lib/anaconda/dispatch.py", line 209, in moveStep
  rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 132, in gotoNext
  self.gotoNext()
File "/usr/lib/anaconda/text.py", line 588, in run
  (step, instance) = anaconda.dispatch.currentStep()
File "/usr/bin/anaconda", line 1065, in <module>
  anaconda.intf.run(anaconda)
NameError: global name '_' is not defined

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

Comment 1 Orion Poplawski 2008-01-29 17:12:50 UTC
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 22:50:18 UTC
from yum.i18n import _

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