Atomic Secure Linux
It is currently Tue Feb 09, 2010 4:05 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: how to install python 2.4?
New postPosted: Tue Aug 14, 2007 3:39 pm 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 3:28 pm
Posts: 5
I'm trying to install pyzor, but Yum says that it requires Python 2.4 or newer. I have 2.3.4, and am having trouble figuring out how to upgrade to 2.4. Where might I be able to point yum to get 2.4? When I do 'yum upgrade python' it just wants to upgrade to a development version of 2.3.4.

I'm running CentOS 4.2 on a VPS w/Plesk 8.2. I'm also open to updating CentOS to a more recent version, but that'd be something new to me.

Thanks!


Top
 Profile  
 
 Post subject:
New postPosted: Tue Aug 14, 2007 4:28 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 7:00 pm
Posts: 5275
Location: earth
try updating your system first, "yum update". You're about 9 months behind the current update level.


Top
 Profile  
 
 Post subject:
New postPosted: Tue Aug 14, 2007 7:35 pm 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 3:28 pm
Posts: 5
I just tried yum update, and I get this:

Code:
Package spamassassin needs libcrypto.so.5, this is not available.
Package spamassassin needs libssl.so.5, this is not available.
Package spamassassin needs perl(:MODULE_COMPAT_5.8.6), this is not available.
Package mysql-server needs libcrypto.so.5, this is not available.
Package mysql-server needs libssl.so.5, this is not available.
Package mysql needs libcrypto.so.5, this is not available.
Package mysql needs libssl.so.5, this is not available.
Package glibc-dummy-centos-4 needs glibc-common = 2.3.4-2.25, this is not available.


Where can I get these?


Top
 Profile  
 
 Post subject:
New postPosted: Tue Aug 14, 2007 9:44 pm 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 9:38 pm
Posts: 1
You can see the following website .I hope it can help you.Good luck.
http://www.python.org/download/releases/2.4/
http://www.python.org/download/

_________________
Professional iPhone reviews


Top
 Profile  
 
 Post subject:
New postPosted: Wed Aug 15, 2007 8:49 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 7:00 pm
Posts: 5275
Location: earth
I think youve got a screwed up yum config. You dont need to upgrade python to use DCC, pyzor or anything I make. I wouldnt do that to you :P


On my C4 box:
[root@www ~]# rpm -q python
python-2.3.4-14.4

[root@www ~]# rpm -q pyzor
pyzor-0.4.0-11.el4.art


Did you install yum on your VPS through my installer?


Top
 Profile  
 
 Post subject:
New postPosted: Thu Aug 16, 2007 9:03 am 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 3:28 pm
Posts: 5
scott wrote:
Did you install yum on your VPS through my installer?


No. I tried to, by running

Code:
wget -q -O - http://www.atomicorp.com/installers/atomic.sh |sh


but it didn't actually set up any repo's in /etc/yum.repos.d. I have moved/backed up the default repos, so they're not being used at all.

Since that didn't seem to be working, I manually created asl.repo, which contains:
Code:
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/


When I do yum install pyzor, I get the following:

Code:
[root@vps ~]# yum install pyzor
Setting up Install Process
Setting up repositories
atomic                    100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package pyzor.noarch 0:0.4.0-5.rhfc4.art set to be updated
--> Running transaction check
--> Processing Dependency: python(abi) = 2.4 for package: pyzor
--> Finished Dependency Resolution
Error: Missing Dependency: python(abi) = 2.4 is needed by package pyzor


I'm installing pyzor because I'm trying to get spamassassin/qmail/clamAV up and running, by doing the installs mentioned in this thread. I had some problems with spamassassin, so I figured I would at least try the rest. Trying to update spamassassin gives me the following errors:

Code:
Error: Missing Dependency: perl-IO-Socket-SSL is needed by package spamassassin
Error: Missing Dependency: libcrypto.so.5 is needed by package spamassassin
Error: Missing Dependency: libssl.so.5 is needed by package spamassassin
Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.6) is needed by package spamassassin
Error: Missing Dependency: libssl.so.5 is needed by package perl-Net-SSLeay
Error: Missing Dependency: libcrypto.so.5 is needed by package perl-Net-SSLeay


Any idea how to fix these? Before I switched my yum repo to ART, I was able to do a full yum update. Could those packages be causing these problems? Or is it an issue of yum being incorrectly configured?

Thanks for your help,

Josh


Top
 Profile  
 
 Post subject:
New postPosted: Sun Aug 19, 2007 7:44 pm 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 3:28 pm
Posts: 5
I see that libcrypto.so.5 and libssl.so.5 are in openssl 0.9.7f. This isn't in the ASL channel, so I looked for an RPM. Found it, but doing "rpm -i --test ~/openssl-0.9.7f-7.10.i686.rpm" tells me that I need libkrb5.so.3 and libk5crypto.so.3. I have both of them in /usr/lib! Since I have them, should I just use the --force option to proceed with the RPM install?


Top
 Profile  
 
 Post subject:
New postPosted: Mon Aug 20, 2007 7:14 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 7:00 pm
Posts: 5275
Location: earth
Only if you want to break everything on the system that uses openssl (apache, ssh, qmail, etc). The rpm system is trying to protect you from breaking the system.

It sounds like you've got a really broken system now, perhaps you should start over with your host re-imaging your VPS?


Top
 Profile  
 
 Post subject: heh
New postPosted: Mon Aug 20, 2007 7:46 am 
Offline
New Forum User
New Forum User

Joined: Tue Aug 14, 2007 3:28 pm
Posts: 5
I didn't do the rpm install, so I haven't broken it yet. At this point, everything is still working fine, I just can't upgrade anything or install anything that I want.

Is there something wrong with my yum configuration?


Top
 Profile  
 
 Post subject:
New postPosted: Mon Aug 20, 2007 8:57 am 
Offline
Forum Poster
Forum Poster

Joined: Tue May 10, 2005 12:24 pm
Posts: 159
I believe you are using the wrong url. Here is the current yum repo info.
Quote:
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://www.atomicorp.com/channels/atomic/centos/$releasever/$basearch

Scott - The download link at the top of you site goes to the old config (3es.atomicrocketturtle.com), so i assume that is where he pulled this from.


Top
 Profile  
 
 Post subject:
New postPosted: Mon Aug 20, 2007 9:51 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 7:00 pm
Posts: 5275
Location: earth
A ha, I was wondering why people kept ending up there. Interesting insite into user interfaces huh, some people look left (where downloads is correct) and other people look at the top.

Funny how the ones that give me the most trouble are the ones that go to the top link :P Wonder what Freud would say about that!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group