473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

dual python / bootstrap RPM woes

Greetings.

In an effort to get python2.4 on my Centos 3.7, I installed the python
bootstrap rpm. This installed 2.4 alongside 2.2 and updated yum to 2.4.0.

Oddly, it didn't create a symlink 'python' for either 2.2 or 2.4. I also
get a series of troubling dependency errors when I run yum update. Below is
the output of the bootstrap install, which includes both a failure early on
(possibly related to alternatives and/or the symlink?) and the yum update
dependency errors towards the end. Beyond this, everything appears to be
running (including fail2ban, which was my original driving force behind
getting 2.4 installed).

Any thoughts are greatly appreciated. Thanks.

-----------------------------
[root@tulip tmp]# rpm -ivh pyvault*
warning: pyvault-release-bootstrap-3-3.el3.pyv.noarch.rpm: V3 DSA signature:
NOKEY, key ID 4ad653e1
Preparing... ###########################################
[100%]
1:pyvault-release-bootstr###########################################
[100%]
package pyvault-release is not installed
--10:32:15-- http://python.org/pyvault/bootstrap-centos-3-i386.txt
=`bootstrap-centos-3-i386.txt'
Resolving python.org... 82.94.237.218
Connecting to python.org|82.94.237.218|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 624 [text/plain]

100%[================================================== >]
--.--K/s

10:32:16 (96.31 KB/s) - `bootstrap-centos-3-i386.txt' saved [624/624]
FINISHED --10:32:16--
Downloaded: 624 bytes in 1 files
Retrieving
http://python.org/pyvault/centos-3-i...3-9.noarch.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
warning: /var/tmp/rpm-xfer.oztjC6: V3 DSA signature: NOKEY, key ID 4ad653e1
Preparing... ###########################################
[100%]
1:python24 ########################################### [
50%]
/var/tmp/rpm-tmp.57424: line 2: /usr/sbin/alternatives-helper: No such file
or directory <<<< --- problem #1
error: %post(python24-2.4.2-10.el3.pyv) scriptlet failed, exit status 127
2:alternatives ###########################################
[100%]
Retrieving
http://python.org/pyvault/centos-3-i...y24.noarch.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...y24.noarch.rpm
Retrieving
http://python.org/pyvault/centos-3-i...y24.noarch.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...3.pyv.i386.rpm
Retrieving
http://python.org/pyvault/centos-3-i...pyv.noarch.rpm
warning: /var/tmp/rpm-xfer.RtR8TC: V3 DSA signature: NOKEY, key ID 4ad653e1
Preparing... ###########################################
[100%]
1:pyvault-release ########################################### [
10%]
2:yum warning: /etc/yum.conf created as
/etc/yum.conf.rpmnew
########################################### [ 20%]
3:rpm-python24 ########################################### [
30%]
4:sqlite ########################################### [
40%]
5:libxml2-python24 ########################################### [
50%]
6:libxml2 ########################################### [
60%]
7:python24-yum ########################################### [
70%]
8:python24-urlgrabber ########################################### [
80%]
9:python24-elementtree ########################################### [
90%]
10:python24-sqlite ###########################################
[100%]
error: package pyvault-release-bootstrap is not installed
Setting up Install Process
Setting up repositories
pyvault 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 50 kB 00:00
pyvault : ################################################## 206/206
Added 206 new packages, deleted 0 old in 0.47 seconds
primary.xml.gz 100% |=========================| 157 B 00:00
Added 0 new packages, deleted 0 old in 0.00 seconds
primary.xml.gz 100% |=========================| 40 kB 00:00
update : ################################################## 103/103
Added 103 new packages, deleted 0 old in 0.49 seconds
primary.xml.gz 100% |=========================| 595 kB 00:08
base : ################################################## 1878/1878
Added 1878 new packages, deleted 0 old in 10.02 seconds
primary.xml.gz 100% |=========================| 33 kB 00:01
addons : ################################################## 125/125
Added 125 new packages, deleted 0 old in 0.30 seconds
Parsing package install arguments
Resolving Dependencies
--Populating transaction set with selected packages. Please wait.
---Downloading header for rpm-python to pack into transaction set.
rpm-python-4.4.2.4-1.el3. 100% |=========================| 2.4 kB 00:00
---Package rpm-python.i386 0:4.4.2.4-1.el3.pyv set to be updated
---Downloading header for python22 to pack into transaction set.
python22-2.2.3-6.el3.pyv. 100% |=========================| 162 kB 00:01
---Package python22.i386 0:2.2.3-6.el3.pyv set to be updated
---Downloading header for rpm-python22 to pack into transaction set.
rpm-python22-4.4.2.4-1.el 100% |=========================| 3.0 kB 00:00
---Package rpm-python22.i386 0:4.4.2.4-1.el3.pyv set to be updated
--Running transaction check

Dependencies Resolved

================================================== ===========================
Package Arch Version Repository Size
================================================== ===========================
Installing:
python22 i386 2.2.3-6.el3.pyv pyvault 4.1 M
rpm-python22 i386 4.4.2.4-1.el3.pyv pyvault 43
k
Updating:
rpm-python i386 4.4.2.4-1.el3.pyv pyvault 3.5
k

Transaction Summary
================================================== ===========================
Install 2 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 4.2 M
Downloading Packages:
(1/3): rpm-python-4.4.2.4 100% |=========================| 3.5 kB 00:00
(2/3): python22-2.2.3-6.e 100% |=========================| 4.1 MB 00:22
(3/3): rpm-python22-4.4.2 100% |=========================| 43 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: python22 ######################### [1/5]
Updating : rpm-python ######################### [2/5]
Installing: rpm-python22 ######################### [3/5]
Cleanup : rpm-python ######################### [4/5]
Removing : python ######################### [5/5]

Installed: python22.i386 0:2.2.3-6.el3.pyv rpm-python22.i386
0:4.4.2.4-1.el3.pyv
Updated: rpm-python.i386 0:4.4.2.4-1.el3.pyv
Complete!
Setting up Update Process
Setting up repositories
pyvault 100% |=========================| 951 B 00:00
extras 100% |=========================| 951 B 00:00
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Resolving Dependencies
--Populating transaction set with selected packages. Please wait.
---Downloading header for newt to pack into transaction set.
newt-0.52.0-3.el3.pyv.i38 100% |=========================| 3.5 kB 00:00
---Package newt.i386 0:0.52.0-3.el3.pyv set to be updated
---Downloading header for libxml2-python to pack into transaction set.
libxml2-python-2.6.22-1.e 100% |=========================| 8.1 kB 00:00
---Package libxml2-python.i386 0:2.6.22-1.el3.pyv set to be updated
---Downloading header for newt-devel to pack into transaction set.
newt-devel-0.52.0-3.el3.p 100% |=========================| 2.9 kB 00:00
---Package newt-devel.i386 0:0.52.0-3.el3.pyv set to be updated
---Downloading header for tcl to pack into transaction set.
tcl-8.4.5-8.el3.pyv.i386. 100% |=========================| 23 kB 00:00
---Package tcl.i386 0:8.4.5-8.el3.pyv set to be updated
---Downloading header for libxml2-devel to pack into transaction set.
libxml2-devel-2.6.22-1.el 100% |=========================| 35 kB 00:00
---Package libxml2-devel.i386 0:2.6.22-1.el3.pyv set to be updated
--Running transaction check
--Processing Dependency: libnewt.so.0.51 for package: netconfig
--Processing Dependency: libtcl8.3.so for package: rh-postgresql
--Processing Dependency: libtcl8.3.so for package: expect
--Processing Dependency: libnewt.so.0.51 for package: crypto
--Processing Dependency: libnewt.so.0.51 for package: authconfig
--Processing Dependency: libnewt.so.0.51 for package: setuptool
--Processing Dependency: libnewt.so.0.51 for package: newt
--Processing Dependency: libnewt.so.0.51 for package: ntsysv
--Processing Dependency: libxml2-python22 = 2.6.22 for package:
libxml2-python
--Finished Dependency Resolution
Error: Requiring package netconfig-0.8.19-1 not in transaction set
nor in rpmdb <<< --- problem(s) #2
Error: Requiring package rh-postgresql-tcl-7.3 not in transaction set
nor in rpmdb
Error: Requiring package expect-5.38.0-92 not in transaction set
nor in rpmdb
Error: Requiring package crypto-utils-2 not in transaction set
nor in rpmdb
Error: Requiring package authconfig-None-4.3 not in transaction set
nor in rpmdb
Error: Requiring package setuptool-1.13-1.centos not in transaction set
nor in rpmdb
Error: Requiring package newt-perl-1 not in transaction set
nor in rpmdb
Error: Requiring package ntsysv-1.3.13.3-0 not in transaction set
nor in rpmdb
Error: Requiring package libxml2-python-2.6.22-1.el3 not in transaction set
nor in rpmdb
error: %post(pyvault-release-bootstrap-3-3.el3.pyv) scriptlet failed, exit
status 1
[root@tulip tmp]#
Jul 20 '06 #1
0 1577

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Derek W | last post by:
Hello all, I have a few questions about the best way to organize a large Python program. This would be a large program with a GUI interface, too large to be put all in one script file by any...
33
by: Darren Dale | last post by:
I love the language. I love the community. My only complaint is that Python for Windows is built with Visual Studio. It is too difficult to build python, or a module, from source. This is what...
0
by: Cedric | last post by:
This is a 3 weeks old problem, but having found a solution (and having looked for one here, finding only this message), I'm replying now. From: Jive (someone@microsoft.com) Subject: Upgrade...
3
by: Joe bloggs | last post by:
Can anyone tell me how to get boost.python to work on Debian Sarge? When I try to build the tutorial hello world example bjam reports: ...
2
by: robert | last post by:
There is a strange freeze/crash only on dual core machines: I have a python app (Python 2.3.5 /Pythonwin build 203 / Windows) running with no stability problems on normal machines (Or a crash is...
3
by: Cowmix | last post by:
For my day job I am forced to run RHEL3 (and Centos3 on my desktop). I want to be able to use a few applications that require Python 2.4.X but RHEL3 ships with Python 2.2.3. I have tried to install...
5
by: robert | last post by:
Simple Python code obviously cannot use the dual core by Python threads. Yet, a program drawing CPU mainly for matrix computations - preferably with Numeric/SciPy - will this profit from a dual...
8
by: Andy | last post by:
Hi guys, I'm sorry, I'm not sure this is the correct group to be asking this kind of question... I'm going to develop a software package that includes a web server (and PHP code) , a...
3
by: Paul Sijben | last post by:
I am running a multi-threaded python application in a dual core intel running Ubuntu. I am using python 2.5.1 that I compiled myself. At random points I am getting segmentation faults (sometimes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.