Re: [CentOS] package manager CentOS

2009-02-25 Thread Marcelo M. Garcia
Raghu Narasimhan wrote:
 Hi folks,
 
 I have some doubts with regards a Python module called paramiko (used to 
 automate ssh related stuff)
 
 1. Does Paramiko 1.7.2 and 1.6.4 work with CentOS 4
  
 2. If yes, what is the exact 'yum' command to install paramiko on CentOS 4?
 I have tried all possible ones without success.
  
 yum install paramiko
 yum install python-paramiko(with and without version numbers)
 python-paramiko.noarch
 
 /[ru...@host]# yum search paramiko
 Loading fastestmirror plugin
 Loading priorities plugin
 Searching Packages:
 Setting up repositories
 extras100% |=| 1.1 kB00:00
 update100% |=|  951 B00:00
 base  100% |=| 1.1 kB00:00
 addons100% |=|  951 B00:00
 Loading mirror speeds from cached hostfile
 Reading repository metadata in from local files
 0 packages excluded due to repository priority protections
 No Matches found
 /
 
 Installing it without yum throws dependency problems which are never 
 ending : starting with python-crypto and python(abi) - which I am unable 
 to find; which will no doubt lead to other dependencies.
  
 Is there any change that has to be made to the yum repository to point 
 it to look in a different place?
  
 3. Alternatively, I also have apt-get on the CentOS box - can you tell 
 me some repos that I can add for apt-get as well?
 
 
 Thanks,
 
 
 --
 Raghu Narasimhan
 
Hi

Maybe you need to add the rpmforge repository.
https://rpmrepo.org/RPMforge/Using

Regards

Marcelo

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Raghu Narasimhan
Thanks Marcelo. That certainly helped.

Although, now I keep seeing this message:

*[r...@mpvmpc19 paramiko]# yum install Crypto.Util.randpool
Loading fastestmirror plugin
Loading priorities plugin
Setting up Install Process
Setting up repositories
not using ftp, http[s], or file for repos, skipping - ~
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
336 packages excluded due to repository priority protections
Parsing package install arguments
*

In the yum configuration file, there are may mirrors listed in a few files:
What should the priorities be? (I wnt to make sure no packages are excluded.
336 is a very large number)

Second: I was able to install python-paramiko. It seems to work with
Python2.3 (Python2.3 comes as default with CentOS). I have installed Python
2.4.6 and need the same to work with that. Any tips?
--
Raghu Narasimhan

raghu.uni...@gmail.com


