Page 1 of 1

Installing yum problems :(

Posted: Tue Feb 21, 2006 12:39 am
by bigpod
Greetings to all :D

My first post here so i don' t know if that is the right section to post this question... :)

I have a vps with rhel3, psa 7.5.4 installed, with no yum preinstalled :(
so i try to install yum 2.2.0, i have installed all the dependencies needed (libxml 2.6.16,libxml-python 2.6.16,rpm-python 4.2-0)
when i was installing rpm-python 4.2.0 i got this:
error: Failed dependencies:
rpm = 4.2 is needed by rpm-python-4.2-0.69
rpm -qa | grep rpm gave me this:
rpm-4.2.3-13.swsoft
rpm-libs-4.2.3-13.swsoft
so i installed it with rpm -Uvh --nodeps...

and then i installed yum...

now when i run yum i take this error:
Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 23, in ?
import yum
File "/usr/lib/python2.2/site-packages/yum/__init__.py", line 21, in ?
import rpm
ImportError: /usr/lib/python2.2/site-packages/rpmmodule.so: undefined symbol: mp32addx
Thank u all in advance :)
Hope to hear from u soon

---
bigpod

Posted: Tue Feb 21, 2006 8:34 am
by breun
I don't know where you found rpm-python-4.2-0.69, but that's older then the other rpm packages you already have (the swsoft ones). I'd get the latest CentOS3 versions of all those rpm packages. http://mirrors.kernel.org/centos/3.6/os ... dHat/RPMS/ has 4.2.3-24.

Posted: Tue Feb 21, 2006 5:50 pm
by scott
Plus using --nodeps is a really bad idea. You overrode the dependency checking that would catch the things that would prevent it from working.

Posted: Wed Feb 22, 2006 2:59 pm
by chillax
Having a similar problem installing yum, was getting lots of dependency problems. So I started downloading packages to fulfill the dependencies, but I have become stuck.

Code: Select all

# rpm -Uhv yum-2.4.2-69.el3.at.i386.rpm 
warning: yum-2.4.2-69.el3.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
        /usr/lib/python2.4/site-packages/rpm is needed by yum-2.4.2-69.el3.at
I tried to install rpm-python24 but it gave me more dependency problems, what it finally boiled down to is me trying to install all of these packages at the same time to fix all their required dependencies.

Code: Select all

# rpm -Uvh rpm-4.4.2-15.1_58.el3.at.i386.rpm librpm4.4-4.4.2-15.1_58.el3.at.i386.rpm rpm-python24-4.4.2-11_9.el3.at.i386.rpm popt-1.10.2-15.1_58.el3.at.i386.rpm rpm-build-4.4.2-15.1_58.el3.at.i386.rpm rpm-devel-4.4.2-15.1_58.el3.at.i386.rpm

warning: rpm-4.4.2-15.1_58.el3.at.i386.rpm: V3 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
rpm = 4.2.3-24_nonptl is needed by (installed) rpm-python-4.2.3-24_nonptl
librpm-4.2.so is needed by (installed) rpm-python-4.2.3-24_nonptl
librpm-4.2.so is needed by (installed) net-snmp-5.0.9-2.30E.19
librpm-4.2.so is needed by (installed) psa-pre-keyupdate-7.5.4-rhel3.build75050824.12
librpm-4.2.so is needed by (installed) psa-7.5.4-rhel3.build75050824.12
librpm-4.2.so is needed by (installed) psa-fileserver-1.0.0-rhel3.build75050824.12
librpmdb-4.2.so is needed by (installed) rpm-python-4.2.3-24_nonptl
librpmdb-4.2.so is needed by (installed) net-snmp-5.0.9-2.30E.19
librpmdb-4.2.so is needed by (installed) psa-pre-keyupdate-7.5.4-rhel3.build75050824.12
librpmdb-4.2.so is needed by (installed) psa-7.5.4-rhel3.build75050824.12
librpmdb-4.2.so is needed by (installed) psa-fileserver-1.0.0-rhel3.build75050824.12
librpmio-4.2.so is needed by (installed) rpm-python-4.2.3-24_nonptl
librpmio-4.2.so is needed by (installed) net-snmp-5.0.9-2.30E.19
librpmio-4.2.so is needed by (installed) psa-pre-keyupdate-7.5.4-rhel3.build75050824.12
librpmio-4.2.so is needed by (installed) psa-7.5.4-rhel3.build75050824.12
librpmio-4.2.so is needed by (installed) psa-fileserver-1.0.0-rhel3.build75050824.12
I believe all of the dependencies exist in the included RPMs
I guess I need to be able to update rpm itself in order of yum to work but I am having difficulty doing so. Any help would be appreciated.

Code: Select all

# rpm --version
RPM version 4.2.3

Code: Select all

# whereis python
python: /usr/bin/python2.2 /usr/bin/python /usr/bin/python2.4 /usr/lib/python2.2 /usr/lib/python2.4 /usr/include/python2.2 /usr/share/man/man1/python.1.gz

# rpm -qa | grep python
python-2.2.3-6.1
gnome-python2-bonobo-1.99.14-5
rpm-python-4.2.3-24_nonptl
gnome-python2-canvas-1.99.14-5
gnome-python2-gtkhtml2-1.99.14-5
libxml2-python24-2.6.22-1_22.el3.at
python-devel-2.2.3-6.1
python24-2.4.1-2_8.el3.at
python-sqlite-1.1.6-0.99_1.el3.at
python-optik-1.4.1-2
gnome-python2-1.99.14-5
python-urlgrabber-2.9.6-4.0.99_2.el3.at
pythonabi-2.2.3-1.el3.at
mod_python-3.0.3-5.ent
python-elementtree-1.2.6-4_9.el3.at
libxml2-python-2.6.22-1_21.el3.at

Posted: Wed Feb 22, 2006 3:11 pm
by breun
You're using packages from ATrpms. I'd just grab the distro's own packages. You're running CentOS 3? Take a look at http://mirrors.kernel.org/centos/3.6/os ... dHat/RPMS/ and try again. Apparently Plesk wants rpm 4.2.x, so ATrpms' 4.4.x is not going to work.

Posted: Wed Feb 22, 2006 4:53 pm
by chillax
With some careful (and not so careful) uninstalling, I was able to get my system back to where it was before I started adding all the at.rpms and installed rpms from the link you provided instead. Seesm that I now have yum installed, thanks for the help.

Posted: Wed Feb 22, 2006 5:48 pm
by breun
Nice job.

Posted: Sat Apr 08, 2006 5:27 pm
by iHuman
Bigpod....

Did you ever resolve this issue? I get the exact same error message you did when trying to use YUM (on the same server environment as yours).

ImportError: /usr/lib/python2.2/site-packages/rpmmodule.so: undefined symbol: mp32addx

I did my install using atomic turtle YUM for version yum-2.0.7-1.rhel3

Any assistance would be appreciated!

elaine

Posted: Tue Apr 18, 2006 1:52 am
by leo
breun wrote:You're using packages from ATrpms. I'd just grab the distro's own packages. You're running CentOS 3? Take a look at http://mirrors.kernel.org/centos/3.6/os ... dHat/RPMS/ and try again. Apparently Plesk wants rpm 4.2.x, so ATrpms' 4.4.x is not going to work.
What about RPMs for Red Hat EL3? I am trying to install yum and i get the same dependecy error. I think i am instaling the wrong rpms, i have not find a central place to get them all. Does anyone knows where i can find the right rpms? I upgraded to Plesk 8.
Thanks in advance.

Posted: Tue Apr 18, 2006 5:43 am
by breun
I believe you can install yum on RHEL using up2date.

Posted: Tue Apr 18, 2006 8:09 am
by leo
what is the syntax of up2date?
# up2date
-bash: up2date: command not found
:?:
not installed :?: :?:

Posted: Tue Apr 18, 2006 8:33 am
by breun
If you get command not found it's probably not installed. You can check if 'rpm -q up2date' gives any output. If it doesn't it's not installed. I take it you're running a virtual server?

Posted: Tue Apr 18, 2006 8:44 am
by leo
xmmm... up2date is not installed
Yes i am running a vps. I just want to update mysql to 4.1.
That means i can't install yum?any directions, links?
thanks again

Posted: Tue Apr 18, 2006 9:13 am
by breun
As far as I know there are no public RHEL rpm archives (RHEL is not a free OS).

Posted: Wed Apr 19, 2006 2:16 am
by rajivm
CentOS rpms should be compatible w/ RHEL.