By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,432 Members | 795 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,432 IT Pros & Developers. It's quick & easy.

dual python / bootstrap RPM woes

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.