[Yum] yum on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm attempting to get yum to play nice on a Solaris 8 boxen, specifically:

Solaris 8 2/02

I have the following installed:

SMCpython      python
# python -V
Python 2.2.2
# which python
/usr/local/bin/python

SFWrpm         RPM - Red Hat Package Manager
# rpm -v
RPM version 4.0
Copyright (C) 1998 - Red Hat Software
This may be freely redistributed under the terms of the GNU GPL

These were all obtained from www.sun.com's Solaris 8 Companion.

I also installed the following supporting packages, also obtained from
www.sun.com.

SFWbdb         Berkeley DB - database library
SMCgettext     gettext
SMCliconv      libiconv

I then obtained yum-1.0.3-1_73.src.rpm from:

http://linux.duke.edu/projects/yum/download/1.0/

Did an:

#rpm -i yum-1.0.3-1_73.src.rpm
#cd /opt/sfw/src/redhat/SOURCES/yum-1.0.3

And performed a:

#./configure ;make ;make install

I then vi'd the /usr/bin/yum and /usr/bin/yum-arch files and changed:

#!/usr/bin/python

To

#!/usr/local/bin/python

When I attempt to run yum I get the following:

# yum
Traceback (most recent call last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
  File "yummain.py", line 21, in ?
    import clientStuff
  File "clientStuff.py", line 22, in ?
    import rpm
ImportError: No module named rpm

Now, due to the site at which I'm at, I'd prefer to use the sunfreeware
RPM, so rebuilding rpm is not an option.

Could someone out there who's done this on Solaris possibly point me in
the right direction and maybe point out some of the pitfalls while you're
at it?

Thanks!

roman

roman@xxxxxxxxxxxx

Lack of planning on your part does not constitute an emergency on my part.

He who fights with monsters might take care lest he thereby become a
monster. And if you gaze for long into an abyss, the abyss gazes also into
you.
                     -Friedrich Nietzsche, Jenseits von Gut und Bose (1886)


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux