Bug 430554 - Traceback in yum during kickstart install
Summary: Traceback in yum during kickstart install
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-01-28 19:04 UTC by Orion Poplawski
Modified: 2008-02-05 22:50 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-05 22:50:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.



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