2007/8/26, Jeroen van Meeuwen <kanarip(a)kanarip.com>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jos Vos wrote:
> Hi Jeroen,
>
> On Sat, Aug 25, 2007 at 11:15:28PM +0200, Jeroen van Meeuwen wrote:
>
>> The key item here may be yum. We've seen similar issues before. The
>> system's yum version doesn't seem to matter, but the one pulled into
the
>> tree does. 3.2.0 works, 3.2.1 and 3.2.2 don't.
>
> Correct, but I saw in this thread Jesse saying that the problem was
> identified and you mentioned that the fix should be in anaconda's
> development version.
>
> Anyway, I seem to have solved it at least for my RHEL environment
> given Jesse's hint for creating a headers directory: in my pkgorder
> I now added at the end of setup():
>
> os.mkdir(os.path.join(cachedir, 'anaconda', 'headers'), 0755)
>
> which seems to solve the problem.
>
> I don't see anything fixing the problem in anaconda-11.3.0.19 (devel),
> but maybe that's because in the meantime yum is fixed (or better:
> behaving differently, as I don't know the yum API well enough to say
> that yum was wrong). I want to stick to yum 3.2.1, as long as this
> the proposed version for RHEL 5.1
>
> Cheers,
>
The problem was with yum not creating the headers/ directory anymore in
yum-3.2.1, and although Seth tried to fix that in yum-3.2.2, it didn't
do the trick. But yeah, if you create the directory at some point
manually, it should fix stuff.
- --
Kind regards,
Jeroen van Meeuwen
- -kanarip
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.