Clean sqlite too, was causing a lockup

Translate 'i386' option to 'i686' arch
This commit is contained in:
jkeating@localhost.localdomain 2006-10-17 01:38:16 -04:00 committed by Jesse Keating
parent 8e4c22a064
commit 9661193aa4

View File

@ -22,7 +22,10 @@ class Gather(yum.YumBase):
yum.YumBase.__init__(self)
self.doConfigSetup(fn=opts.yumconf)
self.cleanMetadata() # clean metadata that might be in the cache from previous runs
self.cleanSqlite() # clean metadata that might be in the cache from previous runs
self.doRepoSetup()
if opts.arch == 'i386':
opts.arch = 'i686' # ensures we get the right archlist
arches = yum.rpmUtils.arch.getArchList(opts.arch)
self.doSackSetup(arches)
self.logger = yum.logging.getLogger("yum.verbose.fist")