On Wed, Feb 25, 2009 at 3:08 PM, Marcelo M. Garcia 
marcelo.maia.gar...@googlemail.com wrote:

 Raghu Narasimhan wrote:
  Hi folks,
 
  I have some doubts with regards a Python module called paramiko (used to
  automate ssh related stuff)
 
  1. Does Paramiko 1.7.2 and 1.6.4 work with CentOS 4
 
  2. If yes, what is the exact 'yum' command to install paramiko on CentOS
 4?
  I have tried all possible ones without success.
 
  yum install paramiko
  yum install python-paramiko(with and without version numbers)
  python-paramiko.noarch
 
  /[ru...@host]# yum search paramiko
  Loading fastestmirror plugin
  Loading priorities plugin
  Searching Packages:
  Setting up repositories
  extras100% |=| 1.1 kB
  00:00
  update100% |=|  951 B
  00:00
  base  100% |=| 1.1 kB
  00:00
  addons100% |=|  951 B
  00:00
  Loading mirror speeds from cached hostfile
  Reading repository metadata in from local files
  0 packages excluded due to repository priority protections
  No Matches found
  /
 
  Installing it without yum throws dependency problems which are never
  ending : starting with python-crypto and python(abi) - which I am unable
  to find; which will no doubt lead to other dependencies.
 
  Is there any change that has to be made to the yum repository to point
  it to look in a different place?
 
  3. Alternatively, I also have apt-get on the CentOS box - can you tell
  me some repos that I can add for apt-get as well?
 
 
  Thanks,
 
 
  --
  Raghu Narasimhan
 
 Hi

 Maybe you need to add the rpmforge repository.
 https://rpmrepo.org/RPMforge/Using

 Regards

 Marcelo

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Marcelo M. Garcia
Raghu Narasimhan wrote:
 Thanks Marcelo. That certainly helped.
 
 Although, now I keep seeing this message:
 
 /[r...@mpvmpc19 paramiko]# yum install Crypto.Util.randpool
 Loading fastestmirror plugin
 Loading priorities plugin
 Setting up Install Process
 Setting up repositories
 not using ftp, http[s], or file for repos, skipping - ~
 Loading mirror speeds from cached hostfile
 Reading repository metadata in from local files
 336 packages excluded due to repository priority protections
 Parsing package install arguments
 /
 
 In the yum configuration file, there are may mirrors listed in a few 
 files: What should the priorities be? (I wnt to make sure no packages 
 are excluded. 336 is a very large number)
 
 Second: I was able to install python-paramiko. It seems to work with 
 Python2.3 (Python2.3 comes as default with CentOS). I have installed 
 Python 2.4.6 and need the same to work with that. Any tips?
 --
 Raghu Narasimhan
 
 raghu.uni...@gmail.com mailto:raghu.uni...@gmail.com
 
 
 On Wed, Feb 25, 2009 at 3:08 PM, Marcelo M. Garcia 
 marcelo.maia.gar...@googlemail.com 
 mailto:marcelo.maia.gar...@googlemail.com wrote:
 
 Raghu Narasimhan wrote:
   Hi folks,
  
   I have some doubts with regards a Python module called paramiko
 (used to
   automate ssh related stuff)
  
   1. Does Paramiko 1.7.2 and 1.6.4 work with CentOS 4
  
   2. If yes, what is the exact 'yum' command to install paramiko on
 CentOS 4?
   I have tried all possible ones without success.
  
   yum install paramiko
   yum install python-paramiko(with and without version numbers)
   python-paramiko.noarch
  
   /[ru...@host]# yum search paramiko
   Loading fastestmirror plugin
   Loading priorities plugin
   Searching Packages:
   Setting up repositories
   extras100% |=| 1.1 kB
00:00
   update100% |=|  951 B
00:00
   base  100% |=| 1.1 kB
00:00
   addons100% |=|  951 B
00:00
   Loading mirror speeds from cached hostfile
   Reading repository metadata in from local files
   0 packages excluded due to repository priority protections
   No Matches found
   /
  
   Installing it without yum throws dependency problems which are never
   ending : starting with python-crypto and python(abi) - which I am
 unable
   to find; which will no doubt lead to other dependencies.
  
   Is there any change that has to be made to the yum repository to
 point
   it to look in a different place?
  
   3. Alternatively, I also have apt-get on the CentOS box - can you
 tell
   me some repos that I can add for apt-get as well?
  
  
   Thanks,
  
  
   --
   Raghu Narasimhan
  
 Hi
 
 Maybe you need to add the rpmforge repository.
 https://rpmrepo.org/RPMforge/Using
 
 Regards
 
 Marcelo
 
Hi

To be honest, I had never seen this messages before. I'm not familiar 
with CentOS 4, but seems that something is wrong.

About the python version. I would say that depends on how did you 
installed it. If you installed python from sources, then I think you 
have to build paramiko also. But I'm not sure.

Regards

M.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Raghu Narasimhan
Thanks for your response.

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

