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'

Jeroen van Meeuwen kanarip at kanarip.com
Sat Aug 25 22:05:03 UTC 2007


-----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

- --
http://www.kanarip.com/
RHCE, LPIC-2, MCP, CCNA
C6B0 7FB4 43E6 CDDA D258  F70B 28DE 9FDA 9342 BF08
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFG0KePKN6f2pNCvwgRAvmJAJ9A455vArBE/ITtKNrQ7++MJXOUigCeI9aO
VMam+2dkdCxBDqp9hPp5qvo=
=F4Ka
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list