pungi -P doesn't work Re: No such file or directory: u'/var/tmp/yum-root-O3By9L/anaconda/headers/ifd-egate-0.05-17.i386.hdr'
Sergio Monteiro Basto
sergio at sergiomb.no-ip.org
Sat Sep 15 17:50:08 UTC 2007
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2192 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-buildsys-list/attachments/20070915/e9190e6c/attachment.bin>
More information about the Fedora-buildsys-list
mailing list