Thanks for your response.<br><br>I did install paramiko only after installing python2.4, so I am not sure why it installed itself into the site-packages folder in /usr/lib/python2.3/site-packages<br><br>(2) this is my /etc/yum.conf<br>
<i>[main]<br>cachedir=/var/cache/yum<br>debuglevel=2<br>logfile=/var/log/yum.log<br>pkgpolicy=newest<br>installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel<br>
distroverpkg=centos-release<br>tolerant=1<br>exactarch=1<br>retries=20<br>obsoletes=1<br>gpgcheck=1<br>plugins=1<br><br># PUT YOUR REPOS HERE OR IN separate files named file.repo<br># in /etc/yum.repos.d<br></i><br>As you can see there are no exlcude parameters, so any idea where that 336 number is coming from?<br clear="all">
--<br>Raghu Narasimhan<br><br><a href="mailto:raghu.united@gmail.com">raghu.united@gmail.com</a><br>
<br><br><div class="gmail_quote">On Wed, Feb 25, 2009 at 4:34 PM, Marcelo M. Garcia <span dir="ltr"><<a href="mailto:marcelo.maia.garcia@googlemail.com">marcelo.maia.garcia@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Raghu Narasimhan wrote:<br>
> Thanks Marcelo. That certainly helped.<br>
><br>
> Although, now I keep seeing this message:<br>
><br>
> /[root@mpvmpc19 paramiko]# yum install Crypto.Util.randpool<br>
> Loading "fastestmirror" plugin<br>
> Loading "priorities" plugin<br>
> Setting up Install Process<br>
> Setting up repositories<br>
> not using ftp, http[s], or file for repos, skipping - ~<br>
> Loading mirror speeds from cached hostfile<br>
> Reading repository metadata in from local files<br>
> 336 packages excluded due to repository priority protections<br>
> Parsing package install arguments<br>
> /<br>
><br>
> In the yum configuration file, there are may mirrors listed in a few<br>
> files: What should the priorities be? (I wnt to make sure no packages<br>
> are excluded. 336 is a very large number)<br>
><br>
> Second: I was able to install python-paramiko. It seems to work with<br>
> Python2.3 (Python2.3 comes as default with CentOS). I have installed<br>
> Python 2.4.6 and need the same to work with that. Any tips?<br>
> --<br>
> Raghu Narasimhan<br>
><br>
</div>> <a href="mailto:raghu.united@gmail.com">raghu.united@gmail.com</a> <mailto:<a href="mailto:raghu.united@gmail.com">raghu.united@gmail.com</a>><br>
<div class="Ih2E3d">><br>
><br>
> On Wed, Feb 25, 2009 at 3:08 PM, Marcelo M. Garcia<br>
> <<a href="mailto:marcelo.maia.garcia@googlemail.com">marcelo.maia.garcia@googlemail.com</a><br>
</div><div><div></div><div class="Wj3C7c">> <mailto:<a href="mailto:marcelo.maia.garcia@googlemail.com">marcelo.maia.garcia@googlemail.com</a>>> wrote:<br>
><br>
>     Raghu Narasimhan wrote:<br>
>      > Hi folks,<br>
>      ><br>
>      > I have some doubts with regards a Python module called paramiko<br>
>     (used to<br>
>      > automate ssh related stuff)<br>
>      ><br>
>      > 1. Does Paramiko 1.7.2 and 1.6.4 work with CentOS 4<br>
>      ><br>
>      > 2. If yes, what is the exact 'yum' command to install paramiko on<br>
>     CentOS 4?<br>
>      > I have tried all possible ones without success.<br>
>      ><br>
>      >         yum install paramiko<br>
>      >         yum install python-paramiko(with and without version numbers)<br>
>      >         python-paramiko.noarch<br>
>      ><br>
>      > /[rUSER@HOST]# yum search paramiko<br>
>      > Loading "fastestmirror" plugin<br>
>      > Loading "priorities" plugin<br>
>      > Searching Packages:<br>
>      > Setting up repositories<br>
>      > extras                    100% |=========================| 1.1 kB<br>
>        00:00<br>
>      > update                    100% |=========================|  951 B<br>
>        00:00<br>
>      > base                      100% |=========================| 1.1 kB<br>
>        00:00<br>
>      > addons                    100% |=========================|  951 B<br>
>        00:00<br>
>      > Loading mirror speeds from cached hostfile<br>
>      > Reading repository metadata in from local files<br>
>      > 0 packages excluded due to repository priority protections<br>
>      > No Matches found<br>
>      > /<br>
>      ><br>
>      > Installing it without yum throws dependency problems which are never<br>
>      > ending : starting with python-crypto and python(abi) - which I am<br>
>     unable<br>
>      > to find; which will no doubt lead to other dependencies.<br>
>      ><br>
>      > Is there any change that has to be made to the yum repository to<br>
>     point<br>
>      > it to look in a different place?<br>
>      ><br>
>      > 3. Alternatively, I also have apt-get on the CentOS box - can you<br>
>     tell<br>
>      > me some repos that I can add for apt-get as well?<br>
>      ><br>
>      ><br>
>      > Thanks,<br>
>      ><br>
>      ><br>
>      > --<br>
>      > Raghu Narasimhan<br>
>      ><br>
>     Hi<br>
><br>
>     Maybe you need to add the "rpmforge" repository.<br>
>     <a href="https://rpmrepo.org/RPMforge/Using" target="_blank">https://rpmrepo.org/RPMforge/Using</a><br>
><br>
>     Regards<br>
><br>
>     Marcelo<br>
><br>
</div></div>Hi<br>
<br>
To be honest, I had never seen this messages before. I'm not familiar<br>
with CentOS 4, but seems that something is wrong.<br>
<br>
About the python version. I would say that depends on how did you<br>
installed it. If you installed python from sources, then I think you<br>
have to build paramiko also. But I'm not sure.<br>
<br>
Regards<br>
<font color="#888888"><br>
M.<br>
</font><div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
CentOS mailing list<br>
<a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>