rpm --root problem

wrobell wrobell at pld-linux.org
Sun Mar 23 13:31:38 CET 2008


On Sun, Mar 23, 2008 at 07:16:20AM -0400, Jeff Johnson wrote:
[...]
> > i would expect 'incorrect architecture' rpm error.
> >
> 
> You can expect anything of rpm you wish, everyone does!

:))) well... it is hard to live without rpm :)))

> > it seems that, when using --root option, rpm misbehaves completely.  
> > bad
> > kid! ;)
> >
> 
> You have any number of ways to install ppc *.rpm packages on i386, in  
> chroot's,
> with qemu, in VMWare instances and more.
> 
> Try rpm2cpio for starters.

> Or add regex's to /etc/rpm/platform to configure arch compatibility.  
> Never mind
> that ppc binaries will never execute on ix86, and so installing  
> without disabling scriptlets
> and triggers will instantly segfault.

right! i did not think about it :)

> But if segfault's are your idea of "compatiblity", by all means,  
> configure /etc/rpm/platform
> regex patterns to make ppc packages compatible with ix86.

thanks for suggestions. indeed, rpm2cpio seems to be the best option, now.

regards,

    wrobell <wrobell at pld-linux.org>


More information about the pld-devel-en mailing list