(2) this is my /etc/yum.conf
*[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel
kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
plugins=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
*
As you can see there are no exlcude parameters, so any idea where that 336
number is coming from?
--
Raghu Narasimhan

raghu.uni...@gmail.com


On Wed, Feb 25, 2009 at 4:34 PM, Marcelo M. Garcia 
marcelo.maia.gar...@googlemail.com wrote:

 Raghu Narasimhan wrote:
  Thanks Marcelo. That certainly helped.
 
  Although, now I keep seeing this message:
 
  /[r...@mpvmpc19 paramiko]# yum install Crypto.Util.randpool
  Loading fastestmirror plugin
  Loading priorities plugin
  Setting up Install Process
  Setting up repositories
  not using ftp, http[s], or file for repos, skipping - ~
  Loading mirror speeds from cached hostfile
  Reading repository metadata in from local files
  336 packages excluded due to repository priority protections
  Parsing package install arguments
  /
 
  In the yum configuration file, there are may mirrors listed in a few
  files: What should the priorities be? (I wnt to make sure no packages
  are excluded. 336 is a very large number)
 
  Second: I was able to install python-paramiko. It seems to work with
  Python2.3 (Python2.3 comes as default with CentOS). I have installed
  Python 2.4.6 and need the same to work with that. Any tips?
  --
  Raghu Narasimhan
 
  raghu.uni...@gmail.com mailto:raghu.uni...@gmail.com
 
 
  On Wed, Feb 25, 2009 at 3:08 PM, Marcelo M. Garcia
  marcelo.maia.gar...@googlemail.com
  mailto:marcelo.maia.gar...@googlemail.com wrote:
 
  Raghu Narasimhan wrote:
Hi folks,
   
I have some doubts with regards a Python module called paramiko
  (used to
automate ssh related stuff)
   
1. Does Paramiko 1.7.2 and 1.6.4 work with CentOS 4
   
2. If yes, what is the exact 'yum' command to install paramiko on
  CentOS 4?
I have tried all possible ones without success.
   
yum install paramiko
yum install python-paramiko(with and without version
 numbers)
python-paramiko.noarch
   
/[ru...@host]# yum search paramiko
Loading fastestmirror plugin
Loading priorities plugin
Searching Packages:
Setting up repositories
extras100% |=| 1.1 kB
 00:00
update100% |=|  951 B
 00:00
base  100% |=| 1.1 kB
 00:00
addons100% |=|  951 B
 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
0 packages excluded due to repository priority protections
No Matches found
/
   
Installing it without yum throws dependency problems which are
 never
ending : starting with python-crypto and python(abi) - which I am
  unable
to find; which will no doubt lead to other dependencies.
   
Is there any change that has to be made to the yum repository to
  point
it to look in a different place?
   
3. Alternatively, I also have apt-get on the CentOS box - can you
  tell
me some repos that I can add for apt-get as well?
   
   
Thanks,
   
   
--
Raghu Narasimhan
   
  Hi
 
  Maybe you need to add the rpmforge repository.
  https://rpmrepo.org/RPMforge/Using
 
  Regards
 
  Marcelo
 
 Hi

 To be honest, I had never seen this messages before. I'm not familiar
 with CentOS 4, but seems that something is wrong.

 About the python version. I would say that depends on how did you
 installed it. If you installed python from sources, then I think you
 have to build paramiko also. But I'm not sure.

 Regards

 M.

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Kai Schaetzl
Raghu Narasimhan wrote on Wed, 25 Feb 2009 16:09:03 +0530:

 In the yum configuration file, there are may mirrors listed in a few files:
 What should the priorities be? (I wnt to make sure no packages are excluded.
 336 is a very large number)

This has nothing to do with mirrors. You definitely *want* priorities to keep 
your core CentOS files intact and not overwritten by rpmforge. Make sure that 
none of your repos has a lower priority number than centos-base and updates.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Raghu Narasimhan
Super, thanks for the tip. Turned out the 'enabled' parameter was 1. Changed
it to 0 and all is well. Now 0 packages are excluded  due to priorities.

Can anyone share a default CentOS-Base.repo file here, please? Just for my
verification.

Happy to report resolution in the Paramiko problem too. The power of soft
links knows no bounds :)


--
Raghu Narasimhan

raghu.uni...@gmail.com


On Wed, Feb 25, 2009 at 6:01 PM, Kai Schaetzl mailli...@conactive.comwrote:

 Raghu Narasimhan wrote on Wed, 25 Feb 2009 16:09:03 +0530:

  In the yum configuration file, there are may mirrors listed in a few
 files:
  What should the priorities be? (I wnt to make sure no packages are
 excluded.
  336 is a very large number)

 This has nothing to do with mirrors. You definitely *want* priorities to
 keep
 your core CentOS files intact and not overwritten by rpmforge. Make sure
 that
 none of your repos has a lower priority number than centos-base and
 updates.

 Kai

 --
 Kai Schätzl, Berlin, Germany
 Get your web at Conactive Internet Services: http://www.conactive.com



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Filipe Brandenburger
Hi,

On Wed, Feb 25, 2009 at 08:33, Raghu Narasimhan raghu.uni...@gmail.com wrote:
 Super, thanks for the tip. Turned out the 'enabled' parameter was 1. Changed
 it to 0 and all is well. Now 0 packages are excluded  due to priorities.

You clearly did not understand what the priorities plug-in is and what
it is used for. By excluding a repository, 0 packages are excluded by
the priorities plug-in, but at the same time all the others that were
available in that repository will no longer be available anymore, so
in fact you have *less* packages than you did before.

Please read here:
http://wiki.centos.org/PackageManagement/Yum/Priorities

And here:
http://wiki.centos.org/AdditionalResources/Repositories

 Second: I was able to install python-paramiko. It seems to work with
 Python2.3 (Python2.3 comes as default with CentOS). I have installed Python
 2.4.6 and need the same to work with that. Any tips?

If you're installing Python 2.4 on CentOS 4, it means you still did
not grasp the concepts of an Enterprise Linux distribution.

Please see:
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=17299forum=38#forumpost62162
http://wiki.centos.org/FAQ/General#head-472ce8446ebcfc82ca1800f775ba0e629ac835c7
http://www.redhat.com/advice/speaks_backport.html

You will probably not get any support from this list for your Python
2.4 install on CentOS 4, since that is clearly not part of CentOS
itself.

Luckily for you, if you really need Python 2.4, you can move to CentOS
5, it will be present there.

If you want to stick to the bleeding edge, you'd better look into
distros such as Fedora and Ubuntu.

HTH,
Filipe
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Scott Silva
on 2-25-2009 3:54 AM Raghu Narasimhan spake the following:
 Thanks for your response.
 
 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
 

Because it is a python 2.3 package. Where else would it install?



-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Kai Schaetzl
Raghu Narasimhan wrote on Wed, 25 Feb 2009 19:03:09 +0530:

 Super, thanks for the tip. Turned out the 'enabled' parameter was 1. Changed
 it to 0 and all is well. Now 0 packages are excluded  due to priorities.

Did you read my reply? You *want* to have this enabled! It's fine that so many 
packages get excluded. Read what I wrote about priorities. There's also good 
tutorials on wiki.centos.org about this. So, no excuse to not know about it.

You seem to be super-new to CentOS. Read some basic documentation before you 
hose it! Start with the wiki.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] package manager CentOS

2009-02-25 Thread Raghu Narasimhan
Thanks everyone for the replies. My bad(s).
--
Raghu Narasimhan

raghu.uni...@gmail.com


On Wed, Feb 25, 2009 at 10:01 PM, Kai Schaetzl mailli...@conactive.comwrote:

 Raghu Narasimhan wrote on Wed, 25 Feb 2009 19:03:09 +0530:

  Super, thanks for the tip. Turned out the 'enabled' parameter was 1.
 Changed
  it to 0 and all is well. Now 0 packages are excluded  due to priorities.

 Did you read my reply? You *want* to have this enabled! It's fine that so
 many
 packages get excluded. Read what I wrote about priorities. There's also
 good
 tutorials on wiki.centos.org about this. So, no excuse to not know about
 it.

 You seem to be super-new to CentOS. Read some basic documentation before
 you
 hose it! Start with the wiki.

 Kai

 --
 Kai Schätzl, Berlin, Germany
 Get your web at Conactive Internet Services: http://www.conactive.com



 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos