Clean sqlite too, was causing a lockup
Translate 'i386' option to 'i686' arch
This commit is contained in:
parent
8e4c22a064
commit
9661193aa4
1 changed files with 3 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue