[Yum] yum-arch on Solaris?

Miles Egan miles at caddr.com
Mon Apr 7 20:52:42 UTC 2003


It's possible to build a working yum & rpm & python for solaris, but
it's not easy.  We've got it working here but it was a pita.

Could you just nfs export the yum repository to a linux host and run
yum-arch from there?  Probably much easier.

On Mon, 2003-04-07 at 13:34, Paul Mitchell wrote:
> Hi,
> 
> Just started looking at yum today as a replacement for our current
> RedHat repository based on apt-get.  Looking very promising, but the
> snag is that I have to host the repository for the RedHat RPMs on a
> Solaris system for boring local reasons.  I bent the scripts which made
> the apt repository a bit to make them work on Solaris, but the snag is
> that doing the same to make yum-arch work on Solaris appears more
> tricky.  I'm pretty much totally ignorant of python, so I'm a bit lost
> here.  But all I want is to make yum-arch work on Solaris to produce
> the headers files.
> 
> Any chance of me getting this working?  I have Python 1.5.2 on the
> system in question, and compiled and made yum 1.0 ok.  But when I try
> and execute yum-arch, it seems to need a module for rpm (presumably
> so it can understand the contents of each RPM):
> 
> Traceback (innermost last):
>   File "/Install/yum/bin/yum-arch", line 23, in ?
>     import pullheaders
>   File "pullheaders.py", line 23, in ?
>     import rpm
> ImportError: No module named rpm
> 
> Can any kind soul tell me a way I might be able to get this working,
> or tell me not to try as it's a non-starter?
> 
> Thanks! Paul
> 
> 
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
-- 
Miles Egan <miles at caddr.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030407/b25177fa/attachment-0001.pgp 


More information about the Yum mailing list