Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello! I am running plesk on a virtual server with RH9 and have access only via ssh. In order to update my php & mysql versions I've read that yum works like magic....
I've spent about 25 hours over 2 days trying to install it!!!
I would very much appreciate if somebody could lend a little hand as I'm no linux expert. Here's an example of one of my attempts:
# rpm -i yum-2.0.3-0.fdr.1.rh90.noarch.rpm
The result was:
warning: yum-2.0.3-0.fdr.1.rh90.noarch.rpm: V3 DSA signature: NOKEY, key ID 8df56d05
error: Failed dependencies:
libxml2-python is needed by yum-2.0.3-0.fdr.1.rh90
rpm-python >= 0:4.1.1 is needed by yum-2.0.3-0.fdr.1.rh90
So far, fine. This means libxml2-python & rpm-python are required, right?
So, just gotta install them and everything should work.
Attempting to install libxml2-python turned out to be impossible:
# rpm -i libxml2-python-2.6.19-1.i386.rpm
The result:
warning: libxml2-python-2.6.19-1.i386.rpm: V3 DSA signature: NOKEY, key ID 30c9ecf8
error: Failed dependencies:
/usr/lib/python2.4 is needed by libxml2-python-2.6.19-1
libc.so.6(GLIBC_2.3.4) is needed by libxml2-python-2.6.19-1
libxml2 = 2.6.19 is needed by libxml2-python-2.6.19-1
python(abi) = 2.4 is needed by libxml2-python-2.6.19-1
But I have python-2.4.1 . . . . .
. . . . and libxml2-2.6.19
Didn't get anywhere trying this, so I tried installing it using a python package.
I unpacked the package (libxml2-python) ... and, having never installed or used anything with python, figured That I had to do the following:
# ./setup.py build
...and the result is:
running build
running build_py
not copying libxml2.py (output up-to-date)
not copying drv_libxml2.py (output up-to-date)
not copying libxslt.py (output up-to-date)
running build_ext
Traceback (most recent call last):
File "./setup.py", line 238, in ?
data_files=data_files,
File "/usr/lib/python2.2/distutils/core.py", line 138, in setup
dist.run_commands()
File "/usr/lib/python2.2/distutils/dist.py", line 893, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.2/distutils/dist.py", line 913, in run_command
cmd_obj.run()
File "/usr/lib/python2.2/distutils/command/build.py", line 107, in run
self.run_command(cmd_name)
File "/usr/lib/python2.2/distutils/cmd.py", line 330, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.2/distutils/dist.py", line 913, in run_command
cmd_obj.run()
File "/usr/lib/python2.2/distutils/command/build_ext.py", line 231, in run
customize_compiler(self.compiler)
File "/usr/lib/python2.2/distutils/sysconfig.py", line 139, in customize_compiler
(cc, opt, ccshared, ldshared, so_ext) = \
File "/usr/lib/python2.2/distutils/sysconfig.py", line 421, in get_config_vars
func()
File "/usr/lib/python2.2/distutils/sysconfig.py", line 326, in _init_posix
raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.2/config/Makefile (No such file or directory)
From what I've understood, it requires python 2.2.
I have python 2.4.1, and could not find a version of libxml2-python. It seems that any version I've tried (libxml2-python-2.6.15) requires python 2.2.
Now I'm really stuck! I would be very grateful if someone could straighten me out a little and give me a hint on what I'm doing wrong!
Thanks,
Tim (irlkersten)
Last edited by irlkersten; 05-03-2005 at 06:09 PM.
warning: yum-2.0.5-0.9.2.legacy.noarch.rpm: V3 DSA signature: NOKEY, key ID 731002fa
error: Failed dependencies:
libxml2-python is needed by yum-2.0.5-0.9.2.legacy
rpm-python >= 4.1.1 is needed by yum-2.0.5-0.9.2.legacy
So, looks like I need a hand with libxml2-python, rpm-python!
May I take up your offer to help me? I would really appreciate it!
Oh great!!!! I'll try just that!
I had considered the possibility to use APT-GET to update the system, but decided not to use it because as far as I could see it wouldn't be able to update the php/plesk setup. I never considered trying to install yum with it. Thanks!
Tim
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.