how to install python 2.4?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
joshb
Forum User
Forum User
Posts: 5
Joined: Tue Aug 14, 2007 4:28 pm

how to install python 2.4?

Unread post by joshb »

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!
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

try updating your system first, "yum update". You're about 9 months behind the current update level.
joshb
Forum User
Forum User
Posts: 5
Joined: Tue Aug 14, 2007 4:28 pm

Unread post by joshb »

I just tried yum update, and I get this:

Code: Select all

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?
slam32
New Forum User
New Forum User
Posts: 1
Joined: Tue Aug 14, 2007 10:38 pm

Unread post by slam32 »

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/
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

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?
joshb
Forum User
Forum User
Posts: 5
Joined: Tue Aug 14, 2007 4:28 pm

Unread post by joshb »

scott wrote:Did you install yum on your VPS through my installer?
No. I tried to, by running

Code: Select all

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: Select all

[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: Select all

[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: Select all

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
joshb
Forum User
Forum User
Posts: 5
Joined: Tue Aug 14, 2007 4:28 pm

Unread post by joshb »

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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

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?
joshb
Forum User
Forum User
Posts: 5
Joined: Tue Aug 14, 2007 4:28 pm

heh

Unread post by joshb »

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?
Troy McClure
Forum Regular
Forum Regular
Posts: 196
Joined: Tue May 10, 2005 1:24 pm

Unread post by Troy McClure »

I believe you are using the wrong url. Here is the current yum repo info.
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://www.atomicorp.com/channels/atomi ... /$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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

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!
Post Reply