Re: yum arch handling

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1224778481.9694.11.camel@rosebud>
On Thu, 2008-10-23 at 12:04 -0400, Mark Salter wrote:
> So, I'm toying around with the idea of using yum to install non-hostarch
> packages into some installroot. For instance, I have a repo containing
> some noarch and arm rpms. On an x86 box, given a yum.conf which only
> points to that noarch+arm repo, I'd like to be able to do something
> like:
> 
>   % yum -c my_yum.conf  depsolve 'somepkg'
> 
> The problem is that yum doesn't seem to want anything to do with arches
> which don't make sense for the x86 host. Not even 'list' them. If I run
> the yum list command, only the noarch rpms are shown.
> 
> Am I missing something? Am I crazy for even thinking about such a thing?

If the arch cannot use the pkgs then yum ignores them.

If you can 'setarch' to that arch then yum will work - but I doubt you
can do that with i686->arm.

The trouble is, of course, that scriptlets can't be run. So installing
the pkgs just won't work.

does this help?

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.