On Fri, 2007-09-07 at 16:35 +0900, pochi_ken wrote:
I made yum-3.2.4-2 based fix file.
yum-3.2.1/3.2.2/3.2.4 have same problem.
New ISOs made that include New RPMS files at pungi or revisor, but
during installation process exception error occured.
Apply patch to yum/yumRepo.py
--- yum/yumRepo.py 2007-08-29 02:38:39.000000000 +0900
+++ yum/yumRepo.py~ 2007-09-07 12:54:14.000000000 +0900
@@ -455,7 +455,7 @@
cookie = self.cachedir + '/' + self.metadata_cookie_fn
self.setAttribute('metadata_cookie', cookie)
- for dir in [self.cachedir, self.pkgdir]:
+ for dir in [self.cachedir, self.hdrdir, self.pkgdir]:
if self.cache == 0:
if os.path.exists(dir) and os.path.isdir(dir):
continue
please apply and re-make yum packages (ex: yum-3.2.4-2 -> yum-3.2.4-3)
And new ISOs made at pungi or revisor.
You will successfully install at new ISOs.
best regard.
Hi,
Nice trick :) thanks, may be this patch should be upstreamed into yum.
Well I don't try the new ISOs yet... but looks the right way to do it.
Thanks,
--
Sérgio M. B.